diff options
author | Toby Vincent <tobyv13@gmail.com> | 2021-04-22 01:08:33 -0500 |
---|---|---|
committer | Toby Vincent <tobyv13@gmail.com> | 2021-04-22 01:08:33 -0500 |
commit | 292555a07b72ae1470c49ee2cee82db16d1c9cbd (patch) | |
tree | 21418f63624c37befaa34f57886d47b4a9824a8c /src/CS340.TSP/Program.cs | |
parent | d2dea1b16ff29f6e45fca971290f94d4e0ed2467 (diff) |
added more generics
Diffstat (limited to 'src/CS340.TSP/Program.cs')
-rw-r--r-- | src/CS340.TSP/Program.cs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/CS340.TSP/Program.cs b/src/CS340.TSP/Program.cs index 16c041c..618c58a 100644 --- a/src/CS340.TSP/Program.cs +++ b/src/CS340.TSP/Program.cs @@ -7,8 +7,8 @@ using Interfaces; namespace TSP { - using Graph = Graph<double>; - using Tour = Tour<double>; + + using Map = Graph<Vertex<Edge<double>, double>, Edge<double>, double>; class Program { @@ -17,7 +17,7 @@ namespace TSP { foreach (string file in Directory.GetFiles("graphs/")) { - Graph graph = GraphFile.Read(new FileReader(file)); + Map graph = GraphFile.Read(new FileReader(file)); // Graph mst = graph.MST(0); // GraphFile.Print(mst, new ConsoleWriter()); // Console.WriteLine( |