osurs
0.0.1
|
Data types of osurs. More...
Go to the source code of this file.
Data Structures | |
struct | node_t |
A node. More... | |
struct | stop_t |
A stop. More... | |
struct | trip_t |
A trip. More... | |
struct | route_t |
A route. More... | |
struct | vehicle_t |
A vehicle. More... | |
struct | composition_t |
A composition. More... | |
struct | network_t |
A network. More... | |
struct | connection_t |
A connection. More... | |
struct | reservation_t |
A reservation. More... | |
struct | seat_t |
A seat. More... | |
struct | seat_collection_t |
A seat collection. More... | |
Macros | |
#define | MINUTES 60 |
#define | HOURS 3600 |
Typedefs | |
typedef struct node_t | Node |
A node. More... | |
typedef struct stop_t | Stop |
A stop. More... | |
typedef struct trip_t | Trip |
A trip. More... | |
typedef struct route_t | Route |
A route. More... | |
typedef struct vehicle_t | Vehicle |
A vehicle. More... | |
typedef struct composition_t | Composition |
A composition. More... | |
typedef struct network_t | Network |
A network. More... | |
typedef struct connection_t | Connection |
A connection. More... | |
typedef struct reservation_t | Reservation |
A reservation. More... | |
typedef struct seat_t | Seat |
A seat. More... | |
typedef struct seat_collection_t | SeatCollection |
A seat collection. More... | |
Data types of osurs.
All data types used by osurs are declared and defined here.
typedef struct composition_t Composition |
A composition.
A composition reflects a combination of containers / groups with au defined seat capacity.
typedef struct connection_t Connection |
A connection.
A connection is a trip between two nodes that is reachable in time.
A network.
A network consists of nodes where vehicles stop and passengers can get on and off.
typedef struct reservation_t Reservation |
A reservation.
A reservation is a booked connection. The booked seats have to be smaller or equal to the available seats.
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.
typedef struct seat_collection_t SeatCollection |
A seat collection.
The seat collection represents multiple seats over which the reservations were distributed/optimized.
A stop.
A stop is a stop location on a trip pointing on a node in the network. Each stop contains information about which stop is next and how long it takes to reach it.
A trip.
A trip is a sequence of two or more stop nodes that start at specific time on a given route. Trips indicate the departure times at which a vehicle leaves from the route's root stop. Vehicle information such as capacity and reservations are stored at the trip level.