Summary Files Commits Branches @commit @diff @stats
path: root / Year 2 / Structures and data algorithms / Project / exb / CityVisit.h
diff options
context:
space:
mode:
1 files changed, 2 insertions, 0 deletions
-rw-r--r--Year 2/Structures and data algorithms/Project/exb/CityVisit.h2
diff --git a/Year 2/Structures and data algorithms/Project/exb/CityVisit.h b/Year 2/Structures and data algorithms/Project/exb/CityVisit.h
index c513542..0dbe1fa 100644
--- a/Year 2/Structures and data algorithms/Project/exb/CityVisit.h
+++ b/Year 2/Structures and data algorithms/Project/exb/CityVisit.h
@@ -21,6 +21,8 @@ class CityVisit {
void visitTheMostInTimeRec(Landmark* currentLandmark, std::deque<Landmark*> currPath, std::deque<Landmark*> unique, int timeLeft, std::deque<Landmark*>& bestPath, unsigned& uniqueCount);
public:
+ ~CityVisit();
+
void pushLandmarks(const std::string& from, const std::string& to, unsigned time);
void parse(std::ifstream& inFile);