Time Expanded Dijkstra

In this framework, each event is modeled as a node. An event is defined as a scheduled arrival or departure of a bus/train and each node has a timestamp associated with it. A trip in the TE graph can be defined as a sequence of alternating departure and arrival nodes. Several functions in this module builds on top of NetworkX implementation of Dijkstra’s algorithm.

Refrences

For more information refer following: