Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- for (int i = 0; i < 100; i++)
- {
- int vertex = rand() % vertices;
- list.randomList(vertices, 25);
- time.startCounting();
- list.dijkstra(0, vertex);
- double czas = time.getCounter();
- czasy.push_back(czas);
- }
- TimeMeasure::saveToFile(czasy, "time25.txt");
- czasy.clear();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement