Concurrency implementation of prim's algorithm on Go
Enter your data into input.txt like in the following example:
7 # Amount of vertices.
0 1 5 # (index of first vertex, index of second vertex, weight)
0 2 9
0 4 15
0 6 6
1 2 7
2 3 8
2 4 7
3 4 5
4 5 9
4 6 8
5 6 11
Run the progpram:
go run main.go