|
libosmscout 1.1.1
|
#include <libosmscout/include/osmscout/routing/RoutingProfile.h>


Public Member Functions | |
| FastestPathRoutingProfile (const TypeConfigRef &typeConfig) | |
| void | ParametrizeForFoot (const TypeConfig &typeConfig, double maxSpeed) override |
| void | ParametrizeForBicycle (const TypeConfig &typeConfig, double maxSpeed) override |
| bool | ParametrizeForCar (const TypeConfig &typeConfig, const std::map< std::string, double > &speedMap, double maxSpeed) override |
| bool | HasJunctionPenalty () const |
| void | SetJunctionPenalty (bool b) |
| Distance | GetPenaltySameType () const |
| void | SetPenaltySameType (const Distance &d) |
| Distance | GetPenaltyDifferentType () const |
| void | SetPenaltyDifferentType (const Distance &d) |
| HourDuration | GetMaxPenalty () const |
| void | SetMaxPenalty (const HourDuration &d) |
| double | GetCosts (const RouteNode ¤tNode, const std::vector< ObjectVariantData > &objectVariantData, size_t inPathIndex, size_t outPathIndex) const override |
| double | GetCosts (const Area &area, const Distance &distance) const override |
| double | GetCosts (const Way &way, const Distance &distance) const override |
| double | GetCosts (const Distance &distance) const override |
| double | GetUTurnCost () const override |
| std::string | GetCostString (double cost) const override |
| Public Member Functions inherited from osmscout::AbstractRoutingProfile | |
| AbstractRoutingProfile (const TypeConfigRef &typeConfig) | |
| void | SetVehicle (Vehicle vehicle) |
| void | SetVehicleMaxSpeed (double maxSpeed) |
| Vehicle | GetVehicle () const override |
| double | GetVehicleMaxSpeed () const |
| void | SetCostLimitDistance (const Distance &costLimitDistance) |
| Distance | GetCostLimitDistance () const override |
| void | SetCostLimitFactor (double costLimitFactor) |
| double | GetCostLimitFactor () const override |
| void | AddType (const TypeInfoRef &type, double speed) |
| void | AddType (const TypeInfoRef &type, SpeedVariant speed) |
| bool | CanUse (const RouteNode ¤tNode, const std::vector< ObjectVariantData > &objectVariantData, size_t pathIndex) const override |
| bool | CanUse (const Area &area) const override |
| bool | CanUse (const Way &way) const override |
| bool | CanUseForward (const Way &way) const override |
| bool | CanUseBackward (const Way &way) const override |
| Duration | GetTime (const Area &area, const Distance &distance) const override |
| Duration | GetTime (const Way &way, const Distance &distance) const override |
| Public Member Functions inherited from osmscout::RoutingProfile | |
| virtual | ~RoutingProfile ()=default |
Protected Attributes | |
| bool | applyJunctionPenalty =true |
| Distance | penaltySameType =Meters(40) |
| Distance | penaltyDifferentType =Meters(250) |
| HourDuration | maxPenalty =std::chrono::seconds(10) |
| Protected Attributes inherited from osmscout::AbstractRoutingProfile | |
| TypeConfigRef | typeConfig |
| AccessFeatureValueReader | accessReader |
| MaxSpeedFeatureValueReader | maxSpeedReader |
| GradeFeatureValueReader | gradeReader |
| Vehicle | vehicle |
| uint8_t | vehicleRouteNodeBit |
| Distance | costLimitDistance |
| double | costLimitFactor |
| std::vector< SpeedVariant > | speeds |
| maximum vehicle speed on route type and its grade | |
| double | minSpeed |
| double | maxSpeed |
| double | vehicleMaxSpeed |
Additional Inherited Members | |
| Protected Member Functions inherited from osmscout::AbstractRoutingProfile | |
| template<typename Obj> | |
| Duration | GetTime2 (const Obj &obj, const Distance &distance) const |
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).
|
explicit |
|
inlineoverridevirtual |
Estimated cost for specific area with given distance
Implements osmscout::RoutingProfile.
|
inlineoverridevirtual |
Estimated cost for distance when are no limitations (max. speed on the way)
Implements osmscout::RoutingProfile.
|
inlineoverridevirtual |
Estimated cost for outgoing path (outPathIndex) from currentNode when currentNode is entered from inPathIndex
Implements osmscout::RoutingProfile.
|
inlineoverridevirtual |
Estimated cost for specific way with given distance
Implements osmscout::RoutingProfile.
|
inlineoverridevirtual |
Textual representation of cost
Reimplemented from osmscout::AbstractRoutingProfile.
|
inline |
|
inline |
|
inline |
|
inlineoverridevirtual |
Reimplemented from osmscout::AbstractRoutingProfile.
|
inline |
|
inlineoverridevirtual |
Setup profile for bicycle, it also setup junction penalty and multiply cost limit and cost limit factor.
Reimplemented from osmscout::AbstractRoutingProfile.
|
inlineoverridevirtual |
Setup profile for car, it also setup junction penalty and multiply cost limit and cost limit factor.
Reimplemented from osmscout::AbstractRoutingProfile.
|
inlineoverridevirtual |
Reimplemented from osmscout::AbstractRoutingProfile.
|
inline |
|
inline |
|
inline |
|
inline |
|
protected |
|
protected |
|
protected |
|
protected |