starling_sim.models.SB_VS_R.operator

Module Contents

Classes

Operator

This class describes the operator of the SB_VS_R model.

class starling_sim.models.SB_VS_R.operator.Operator(simulation_model, agent_id, fleet_dict, stations_dict, **kwargs)

Bases: starling_sim.basemodel.agent.operators.station_based_operator.StationBasedOperator

This class describes the operator of the SB_VS_R model.

DISPATCHERS
loop_()

This method represents the life cycle of an agent.

The loop process will be added to the simulation environment after the agent creation. Agents may perform actions that have a duration. They must then yield other processes such as waiting or moving, and will resume at the end of their action.

The loop must be extended to represent a specific behavior, using possibly inherited methods.