diff --git a/Uebung 3/Uebung3_1/main.cpp b/Uebung 3/Uebung3_1/main.cpp index 6eae56c..5ac2ac4 100644 --- a/Uebung 3/Uebung3_1/main.cpp +++ b/Uebung 3/Uebung3_1/main.cpp @@ -28,7 +28,15 @@ int main() { {"Lyon", "Paris", 2}, {"Lyon", "Berlin", 2}}; ExtendedGraph g(vertices, edges); // g.printGraph(); - g.performDijkstraPath("Amsterdam", "Mailand"); + g.performDijkstraPath("Amsterdam", "Moskau"); + + for (auto &i : vertices) { + for (auto &j : vertices) { + if (i != j) { + g.performDijkstraPath(i, j); + } + } + } /* insertVertices */ // g.insertVertex("D");