![]() |
Eclipse SUMO - Simulation of Urban MObility
|
#include <CHRouter.h>
Data Structures | |
| class | EdgeInfoByTTComparator |
Public Types | |
| typedef std::vector< typename CHBuilder< E, V >::Connection > | ConnectionVector |
Public Member Functions | |
| bool | found (const E *const edge) const |
| SUMOAbstractRouter< E, V >::EdgeInfo * | getEdgeInfo (const E *const edge) |
| const SUMOAbstractRouter< E, V >::EdgeInfo * | getEdgeInfo (const E *const edge) const |
| void | init (const E *const start, const V *const vehicle) |
| bool | step (const std::vector< ConnectionVector > &uplinks, const Unidirectional &otherSearch, double &minTTSeen, Meeting &meeting) |
| explore on element from the frontier,update minTTSeen and meeting if an EdgeInfo found by the otherSearch is encountered returns whether stepping should continue | |
| Unidirectional (const std::vector< E * > &edges, bool forward) | |
| Constructor. | |
Private Attributes | |
| bool | myAmForward |
| the role of this search | |
| EdgeInfoByTTComparator | myComparator |
| std::vector< typename SUMOAbstractRouter< E, V >::EdgeInfo > | myEdgeInfos |
| The container of edge information. | |
| std::set< const E * > | myFound |
| the set of visited (settled) Edges | |
| std::vector< typename SUMOAbstractRouter< E, V >::EdgeInfo * > | myFrontier |
| the min edge heap | |
| const V * | myVehicle |
class for searching in one direction
Definition at line 69 of file CHRouter.h.
| typedef std::vector<typename CHBuilder<E, V>::Connection> CHRouter< E, V >::Unidirectional::ConnectionVector |
Definition at line 127 of file CHRouter.h.
|
inline |
Constructor.
Definition at line 72 of file CHRouter.h.
References myAmForward, myEdgeInfos, and myVehicle.
Referenced by step().
|
inline |
Definition at line 80 of file CHRouter.h.
References myFound.
Referenced by step().
|
inline |
Definition at line 84 of file CHRouter.h.
References myEdgeInfos.
Referenced by init(), and step().
|
inline |
Definition at line 88 of file CHRouter.h.
References myEdgeInfos.
|
inline |
Definition at line 108 of file CHRouter.h.
References getEdgeInfo(), myFound, myFrontier, myVehicle, and SUMOAbstractRouter< E, V >::EdgeInfo::reset().
|
inline |
explore on element from the frontier,update minTTSeen and meeting if an EdgeInfo found by the otherSearch is encountered returns whether stepping should continue
Definition at line 132 of file CHRouter.h.
References SUMOAbstractRouter< E, V >::EdgeInfo::effort, found(), getEdgeInfo(), myAmForward, myComparator, myEdgeInfos, myFound, myFrontier, myVehicle, and Unidirectional().
the role of this search
Definition at line 199 of file CHRouter.h.
Referenced by step(), and Unidirectional().
|
private |
Definition at line 207 of file CHRouter.h.
Referenced by step().
|
private |
The container of edge information.
Definition at line 205 of file CHRouter.h.
Referenced by getEdgeInfo(), getEdgeInfo(), step(), and Unidirectional().
the set of visited (settled) Edges
Definition at line 203 of file CHRouter.h.
|
private |
Definition at line 209 of file CHRouter.h.
Referenced by init(), step(), and Unidirectional().