blob: 50a6591a470327a1ef358cc5b3b7ec0f7f0086d6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
#pragma once
#include "routing/geometry.hpp"
#include "routing/vehicle_model.hpp"
#include "geometry/point2d.hpp"
#include "std/cstdint.hpp"
#include "std/shared_ptr.hpp"
namespace routing
{
class EdgeEstimator
{
public:
virtual ~EdgeEstimator() = default;
virtual double CalcEdgesWeight(RoadGeometry const & road, uint32_t pointFrom,
uint32_t pointTo) const = 0;
virtual double CalcHeuristic(m2::PointD const & from, m2::PointD const & to) const = 0;
};
shared_ptr<EdgeEstimator> CreateCarEdgeEstimator(shared_ptr<IVehicleModel> vehicleModel);
} // namespace routing
|