summaryrefslogtreecommitdiffstats
path: root/src/CS340.TSP/Coordinates.cs
diff options
context:
space:
mode:
Diffstat (limited to 'src/CS340.TSP/Coordinates.cs')
-rw-r--r--src/CS340.TSP/Coordinates.cs17
1 files changed, 17 insertions, 0 deletions
diff --git a/src/CS340.TSP/Coordinates.cs b/src/CS340.TSP/Coordinates.cs
new file mode 100644
index 0000000..f377c89
--- /dev/null
+++ b/src/CS340.TSP/Coordinates.cs
@@ -0,0 +1,17 @@
+using Graph;
+using Interfaces;
+
+namespace TSP
+{
+ public struct Coordinates
+ {
+ public double X { get; set; }
+ public double Y { get; set; }
+
+ public Coordinates(double x, double y)
+ {
+ X = x;
+ Y = y;
+ }
+ }
+}