http://journals.plos.org/plosone/article?id=10.1371/journal.pone.0185333
The code is written in C++ with the following files:
- Route.h: Route class header file
- StopClass.h: Stop class header file
- Trip.h Trip class header file
- Route, StopClass, and Trip source file provide the class codes corresponding to the header files
- Functions.h: Walking distance calculation function
- ShortestPath.h: Shortest path finding function
- MultiThreading.h: functions for using multiple cores for calculation
- CodeMain: the main code which reads the data file and find the weighted average travel time and dynamic all-pairs shortest path between stations for specified departure times
The link provided above links you to the paper that describes the calculation and algorithm in detail.