public interface VehicleModelFactory
Copyright (c) 2013-2019 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved.
BSD-style license. See OpenTrafficSim License.
Modifier and Type | Field and Description |
---|---|
static VehicleModelFactory |
MINMAX
Acceleration bounded vehicle model.
|
static VehicleModelFactory |
NONE
No vehicle model.
|
Modifier and Type | Method and Description |
---|---|
VehicleModel |
create(GTUType gtuType)
Create next vehicle model for given GTU type.
|
static VehicleModelFactory |
fixed(VehicleModel vehicleModel)
Factory returning the same instance always.
|
static final VehicleModelFactory NONE
static final VehicleModelFactory MINMAX
static VehicleModelFactory fixed(VehicleModel vehicleModel)
vehicleModel
- VehicleModel; vehicle modelVehicleModel create(GTUType gtuType)
gtuType
- GTUType; GTU typeCopyright © 2014–2019 Delft University of Technology. All rights reserved.