diff options
| author | Gustav Sörnäs <gustav@sornas.net> | 2020-09-21 15:43:38 +0200 |
|---|---|---|
| committer | Gustav Sörnäs <gustav@sornas.net> | 2020-09-21 15:43:38 +0200 |
| commit | e483926bf15d6a560885c9b26d1c51a796583745 (patch) | |
| tree | 64d6c5ea8956667e726462bc8262c84a8274c874 /labb3/tsp/src/Tour.h | |
| parent | d3e70eb68019f7d4e866dbda6ee8463ec5ad901b (diff) | |
| download | tddd86-e483926bf15d6a560885c9b26d1c51a796583745.tar.gz | |
Given files L3 tsp
Diffstat (limited to 'labb3/tsp/src/Tour.h')
| -rw-r--r-- | labb3/tsp/src/Tour.h | 29 |
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 |
