A trip describes a change of Location from one Location to another Location.
More...
#include <trip_list.h>
A trip describes a change of Location from one Location to another Location.
◆ Trip()
Construct a new Trip.
- Parameters
-
| [in] | id | ID of the Person that makes the Trip. |
| [in] | time | Time at which a Person changes the Location this currently cant be set for s specific day just a timepoint in a day. |
| [in] | destination | Location where the Person changes to. |
| [in] | destination_model_id | Model the Person changes to. |
| [in] | origin | Location where the person starts the Trip. |
| [in] | origin_model_id | Model the Person starts the Trip. |
| [in] | input_cells | The index of the Cells the Person changes to. |
◆ default_serialize()
| auto mio::abm::Trip::default_serialize |
( |
| ) |
|
|
inline |
◆ operator==()
| bool mio::abm::Trip::operator== |
( |
const Trip & |
other | ) |
const |
|
inline |
◆ cells
| std::vector<uint32_t> mio::abm::Trip::cells |
If destination consists of different Cells, this gives the index of the Cells the Person changes to.
◆ destination
◆ destination_model_id
| int mio::abm::Trip::destination_model_id |
◆ person_id
Person that makes the trip and corresponds to the index into the structure m_persons from Model, where all Persons are saved.
◆ trip_mode
Mode of transportation. See TransportMode for all possible modes of transportation.
◆ trip_time