Profile that defines costs base of the time the traveling device needs for a certain way resulting in the fastest path chosen (cost=distance/speedForWayType).
More...
|
| FastestPathRoutingProfile (const TypeConfigRef &typeConfig) |
|
double | GetCosts (const Area &area, const Distance &distance) const override |
| Estimated cost for specific area with given distance.
|
|
double | GetCosts (const Distance &distance) const override |
| Estimated cost for distance when are no limitations (max.
|
|
double | GetCosts (const RouteNode ¤tNode, const std::vector< ObjectVariantData > &objectVariantData, size_t inPathIndex, size_t outPathIndex) const override |
| Estimated cost for outgoing path (outPathIndex) from currentNode when currentNode is entered from inPathIndex.
|
|
double | GetCosts (const Way &way, const Distance &distance) const override |
| Estimated cost for specific way with given distance.
|
|
std::string | GetCostString (double cost) const override |
| Textual representation of cost.
|
|
HourDuration | GetMaxPenalty () const |
|
Distance | GetPenaltyDifferentType () const |
|
Distance | GetPenaltySameType () const |
|
double | GetUTurnCost () const override |
|
bool | HasJunctionPenalty () const |
|
void | ParametrizeForBicycle (const TypeConfig &typeConfig, double maxSpeed) override |
| Setup profile for bicycle, it also setup junction penalty and multiply cost limit and cost limit factor.
|
|
bool | ParametrizeForCar (const TypeConfig &typeConfig, const std::map< std::string, double > &speedMap, double maxSpeed) override |
| Setup profile for car, it also setup junction penalty and multiply cost limit and cost limit factor.
|
|
void | ParametrizeForFoot (const TypeConfig &typeConfig, double maxSpeed) override |
|
void | SetJunctionPenalty (bool b) |
|
void | SetMaxPenalty (const HourDuration &d) |
|
void | SetPenaltyDifferentType (const Distance &d) |
|
void | SetPenaltySameType (const Distance &d) |
|
| AbstractRoutingProfile (const TypeConfigRef &typeConfig) |
|
void | AddType (const TypeInfoRef &type, double speed) |
| Setup same speed for all grades of route type.
|
|
void | AddType (const TypeInfoRef &type, SpeedVariant speed) |
| Setup speed for various grades of route type.
|
|
bool | CanUse (const Area &area) const override |
|
bool | CanUse (const RouteNode ¤tNode, const std::vector< ObjectVariantData > &objectVariantData, size_t pathIndex) const override |
|
bool | CanUse (const Way &way) const override |
|
bool | CanUseBackward (const Way &way) const override |
|
bool | CanUseForward (const Way &way) const override |
|
Distance | GetCostLimitDistance () const override |
|
double | GetCostLimitFactor () const override |
|
Duration | GetTime (const Area &area, const Distance &distance) const override |
|
Duration | GetTime (const Way &way, const Distance &distance) const override |
|
Vehicle | GetVehicle () const override |
|
double | GetVehicleMaxSpeed () const |
|
void | SetCostLimitDistance (const Distance &costLimitDistance) |
| seet SetCostLimitFactor()
|
|
void | SetCostLimitFactor (double costLimitFactor) |
| The router tries to minimize the actual costs of the route.
|
|
void | SetVehicle (Vehicle vehicle) |
|
void | SetVehicleMaxSpeed (double maxSpeed) |
|
virtual | ~RoutingProfile ()=default |
|
Profile that defines costs base of the time the traveling device needs for a certain way resulting in the fastest path chosen (cost=distance/speedForWayType).