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.cpp | 50 ++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 50 insertions(+) create mode 100644 labb3/tsp/src/Tour.cpp (limited to 'labb3/tsp/src/Tour.cpp') diff --git a/labb3/tsp/src/Tour.cpp b/labb3/tsp/src/Tour.cpp new file mode 100644 index 0000000..2dc3fcc --- /dev/null +++ b/labb3/tsp/src/Tour.cpp @@ -0,0 +1,50 @@ +// This is the .cpp 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. +// TODO: remove this comment header + +#include +#include "Tour.h" +#include "Node.h" +#include "Point.h" + +Tour::Tour() +{ + // TODO: write this member +} + +Tour::~Tour() +{ + // TODO: write this member +} + +void Tour::show() +{ + // TODO: write this member +} + +void Tour::draw(QGraphicsScene *scene) +{ + // TODO: write this member +} + +int Tour::size() +{ + // TODO: write this member +} + +double Tour::distance() +{ + // TODO: write this member +} + +void Tour::insertNearest(Point p) +{ + // TODO: write this member +} + +void Tour::insertSmallest(Point p) +{ + // TODO: write this member +} -- cgit v1.2.1