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

Method SetPassThroughAllowed

generator/generator_tests_support/routing_helpers.cpp:68–73  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

66}
67
68void TestGeometryLoader::SetPassThroughAllowed(uint32_t featureId, bool passThroughAllowed)
69{
70 auto const it = m_roads.find(featureId);
71 CHECK(it != m_roads.end(), ("No feature", featureId));
72 m_roads[featureId].SetPassThroughAllowedForTests(passThroughAllowed);
73}
74
75std::shared_ptr<EdgeEstimator> CreateEstimatorForCar(std::shared_ptr<TrafficStash> trafficStash)
76{

Callers 1

BuildNonPassThroughGraphFunction · 0.80

Calls 3

findMethod · 0.45
endMethod · 0.45

Tested by 1

BuildNonPassThroughGraphFunction · 0.64