diff options
| author | Gustav Sörnäs <gustav@sornas.net> | 2020-09-21 22:11:59 +0200 |
|---|---|---|
| committer | Gustav Sörnäs <gustav@sornas.net> | 2020-09-21 22:11:59 +0200 |
| commit | bd04af6c3509b8b4fe02c30c5c0487aea491a8a9 (patch) | |
| tree | d5b16c8c1603a278e1ce47e3f25c6805639509b4 /labb3/tsp/src/Tour.h | |
| parent | 245a34f1fad0e4fe2fb6401dc1d5352e4914b48a (diff) | |
| download | tddd86-bd04af6c3509b8b4fe02c30c5c0487aea491a8a9.tar.gz | |
Corrections l3 tsp
Diffstat (limited to 'labb3/tsp/src/Tour.h')
| -rw-r--r-- | labb3/tsp/src/Tour.h | 2 |
1 files changed, 1 insertions, 1 deletions
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 |
