summaryrefslogtreecommitdiffstats
path: root/labb3/tsp/src/Tour.h
diff options
context:
space:
mode:
Diffstat (limited to 'labb3/tsp/src/Tour.h')
-rw-r--r--labb3/tsp/src/Tour.h2
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