commutesim
Classes
Functions
Employee
Derived from
Individual
Methods
Employee (Constructor)
Employee(parent)
Employee.live
live()
Demand to return to home location
Employer
Derived from
Process, Cell
Methods
Employer (Constructor)
Employer(parent, i)
VacancyPool
Derived from
None
Methods
VacancyPool (Constructor)
VacancyPool(parent, numPositions, skillcode, schedule)
VacancyPool.createEmployees
createEmployees()
Create and returns an array of worker objects
WorkShift
Derived from
None
Methods
WorkShift (Constructor)
WorkShift(start_time, end_time, days, cycle)
WorkShift
Derived from
None
Methods
WorkShift (Constructor)
WorkShift(start_time, end_time, days, cycle)
createEmployers
createEmployers(cell, numEmployers=1)
model
model(SEED=101010)
randomNode
randomNode(cell)
Return a random subcell of the provided cell