#ifndef ROUTEWALKER_H #define ROUTEWALKER_H #include "link.h" #include #include class RouteWalker { public: using Solution = std::vector; RouteWalker(); Solution findRouteTo(const Link::End & currentEnd, const NodePtr & dest); private: void findRouteTo(const Link::End & currentEnd, const NodePtr & dest, float length); std::set visited; Solution bestSolution, currentSolution; float solutionLength; }; #endif