From bd04af6c3509b8b4fe02c30c5c0487aea491a8a9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gustav=20S=C3=B6rn=C3=A4s?= Date: Mon, 21 Sep 2020 22:11:59 +0200 Subject: Corrections l3 tsp --- labb3/tsp/src/Tour.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'labb3/tsp/src/Tour.h') diff --git a/labb3/tsp/src/Tour.h b/labb3/tsp/src/Tour.h index bb5166b..7b47240 100644 --- a/labb3/tsp/src/Tour.h +++ b/labb3/tsp/src/Tour.h @@ -19,7 +19,7 @@ public: int size() const; // return number of points on tour double distance() const; // return total distance of tour void insertNearest(Point p); // insert `p` using nearestNeighbour - void insertSmallest(Point p); // insert `p` using insertSmallest + void insertSmallest(Point p); // insert `p` using smallestIncrease private: Node *first; // first node -- cgit v1.2.1