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

Method ForEachNonFakeEdge

tools/openlr/router.cpp:476–483  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

474
475template <typename Fn>
476void Router::ForEachNonFakeEdge(Vertex const & u, bool outgoing, FunctionalRoadClass restriction, Fn && fn)
477{
478 ForEachEdge(u, outgoing, restriction, [&fn](routing::Edge const & edge)
479 {
480 if (!edge.IsFake())
481 fn(edge);
482 });
483}
484
485template <typename Fn>
486void Router::ForEachNonFakeClosestEdge(Vertex const & u, FunctionalRoadClass const restriction, Fn && fn)

Callers

nothing calls this directly

Calls 1

IsFakeMethod · 0.45

Tested by

no test coverage detected