ActivityGenerator

Determines the types and durations of activities an agent conducts on a given day.

Inheritors

Functions

Link copied to clipboard
abstract fun getActivityChain(agent: MobiAgent, weekday: Weekday, from: ActivityType, rng: Random): List<ActivityType>

Determine the activity chain of an agent.

Link copied to clipboard
abstract fun getStayTimes(activityChain: List<ActivityType>, agent: MobiAgent, weekday: Weekday, rng: Random): List<Double?>

Get the stay times at each activity.