summaryrefslogtreecommitdiffstats
path: root/labb3/tsp/src/Tour.h
diff options
context:
space:
mode:
Diffstat (limited to 'labb3/tsp/src/Tour.h')
-rw-r--r--labb3/tsp/src/Tour.h29
1 files changed, 29 insertions, 0 deletions
diff --git a/labb3/tsp/src/Tour.h b/labb3/tsp/src/Tour.h
new file mode 100644
index 0000000..5262792
--- /dev/null
+++ b/labb3/tsp/src/Tour.h
@@ -0,0 +1,29 @@
+// This is the .h file you will edit and turn in.
+// We have provided a skeleton for you,
+// but you must finish it as described in the spec.
+// Also remove these comments here and add your own, as well as on the members.
+// TODO: remove this comment header
+
+#ifndef TOUR_H
+#define TOUR_H
+
+#include "Node.h"
+#include "Point.h"
+
+class Tour {
+public:
+
+ Tour();
+ ~Tour();
+ void show();
+ void draw(QGraphicsScene* scene);
+ int size();
+ double distance();
+ void insertNearest(Point p);
+ void insertSmallest(Point p);
+
+private:
+
+};
+
+#endif // TOUR_H