|
osurs
0.0.1
|
A route. More...
#include <types.h>

Data Fields | |
| char * | id |
| struct stop_t * | root_stop |
| struct trip_t * | root_trip |
| size_t | route_size |
| size_t | trip_size |
A route.
A route is a group of trips, which defines the route through the node network using stops. A route stores the order in which the nodes are approached by a vehicle in a chain of stops.
| char* route_t::id |
Identifier.
| struct stop_t* route_t::root_stop |
The first stop (head) of the chain of stops.
| struct trip_t* route_t::root_trip |
The first trip (head) of the linked list of trips.
| size_t route_t::route_size |
Number of stops in the route.
| size_t route_t::trip_size |
Number of trips on the route.