Agent Results

Type: array

Results for each agent in the simulation.

Each item of this array must be:

Type: object

Results of an agent, during a single iteration.

Type: integerFormat: uint

Id of the agent.

Value must be greater or equal to 0.0

Type: integer

Index of the chosen mode.

Value must be greater or equal to 0.0

Type: number

Expected utility from the trip.

Type: object

Mode-specific results.

Type: object

Results for a traveling mode.

Type: enum (of string)

Must be one of:

  • "Trip"

Type: object

Results from the within-day model, for a traveling mode.

Type: array

The results specific to each leg of the trip.

Each item of this array must be:

Type: object

Results specific to a leg of the trip (see [Leg]).

Type: number

Departure time of the leg.

Type: number

Arrival time of the leg (before the stopping time).

Type: number

Travel utility for this leg.

Type: number

Schedule utility for this leg.

Type: object

Results specific to the leg's class (road, virtual).

Type: object

The leg is a road leg.

Type: enum (of string)

Must be one of:

  • "Road"

Type: object

The results for a [LegType::Road].

Type: array

The route taken by the vehicle, together with the timings of the events.

Each item of this array must be:

Type: array

Array [e, t], where e is the index of the edge taken and t is the entry time of the vehicle on this edges

Must contain a minimum of 2 items

Must contain a maximum of 2 items

Tuple Validation

Item at 1 must be:
Type: integerFormat: uint

Value must be greater or equal to 0.0

Item at 2 must be:
Type: number

Representation of time duration or timestamp, expressed in seconds.

Type: number

Total time spent traveling on an edge.

Type: number

Total time spent waiting at the in-bottleneck of an edge.

Type: number

Total time spent waiting at the out-bottleneck of an edge.

Type: number

Travel time of taking the same route, assuming no congestion.

Type: number

Travel time of the fastest no-congestion route between origin and destination of the leg.

Type: number

Length of the route taken.

Type: number

Expected departure time, in the pre-day model.

Type: number

Expected arrival time at destination (excluding the stopping time), in the pre-day model.

Type: number

Expected arrival time at destination (excluding the stopping time), when leaving origin.

Type: object

The leg is a virtual leg.

Type: enum (of string)

Must be one of:

  • "Virtual"

Type: number

Departure time from the origin of the first leg (before the delay time at origin).

Type: number

Arrival time at the destination of the last leg (after the stopping time).

Type: number

Total time spent traveling.

Type: number

(Deterministic) utility resulting from the trip.

Type: number

Expected utility for the trip (from the pre-day model).

Type: boolean

If true, the trip is composed only of virtual legs.

Type: object

Alternative for modes or activities that do not recquire additional results.

Type: enum (of string)

Must be one of:

  • "None"