Expand description
This crate describes a synthetic population that exist in a map. Currently each person’s travel behavior is modelled, but in the future, demographic and health attributes may be added. There’s a variety of ways to create these populations, scattered in other crates.
Note that “scenario” is the term currently used to describe the population. This will be renamed “soon.”
Modules§
- borders 🔒
- counts 🔒
- endpoint 🔒
- external 🔒
- Some users of the API (https://a-b-street.github.io/docs/tech/dev/api.html) have their own simulation input data; import it here.
- make
- https://a-b-street.github.io/docs/tech/trafficsim/travel_demand.html for context.
- modifier 🔒
- scenario 🔒
Structs§
- External
Person - External
Trip - Individ
Trip - MapBorder
- MapBorders
- Lists all border intersections of the map, broken down by mode and whether they support incoming or outgoing traffic.
- Orig
PersonID - This is an ID used by Seattle soundcast. Originally it was preserved for debugging, but that hasn’t happened in a long time. Also the format is tied to Soundcast. Consider deleting / changing.
- Person
Spec - Scenario
- A Scenario describes all the input to a simulation. Usually a scenario covers one day.
- Traffic
Counts - This represents the number of vehicles (or trips, or something else) crossing roads and intersections over some span of time. The data could represent real observations or something from a simulation.
Enums§
- External
Trip Endpoint - Scenario
Modifier - Transforms an existing Scenario before instantiating it.
- Trip
Endpoint - Specifies where a trip begins or ends.
- Trip
Mode - How does a trip primarily happen?
- Trip
Purpose - Lifted from Seattle’s Soundcast model, but seems general enough to use anyhere.