37 const Vertex *current = &_endSeg;
41 _path.emplace_back(*current);
44 if (predecessor != NULL &&
isSuccessor(current, predecessor))
51 _path.emplace_back(*pred);
uint32_t getSegmentId() const
virtual bool getPath(const Vertex &_startSeg, const Vertex &_endSeg, std::vector< RouteVertex > &_path) const
traces back the graph to find the shortest route of the graph
const std::vector< std::reference_wrapper< Vertex > > & getPlanningSuccessors() const
virtual bool isSuccessor(const Vertex *_vertex, const Vertex *_succ) const
const Segment & getSegment() const