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

Function EdgesContain

tools/track_analyzing/track_matcher.cpp:41–48  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

39}
40
41bool EdgesContain(IndexGraph::SegmentEdgeListT const & edges, Segment const & segment)
42{
43 for (auto const & edge : edges)
44 if (edge.GetTarget() == segment)
45 return true;
46
47 return false;
48}
49} // namespace
50
51// TrackMatcher ------------------------------------------------------------------------------------

Callers 1

ChooseSegmentMethod · 0.85

Calls 1

GetTargetMethod · 0.80

Tested by

no test coverage detected