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

Method GetAccess

libs/routing/road_access.cpp:38–42  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

36RoadAccess::RoadAccess() : m_currentTimeGetter([]() { return GetCurrentTimestamp(); }) {}
37
38std::pair<RoadAccess::Type, RoadAccess::Confidence> RoadAccess::GetAccess(uint32_t featureId,
39 RouteWeight const & weightToFeature) const
40{
41 return GetAccess(featureId, weightToFeature.GetWeight());
42}
43
44std::pair<RoadAccess::Type, RoadAccess::Confidence> RoadAccess::GetAccess(RoadPoint const & point,
45 RouteWeight const & weightToPoint) const

Callers 3

UNIT_CLASS_TESTFunction · 0.80
IsAccessNoForSureMethod · 0.80
GetPenaltiesMethod · 0.80

Calls 3

GetWeightMethod · 0.45
findMethod · 0.45
cendMethod · 0.45

Tested by 1

UNIT_CLASS_TESTFunction · 0.64