Package models.none
Class NoneLaneGroup
- java.lang.Object
-
- core.AbstractLaneGroup
-
- models.none.NoneLaneGroup
-
- All Implemented Interfaces:
InterfaceTarget
,InterfaceLaneGroup
,Comparable<core.AbstractLaneGroup>
public class NoneLaneGroup extends core.AbstractLaneGroup
-
-
Constructor Summary
Constructors Constructor Description NoneLaneGroup(Link link, Side side, float length, int num_lanes, int start_lane, Set<RoadConnection> out_rcs, Roadparam rp)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
add_vehicle_packet(float timestamp, PacketLaneGroup vp, Long nextlink_id)
void
allocate_state()
double
get_lat_supply()
double
get_max_vehicles()
Double
get_upstream_vehicle_position()
void
release_vehicle_packets(float timestamp)
void
set_actuator_allow_comm(boolean allow, Long commid)
void
set_actuator_capacity_vps(double rate_vps)
void
set_actuator_speed_mps(double speed_mps)
void
set_to_nominal_capacity()
void
update_long_supply()
void
validate_post_init(OTMErrorLog errorLog)
float
vehs_dwn_for_comm(Long comm_id)
float
vehs_in_for_comm(Long comm_id)
float
vehs_out_for_comm(Long comm_id)
-
Methods inherited from class core.AbstractLaneGroup
compareTo, delete, get_dn_lanes, get_length, get_link, get_long_supply, get_maneuvers_for_state, get_maneuvprob_for_state, get_model, get_neighbor_in, get_neighbor_out, get_num_lanes, get_out_links, get_rc_for_outlink, get_rc_for_state, get_road_params, get_side, get_side_with_respect_to_lg, get_start_lane_dn, get_start_lane_up, get_supply_per_lane, get_total_vehicles, get_total_vehicles_for_commodity, get_up_lanes, getId, getIdAsTarget, getTypeAsTarget, initialize, register_actuator, request_flow_accumulator, set_road_params, toString, update_flow_accummulators
-
-
-
-
Constructor Detail
-
NoneLaneGroup
public NoneLaneGroup(Link link, Side side, float length, int num_lanes, int start_lane, Set<RoadConnection> out_rcs, Roadparam rp)
-
-
Method Detail
-
validate_post_init
public void validate_post_init(OTMErrorLog errorLog)
-
set_actuator_capacity_vps
public void set_actuator_capacity_vps(double rate_vps)
-
set_to_nominal_capacity
public void set_to_nominal_capacity()
-
set_actuator_allow_comm
public void set_actuator_allow_comm(boolean allow, Long commid)
- Specified by:
set_actuator_allow_comm
in interfaceInterfaceLaneGroup
- Overrides:
set_actuator_allow_comm
in classcore.AbstractLaneGroup
-
get_upstream_vehicle_position
public Double get_upstream_vehicle_position()
-
get_max_vehicles
public double get_max_vehicles()
-
allocate_state
public void allocate_state()
-
get_lat_supply
public double get_lat_supply()
-
update_long_supply
public void update_long_supply()
-
add_vehicle_packet
public void add_vehicle_packet(float timestamp, PacketLaneGroup vp, Long nextlink_id) throws OTMException
- Throws:
OTMException
-
set_actuator_speed_mps
public void set_actuator_speed_mps(double speed_mps)
-
vehs_dwn_for_comm
public float vehs_dwn_for_comm(Long comm_id)
-
vehs_in_for_comm
public float vehs_in_for_comm(Long comm_id)
-
vehs_out_for_comm
public float vehs_out_for_comm(Long comm_id)
-
release_vehicle_packets
public void release_vehicle_packets(float timestamp) throws OTMException
- Throws:
OTMException
-
-