From e483926bf15d6a560885c9b26d1c51a796583745 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gustav=20S=C3=B6rn=C3=A4s?= Date: Mon, 21 Sep 2020 15:43:38 +0200 Subject: Given files L3 tsp --- labb3/tsp/src/Tour.h | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 labb3/tsp/src/Tour.h (limited to 'labb3/tsp/src/Tour.h') 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 -- cgit v1.2.1