Package models.vehicle
Class VehicleDemandGenerator
- java.lang.Object
-
- core.AbstractDemandGenerator
-
- models.vehicle.VehicleDemandGenerator
-
public class VehicleDemandGenerator extends core.AbstractDemandGenerator
-
-
Constructor Summary
Constructors Constructor Description VehicleDemandGenerator(Link link, Profile1D profile, Commodity commodity, Path path)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
insert_vehicle(float timestamp)
void
schedule_next_vehicle(Dispatcher dispatcher, float timestamp)
void
set_demand_vps(Dispatcher dispatcher, float time, double value)
-
-
-
Method Detail
-
set_demand_vps
public void set_demand_vps(Dispatcher dispatcher, float time, double value) throws OTMException
- Overrides:
set_demand_vps
in classcore.AbstractDemandGenerator
- Throws:
OTMException
-
schedule_next_vehicle
public void schedule_next_vehicle(Dispatcher dispatcher, float timestamp)
-
insert_vehicle
public void insert_vehicle(float timestamp) throws OTMException
- Throws:
OTMException
-
-