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

Method HeuristicCostEstimate

libs/routing/transit_world_graph.cpp:119–122  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

117}
118
119RouteWeight TransitWorldGraph::HeuristicCostEstimate(ms::LatLon const & from, ms::LatLon const & to)
120{
121 return RouteWeight(m_estimator->CalcHeuristic(from, to));
122}
123
124RouteWeight TransitWorldGraph::CalcSegmentWeight(Segment const & segment, EdgeEstimator::Purpose purpose)
125{

Callers

nothing calls this directly

Calls 2

CalcHeuristicMethod · 0.80
RouteWeightClass · 0.70

Tested by

no test coverage detected