osurs  0.0.1
Data Fields
route_t Struct Reference

A route. More...

#include <types.h>

Collaboration diagram for route_t:
Collaboration graph
[legend]

Data Fields

char * id
 
struct stop_troot_stop
 
struct trip_troot_trip
 
size_t route_size
 
size_t trip_size
 

Detailed Description

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.

Field Documentation

◆ id

char* route_t::id

Identifier.

◆ root_stop

struct stop_t* route_t::root_stop

The first stop (head) of the chain of stops.

◆ root_trip

struct trip_t* route_t::root_trip

The first trip (head) of the linked list of trips.

◆ route_size

size_t route_t::route_size

Number of stops in the route.

◆ trip_size

size_t route_t::trip_size

Number of trips on the route.


The documentation for this struct was generated from the following file: