- std::vector<int> const getReachableTo(int to, bool clear_visited);
- /// \return a vector of the vertices that can be reached from "from"
- std::vector<int> const
- getReachable(int from, bool only_viewable, bool clear_visited);
+ EdgePath const getReachableTo(int to, bool clear_visited);
+ /// \return a vector of the reachable vertices, avoiding all "excludes"
+ EdgePath const getReachable(int from, bool only_viewable,
+ bool clear_visited, std::set<int> excludes = std::set<int>());