Classes | |
| struct | PathNode |
Public Types | |
| enum | PathNodeType { TRANSITNODE, ROADNODE } |
Public Member Functions | |
| TransitPath (const Time &startTime) | |
| void | clear () |
| void | reverse () |
| size_t | size () const |
| const Time & | getStartTime () const |
| int | getTransfers () const |
| double | getDurationInMinutes () const |
| void | addStation (PathNodeType type, int stationId, double latitude, double longitude, Time arrivalTime, Time departureTime, int arrivedWithTripId) |
| PathNodeType | getType (int pathNodeIndex) |
| int | getStationId (int pathNodeIndex) |
| double | getLatitude (int pathNodeIndex) |
| double | getLongitude (int pathNodeIndex) |
| const Time & | getArrivalTime (int pathNodeIndex) |
| const Time & | getDepartureTime (int pathNodeIndex) |
| int | getArrivedWithTripId (int pathNodeIndex) |
| bool | isEqualTo (const TransitPath &otherPath) const |
| bool | hasSameResult (const TransitPath &otherPath) const |
| string | createDiffTo (const TransitPath &otherPath) const |
| string | toString () const |
| string | createJSON () const |
Static Public Member Functions | |
|
static pair< vector< int > , vector< int > > | findDifferentPaths (const vector< TransitPath > &firstPaths, const vector< TransitPath > &secondPaths) |
|
static pair< vector< int > , vector< int > > | findDifferentResults (const vector< TransitPath > &firstPaths, const vector< TransitPath > &secondPaths) |
1.7.1