Package-level declarations
Types
Determines the types and durations of activities an agent conducts on a given day.
Creates the population of agents.
Creates agents by determining socio-demographic features as well as work and school locations.
Destination choice function implementation for the HOME location distribution when census data is given.
Determines car ownership of an agent.
Determines car ownership with a fixed probability. The probability is taken from the CarOwnership property of the stratum. The probability is only applied to agent's that have an age higher than the minimum driving age.
Determines with an MNL model. The MNL model is only used for agent's above the minimum driving age, younger agent's never have car ownership.
Utility formula for car ownership MNL.
Destination choice function with power-expon functional form.
Find the location of activities.
Gravity model based destination finder.
Return unique IDs used for the destination choice functions. These IDs are used to cache a location's attraction value, as calculated with the function, inside the location itself.
Destination choice model. Parent class.
Destination choice function with log-normal functional form.
Destination choice function with log-normal functional form.
Determine the mode of trips.
Turn every trip into a char trip.
Do mode choice with the mode options: FOOT, BICYCLE, CAR_DRIVER, CAR_PASSENGER, PUBLIC_TRANSIT Uses a multinomial logit model at its core.
Utility formula for a mode in a mode choice logit model.
Open-Street-Maps MObility Demand generator (omosim) Creates daily activity schedules in the form of activity chains and dwell times.
Destination choice function implementation for the HOME location distribution when census data is not given.
Functions
Runs the bisecting k-means algorithm
Assign each building a routing cell so that the average distance between a building and its cell is less than the desired precision. Assignment is done with the bisecting k-means algorithm.
Group buildings into routing cells with bisecting-k-Means clustering for faster sampling. The resolution of the routing grid is cut in half with every 10km distance from the focus area.