![]() |
Eclipse SUMO - Simulation of Urban MObility
|
Public Member Functions | |
| CHInfo (const E *const e) | |
| Constructor. | |
| void | debugNoWitness (const CHConnection &aInfo, const CHConnection &fInfo) |
| debugging methods | |
| void | debugWitness (const CHConnection &aInfo, const CHConnection &fInfo) |
| void | resetContractionState () |
| void | updateLevel () |
| bool | updatePriority (SPTree< CHInfo, CHConnection > *spTree) |
| recompute the contraction priority and report whether it changed | |
| void | updateShortcuts (SPTree< CHInfo, CHConnection > *spTree) |
| compute needed shortcuts when contracting this edge | |
Data Fields | |
| CHConnections | approaching |
| int | contractedNeighbors |
| priority subterms | |
| const E *const | edge |
| The current edge. | |
| CHConnections | followers |
| connections (only valid after synchronization) | |
| int | level |
| double | priority |
| The contraction priority. | |
| int | rank |
| std::vector< Shortcut > | shortcuts |
| The needed shortcuts. | |
| int | underlyingTotal |
members used in SPTree | |
| bool | visited |
| whether the edge has been visited during shortest path search | |
| double | traveltime |
| Effort to reach the edge. | |
| int | depth |
| number of edges from start | |
| SVCPermissions | permissions |
| the permissions when reaching this edge on the fastest path | |
| void | reset () |
Definition at line 225 of file CHBuilder.h.
Constructor.
Definition at line 228 of file CHBuilder.h.
References contractedNeighbors, depth, edge, level, permissions, priority, rank, SVC_IGNORING, traveltime, underlyingTotal, and visited.
|
inline |
debugging methods
Definition at line 387 of file CHBuilder.h.
References edge, and CHBuilder< E, V >::CHConnection::target.
Referenced by updateShortcuts().
|
inline |
Definition at line 391 of file CHBuilder.h.
References CHBuilder< E, V >::CHConnection::cost, edge, CHBuilder< E, V >::CHConnection::target, and traveltime.
Definition at line 377 of file CHBuilder.h.
References depth, permissions, SVC_IGNORING, traveltime, and visited.
Referenced by resetContractionState().
Definition at line 334 of file CHBuilder.h.
References approaching, contractedNeighbors, followers, level, priority, rank, reset(), shortcuts, and underlyingTotal.
Definition at line 314 of file CHBuilder.h.
References approaching, followers, level, MAX2(), and rank.
Referenced by updatePriority().
|
inline |
recompute the contraction priority and report whether it changed
Definition at line 242 of file CHBuilder.h.
References approaching, contractedNeighbors, followers, level, priority, shortcuts, underlyingTotal, updateLevel(), and updateShortcuts().
Referenced by CHBuilder< E, V >::buildContractionHierarchy(), and CHBuilder< E, V >::tryUpdateFront().
|
inline |
compute needed shortcuts when contracting this edge
Definition at line 257 of file CHBuilder.h.
References approaching, CHBuilder< E, V >::CHConnection::cost, debugNoWitness(), edge, followers, SPTree< E, C >::getNeededShortcuts(), CHBuilder< E, V >::CHConnection::permissions, SPTree< E, C >::rebuildFrom(), SPTree< E, C >::registerForValidation(), shortcuts, CHBuilder< E, V >::CHConnection::target, toString(), CHBuilder< E, V >::CHConnection::underlying, underlyingTotal, and SPTree< E, C >::validatePermissions().
Referenced by updatePriority().
| CHConnections CHBuilder< E, V >::CHInfo::approaching |
Definition at line 361 of file CHBuilder.h.
Referenced by CHBuilder< E, V >::buildContractionHierarchy(), resetContractionState(), CHBuilder< E, V >::synchronize(), updateLevel(), updatePriority(), and updateShortcuts().
priority subterms
Definition at line 354 of file CHBuilder.h.
Referenced by CHInfo(), resetContractionState(), and updatePriority().
number of edges from start
Definition at line 371 of file CHBuilder.h.
The current edge.
Definition at line 348 of file CHBuilder.h.
Referenced by CHBuilder< E, V >::buildContractionHierarchy(), CHInfo(), debugNoWitness(), debugWitness(), CHBuilder< E, V >::synchronize(), CHBuilder< E, V >::tryUpdateFront(), and updateShortcuts().
| CHConnections CHBuilder< E, V >::CHInfo::followers |
connections (only valid after synchronization)
Definition at line 360 of file CHBuilder.h.
Referenced by CHBuilder< E, V >::buildContractionHierarchy(), resetContractionState(), CHBuilder< E, V >::synchronize(), updateLevel(), updatePriority(), and updateShortcuts().
Definition at line 356 of file CHBuilder.h.
Referenced by CHInfo(), resetContractionState(), updateLevel(), and updatePriority().
| SVCPermissions CHBuilder< E, V >::CHInfo::permissions |
the permissions when reaching this edge on the fastest path
Definition at line 375 of file CHBuilder.h.
The contraction priority.
Definition at line 350 of file CHBuilder.h.
Referenced by CHBuilder< E, V >::buildContractionHierarchy(), CHInfo(), resetContractionState(), and updatePriority().
Definition at line 355 of file CHBuilder.h.
Referenced by CHBuilder< E, V >::buildContractionHierarchy(), CHInfo(), resetContractionState(), and updateLevel().
The needed shortcuts.
Definition at line 352 of file CHBuilder.h.
Referenced by CHBuilder< E, V >::buildContractionHierarchy(), resetContractionState(), updatePriority(), and updateShortcuts().
Effort to reach the edge.
Definition at line 369 of file CHBuilder.h.
Referenced by CHInfo(), debugWitness(), and reset().
Definition at line 357 of file CHBuilder.h.
Referenced by CHInfo(), resetContractionState(), updatePriority(), and updateShortcuts().
whether the edge has been visited during shortest path search
Definition at line 367 of file CHBuilder.h.