private static void P2Aufgaben() { foreach (var hCurrentGraphFile in GraphFileRessources.P2GraphFiles) { var hNewGraph = AdjacentListGraphImporter.ImportAdjacentList(hCurrentGraphFile, EdgeKind.UndirectedWeighted); var hPrimAlgorithm = new PrimAlgorithm(hNewGraph); var hMstPrim = hPrimAlgorithm.Execute(); var hKruskalAlgorithm = new KruskalAlgorithm(hNewGraph); var hMstKruskal = hKruskalAlgorithm.Execute(); Console.WriteLine(""); } }