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

Method CalcOffroadWeight

libs/routing/transit_world_graph.cpp:141–145  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

139}
140
141RouteWeight TransitWorldGraph::CalcOffroadWeight(ms::LatLon const & from, ms::LatLon const & to,
142 EdgeEstimator::Purpose purpose) const
143{
144 return RouteWeight(m_estimator->CalcOffroad(from, to, purpose));
145}
146
147double TransitWorldGraph::CalculateETA(Segment const & from, Segment const & to)
148{

Callers 2

CalcSegmentWeightMethod · 0.45

Calls 2

CalcOffroadMethod · 0.80
RouteWeightClass · 0.70

Tested by

no test coverage detected