SUMO - Simulation of Urban MObility
|
#include <AStarRouter.h>
Public Types | |
typedef SUMOReal(* | Operation )(const E *const, const V *const, SUMOReal) |
Type of the function that is used to retrieve the edge effort. |
Public Member Functions | |
AStarRouterTT_ByProxi (size_t noE, bool unbuildIsWarningOnly, Operation operation) | |
void | buildPathFrom (EdgeInfo *rbegin, std::vector< const E * > &edges) |
Builds the path from marked edges. | |
virtual void | compute (const E *from, const E *to, const V *const vehicle, SUMOTime msTime, std::vector< const E * > &into) |
Builds the route between the given edges using the minimum travel time. | |
void | endQuery (int visits) |
SUMOReal | getEffort (const E *const e, const V *const v, SUMOReal t) const |
void | init () |
virtual void | prepare (const E *, const V *, bool) |
SUMOReal | recomputeCosts (const std::vector< const E * > &edges, const V *const v, SUMOTime msTime) const |
void | startQuery () |
Protected Attributes | |
EdgeInfoComparator | myComparator |
std::vector< EdgeInfo > | myEdgeInfos |
The container of edge information. | |
MsgHandler *const | myErrorMsgHandler |
the handler for routing errors | |
std::vector< EdgeInfo * > | myFound |
list of visited Edges (for resetting) | |
std::vector< EdgeInfo * > | myFrontierList |
A container for reusage of the min edge heap. |
Private Attributes | |
Operation | myOperation |
The object's operation to perform. |
Definition at line 260 of file AStarRouter.h.
typedef SUMOReal(* AStarRouterTT_ByProxi< E, V, PF >::Operation)(const E *const, const V *const, SUMOReal) |
Type of the function that is used to retrieve the edge effort.
Definition at line 263 of file AStarRouter.h.
|
inline |
Definition at line 265 of file AStarRouter.h.
|
inlineinherited |
Builds the path from marked edges.
Definition at line 233 of file AStarRouter.h.
Referenced by AStarRouterTTBase< MSEdge, SUMOVehicle, prohibited_withRestrictions< MSEdge, SUMOVehicle > >::compute().
|
inlinevirtualinherited |
Builds the route between the given edges using the minimum travel time.
Implements SUMOAbstractRouter< E, V >.
Definition at line 155 of file AStarRouter.h.
|
inlineinherited |
Definition at line 89 of file SUMOAbstractRouter.h.
Referenced by DijkstraRouterEffortBase< MSEdge, SUMOVehicle, prohibited_withRestrictions< MSEdge, SUMOVehicle > >::compute(), DijkstraRouterTTBase< MSEdge, SUMOVehicle, prohibited_withRestrictions< MSEdge, SUMOVehicle > >::compute(), and AStarRouterTTBase< MSEdge, SUMOVehicle, prohibited_withRestrictions< MSEdge, SUMOVehicle > >::compute().
|
inlinevirtual |
Implements AStarRouterTTBase< E, V, PF >.
Definition at line 269 of file AStarRouter.h.
|
inlineinherited |
Definition at line 141 of file AStarRouter.h.
Referenced by AStarRouterTTBase< MSEdge, SUMOVehicle, prohibited_withRestrictions< MSEdge, SUMOVehicle > >::compute().
|
inlinevirtualinherited |
Definition at line 80 of file SUMOAbstractRouter.h.
|
inlinevirtualinherited |
Implements SUMOAbstractRouter< E, V >.
Definition at line 219 of file AStarRouter.h.
|
inlineinherited |
Definition at line 84 of file SUMOAbstractRouter.h.
Referenced by DijkstraRouterEffortBase< MSEdge, SUMOVehicle, prohibited_withRestrictions< MSEdge, SUMOVehicle > >::compute(), DijkstraRouterTTBase< MSEdge, SUMOVehicle, prohibited_withRestrictions< MSEdge, SUMOVehicle > >::compute(), and AStarRouterTTBase< MSEdge, SUMOVehicle, prohibited_withRestrictions< MSEdge, SUMOVehicle > >::compute().
|
protectedinherited |
Definition at line 251 of file AStarRouter.h.
Referenced by AStarRouterTTBase< MSEdge, SUMOVehicle, prohibited_withRestrictions< MSEdge, SUMOVehicle > >::compute().
|
protectedinherited |
The container of edge information.
Definition at line 244 of file AStarRouter.h.
Referenced by AStarRouterTTBase< MSEdge, SUMOVehicle, prohibited_withRestrictions< MSEdge, SUMOVehicle > >::AStarRouterTTBase(), and AStarRouterTTBase< MSEdge, SUMOVehicle, prohibited_withRestrictions< MSEdge, SUMOVehicle > >::compute().
|
protectedinherited |
the handler for routing errors
Definition at line 254 of file AStarRouter.h.
Referenced by AStarRouterTTBase< MSEdge, SUMOVehicle, prohibited_withRestrictions< MSEdge, SUMOVehicle > >::compute().
|
protectedinherited |
list of visited Edges (for resetting)
Definition at line 249 of file AStarRouter.h.
Referenced by AStarRouterTTBase< MSEdge, SUMOVehicle, prohibited_withRestrictions< MSEdge, SUMOVehicle > >::compute(), and AStarRouterTTBase< MSEdge, SUMOVehicle, prohibited_withRestrictions< MSEdge, SUMOVehicle > >::init().
|
protectedinherited |
A container for reusage of the min edge heap.
Definition at line 247 of file AStarRouter.h.
Referenced by AStarRouterTTBase< MSEdge, SUMOVehicle, prohibited_withRestrictions< MSEdge, SUMOVehicle > >::compute(), and AStarRouterTTBase< MSEdge, SUMOVehicle, prohibited_withRestrictions< MSEdge, SUMOVehicle > >::init().
|
private |
The object's operation to perform.
Definition at line 275 of file AStarRouter.h.
Referenced by AStarRouterTT_ByProxi< MSEdge, SUMOVehicle, prohibited_withRestrictions< MSEdge, SUMOVehicle > >::getEffort().