viktor.slavkovic's Profile
Reputation: 2
Apprentice
- Group:
- Members
- Active Posts:
- 19 (0.05 per day)
- Joined:
- 27-June 12
- Profile Views:
- 433
- Last Active:
Apr 30 2013 06:47 AM- Currently:
- Offline
Previous Fields
- Country:
- Who Cares
- OS Preference:
- Who Cares
- Favorite Browser:
- Who Cares
- Favorite Processor:
- Who Cares
- Favorite Gaming Platform:
- Who Cares
- Your Car:
- Who Cares
- Dream Kudos:
- 0
Posts I've Made
-
In Topic: minimal cost spanning tree with exactly K white edges
Posted 19 Apr 2013
macosxnerd101, on 19 April 2013 - 08:46 AM, said:Edges are incident to two vertices. I'd start by trying to maximize the number of vertices in your spanning forest. If a vertex only has white edges, I'd start with it. Then move onto the vertices with edges of both colors.
Thank you a lot. It seems to be a good idea. I'll give it a try... -
In Topic: minimal cost spanning tree with exactly K white edges
Posted 19 Apr 2013
I've tried Kruskal. And then if I used less then K white edges, I discard minimal black edge, or else discard minimal white edge. I repeated this until I've got exactly K edges. It's certainly slow.
macosxnerd101, on 18 April 2013 - 09:31 PM, said:I would adapt Kruskal's algorithm here since it gives you more global control over the edges than say Prim's algorithm.
How would you adapt Kruskal? -
In Topic: C++, SFML TCP Network problem?
Posted 6 Jan 2013
Well ok, I made wrapper. I have two socket types. One is for server and one is for client. I also have one program you can choose server or client. Server should accept every connection, send one message and close connection and repeat the same thing while true. Client should receive/show message and end the program. Take a look: https://dl.dropbox.c...00549/MyNet.zip -
In Topic: C++, SFML TCP Network problem?
Posted 6 Jan 2013
jimblumberg, on 06 January 2013 - 08:53 AM, said:Do you have any type of firewall on your computer, the router or the receiving computer?
Jim
Yes, I have Kaspersky Internet Security 2013, but I tried to turn it off. I also turned Windows Firewall off. With both of them off nothing happened. It still doesn't work. But when I play multiplayer games on my PC, or use Skype, or whatever, I never turn off firewall. How those programs work? There must be some way... -
In Topic: SDL libraries
Posted 27 Nov 2012
Thank you snoopy11, you solved all my problems.
My Information
- Member Title:
- New D.I.C Head
- Age:
- 18 years old
- Birthday:
- March 25, 1995
- Gender:
-
- Years Programming:
- 3
- Programming Languages:
- Pascal, C++, VB6, VB.net
Contact Information
- E-mail:
- Private
Friends
|
|


Find Topics
Find Posts
View Reputation Given

|
Comments
viktor.slavkovic has no profile comments yet. Why not say hello?