| 521 | } |
| 522 | |
| 523 | double EdgeEstimator::CalcHeuristic(ms::LatLon const & from, ms::LatLon const & to) const |
| 524 | { |
| 525 | // For the correct A*, we should use maximum _possible_ speed here, including: |
| 526 | // default model, feature stored, unlimited autobahn, ferry or rail transit. |
| 527 | return TimeBetweenSec(from, to, m_maxWeightSpeedMpS); |
| 528 | } |
| 529 | |
| 530 | double EdgeEstimator::ComputeDefaultLeapWeightSpeed() const |
| 531 | { |
no test coverage detected