starling_sim.basemodel.agent.vehicles.repositioning_vehicle

Module Contents

Classes

RepositioningVehicle

This class describes a vehicle providing transport services (pickup, dropoff)

class starling_sim.basemodel.agent.vehicles.repositioning_vehicle.RepositioningVehicle(simulation_model, agent_id, origin, seats, operator_id, dwell_time=30, trip_id=None, depot=None, **kwargs)

Bases: starling_sim.basemodel.agent.vehicles.service_vehicle.ServiceVehicle

This class describes a vehicle providing transport services (pickup, dropoff)

process_stop_(stop)
process_repositioning_(stop)

Realise the repositioning operation described by the stop.

If ‘total’ attribute is negative, the service vehicle takes objects from the station. The operations are realised respecting the service vehicle and station capacity constraints.

Parameters:

stop – stop with type REPOSITIONING