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

Public Member Functions | |
| RNode ()=default | |
| RNode (const DBId &id, const RouteNodeRef &node, const ObjectFileRef &object) | |
| RNode (const DBId &id, const RouteNodeRef &node, const ObjectFileRef &object, const DBId &prev, bool prevRestricted) | |
| bool | operator== (const RNode &other) const |
| bool | operator< (const RNode &other) const |
Public Attributes | |
| DBId | id |
| The file offset of the current route node. | |
| RouteNodeRef | node |
| The current route node. | |
| DBId | prev |
| The file offset of the previous route node. | |
| Id | exclude |
| bool | prevRestricted =false |
| previous node is restricted | |
| ObjectFileRef | object |
| The object (way/area) visited from the current route node. | |
| double | currentCost =0 |
| The cost of the current up to the current node. | |
| double | estimateCost =0 |
| The estimated cost from here to the target. | |
| double | overallCost =0 |
| The overall costs (currentCost+estimateCost). | |
| bool | restricted =true |
| Flag to signal, if access to this node is restricted ("access restrictions"). | |
| bool | leaveRestricted =false |
A path in the routing graph from one node to the next (expressed via the target object) with additional information as required by the A* algorithm.
|
default |
|
inline |
|
inline |
|
inline |
|
inline |
| double osmscout::RoutingService::RNode::currentCost =0 |
The cost of the current up to the current node.
| double osmscout::RoutingService::RNode::estimateCost =0 |
The estimated cost from here to the target.
| Id osmscout::RoutingService::RNode::exclude |
excluded node to go, similar to route-node excludes, but used by routing service when initial bearing is restricted
| DBId osmscout::RoutingService::RNode::id |
The file offset of the current route node.
| bool osmscout::RoutingService::RNode::leaveRestricted =false |
Flag signaling that we may leave restricted area, because it was start of route. Flag is disabled when we leave to non-restricted way.
| RouteNodeRef osmscout::RoutingService::RNode::node |
The current route node.
| ObjectFileRef osmscout::RoutingService::RNode::object |
The object (way/area) visited from the current route node.
| double osmscout::RoutingService::RNode::overallCost =0 |
The overall costs (currentCost+estimateCost).
| DBId osmscout::RoutingService::RNode::prev |
The file offset of the previous route node.
| bool osmscout::RoutingService::RNode::prevRestricted =false |
previous node is restricted
| bool osmscout::RoutingService::RNode::restricted =true |
Flag to signal, if access to this node is restricted ("access restrictions").