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

Method AddCandidate

tools/track_analyzing/track_matcher.cpp:230–234  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

228}
229
230void TrackMatcher::Step::AddCandidate(Segment const & segment, double distance, IndexGraph const & graph)
231{
232 if (graph.GetAccessType(segment) == RoadAccess::Type::Yes)
233 m_candidates.emplace_back(segment, distance);
234}
235} // namespace track_analyzing

Callers

nothing calls this directly

Calls 2

GetAccessTypeMethod · 0.80
emplace_backMethod · 0.45

Tested by

no test coverage detected