MCPcopy Create free account
hub / github.com/comaps/comaps / AlwaysTrue

Class AlwaysTrue

libs/routing/index_router.cpp:804–807  ·  view source on GitHub ↗

No need to call CheckLength in cross-mwm routine, thus we avoid calling GetRoadGeometry().

Source from the content-addressed store, hash-verified

802
803 // No need to call CheckLength in cross-mwm routine, thus we avoid calling GetRoadGeometry().
804 struct AlwaysTrue
805 {
806 bool operator()(Weight const &) const { return true; }
807 };
808
809 using Visitor = JunctionVisitor<LeapsGraph>;
810 AStarAlgorithm<Vertex, Edge, Weight>::Params<Visitor, AlwaysTrue> params(

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected