List of provided raw data#
These are the different types of logged data which are provided by the API. They are logged while running the environment simulation and most derived metrics will be derived from them. Therefore they are useful in extending the API’s functionality while defining your own custom derived metrics.
Note
All the raw data methods return lists, with each index in the list corresponding to the particular agent index.
Method |
Description |
Return Type |
---|---|---|
|
Returns a list of agent speeds |
List[float] |
|
Returns a list of agent states, with each index corresponding to the state of that agent at the end of the simulation |
List[int] |
|
Returns a list of agent earliest departures |
List[int] |
|
Returns a list of agent latest arrivals |
List[int] |
|
Returns a list of agent latest arrival times |
List[int] |
|
Returns a list of current agent delays at the end of the simulation |
List[int] |
|
Returns a list of lengths of shortest paths for each agent |
List[int] |