Package models.vehicle.spatialq
Class ModelSpatialQ
- java.lang.Object
-
- core.AbstractModel
-
- core.AbstractVehicleModel
-
- models.vehicle.spatialq.ModelSpatialQ
-
- All Implemented Interfaces:
InterfaceModel
,InterfaceVehicleModel
public class ModelSpatialQ extends core.AbstractVehicleModel
-
-
Constructor Summary
Constructors Constructor Description ModelSpatialQ(String name, Set<Link> links, StochasticProcess process)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description core.AbstractLaneGroup
create_lane_group(Link link, Side side, Float length, int num_lanes, int start_lane, Set<RoadConnection> out_rcs, Roadparam rp)
AbstractOutput
create_output(Scenario scenario, String prefix, String output_folder, OutputRequest jaxb_or)
core.AbstractVehicle
create_vehicle(Long comm_id, Set<InterfaceVehicleListener> event_listeners)
Map<core.AbstractLaneGroup,Double>
lanegroup_proportions(Collection<? extends core.AbstractLaneGroup> candidate_lanegroups)
void
register_with_dispatcher(Scenario scenario, Dispatcher dispatcher, float start_time)
void
set_state_for_link(Link link)
core.AbstractVehicle
translate_vehicle(core.AbstractVehicle that)
void
validate_post_init(OTMErrorLog errorLog)
void
validate_pre_init(OTMErrorLog errorLog)
-
-
-
Constructor Detail
-
ModelSpatialQ
public ModelSpatialQ(String name, Set<Link> links, StochasticProcess process) throws OTMException
- Throws:
OTMException
-
-
Method Detail
-
validate_pre_init
public void validate_pre_init(OTMErrorLog errorLog)
-
validate_post_init
public void validate_post_init(OTMErrorLog errorLog)
-
create_output
public AbstractOutput create_output(Scenario scenario, String prefix, String output_folder, OutputRequest jaxb_or) throws OTMException
- Throws:
OTMException
-
create_lane_group
public core.AbstractLaneGroup create_lane_group(Link link, Side side, Float length, int num_lanes, int start_lane, Set<RoadConnection> out_rcs, Roadparam rp)
-
lanegroup_proportions
public Map<core.AbstractLaneGroup,Double> lanegroup_proportions(Collection<? extends core.AbstractLaneGroup> candidate_lanegroups)
-
set_state_for_link
public void set_state_for_link(Link link)
-
register_with_dispatcher
public void register_with_dispatcher(Scenario scenario, Dispatcher dispatcher, float start_time)
-
translate_vehicle
public core.AbstractVehicle translate_vehicle(core.AbstractVehicle that)
-
create_vehicle
public core.AbstractVehicle create_vehicle(Long comm_id, Set<InterfaceVehicleListener> event_listeners)
-
-