libosmscout
0.1
|
#include <RoutingService.h>
Public Member Functions | |
bool | operator< (const RNode &other) const |
bool | operator== (const RNode &other) const |
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) | |
Public Attributes | |
double | currentCost =0 |
The cost of the current up to the current node. More... | |
double | estimateCost =0 |
The estimated cost from here to the target. More... | |
Id | exclude |
excluded node to go, similar to route-node excludes, but used by routing service when initial bearing is restricted More... | |
DBId | id |
The file offset of the current route node. More... | |
bool | leaveRestricted =false |
Flag signaling that we may leave restricted area, because it was start of route. More... | |
RouteNodeRef | node |
The current route node. More... | |
ObjectFileRef | object |
The object (way/area) visited from the current route node. More... | |
double | overallCost =0 |
The overall costs (currentCost+estimateCost) More... | |
DBId | prev |
The file offset of the previous route node. More... | |
bool | prevRestricted =false |
previous node is restricted More... | |
bool | restricted =true |
Flag to signal, if access to this node is restricted ("access restrictions") More... | |
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 |
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.
Referenced by operator<(), operator==(), and osmscout::AbstractRoutingService< MultiDBRoutingState >::ResolveRNodeChainToList().
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")
Referenced by osmscout::AbstractRoutingService< MultiDBRoutingState >::ResolveRNodeChainToList().