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

Data Fields | |
| int | departure |
| int | arrival |
| int | available |
| struct stop_t * | orig |
| struct stop_t * | dest |
| struct trip_t * | trip |
| struct connection_t * | next |
| struct connection_t * | prev |
A connection.
A connection is a trip between two nodes that is reachable in time.
| int connection_t::arrival |
Arrival time in seconds.
| int connection_t::available |
Available seats (capacity - reserved).
| int connection_t::departure |
Departure time in seconds.
| struct stop_t* connection_t::dest |
Destination stop.
| struct connection_t* connection_t::next |
If there are more than one result, chain of connections, NULL if at the end of the chain.
| struct stop_t* connection_t::orig |
Origin stop.
| struct connection_t* connection_t::prev |
Previous connection or NULL if at the start of the chain.
| struct trip_t* connection_t::trip |
The trip on the route on which the connection is.