Hi can anyone help me with some c++?
I have to use Prim's algorithm. I need to make up my own problem with objects that can be treated as nodes which have certain weight (distance, price tag). And the solution should cover all nodes into tree with lowest possible weight. It should write out overall weight. problem should be from practical life and values don't have to be realistic.
Writings about nodes and weights should be in separate file (txt).
There should be resources out there for this, have a look.
>>330408
You could try Reddit Google or even cnet but what do I know. I am just some anon who codes for a living and gets paid 80k a year...
>>330537
What're things like down in Zimbabwe?
>>330408
Wiring homes with gigabit fiber with the minimal amount of fiber. Edges are roads/powerlines, nodes are homes.
>>330537
>only 80k
stupid slave worker