FreePathVehicle

constructor(fleet: FreePathFleet, initialLocation: String, velocity: RVariableIfc, name: String? = null, loadCapacity: Int = 1, stepSize: Double = 1.0, battery: Battery? = null, failureModel: FailureModel? = null)(source)

Parameters

stepSize

how far apart the decision points of a journey are. It fixes how quickly a breakdown, a flat battery or a redirection is observed, and it is ignored where the spatial model cannot say what lies between two places -- there a journey is one step and the vehicle arrives before anything can stop it