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

Function UkraineOptions

libs/routing_common/bicycle_model.cpp:162–169  ·  view source on GitHub ↗

No trunk, No pass through living_street and service

Source from the content-addressed store, hash-verified

160
161// No trunk, No pass through living_street and service
162VehicleModel::LimitsInitList UkraineOptions()
163{
164 auto res = NoTrunk();
165 for (auto & e : res)
166 if (e.m_type == HighwayType::HighwayLivingStreet || e.m_type == HighwayType::HighwayService)
167 e.m_isPassThroughAllowed = false;
168 return res;
169}
170
171VehicleModel::SurfaceInitList const kBicycleSurface = {
172 // {{surfaceType}, {weightFactor, etaFactor}}

Callers 1

BicycleModelFactoryMethod · 0.85

Calls 1

NoTrunkFunction · 0.70

Tested by

no test coverage detected