Package models.vehicle
Class VehicleLaneGroup
- java.lang.Object
-
- core.AbstractLaneGroup
-
- models.vehicle.VehicleLaneGroup
-
- All Implemented Interfaces:
InterfaceTarget
,InterfaceLaneGroup
,Comparable<core.AbstractLaneGroup>
- Direct Known Subclasses:
MesoLaneGroup
,NewellLaneGroup
public abstract class VehicleLaneGroup extends core.AbstractLaneGroup
-
-
Field Summary
Fields Modifier and Type Field Description double
max_vehicles
-
Constructor Summary
Constructors Constructor Description VehicleLaneGroup(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 double
get_lat_supply()
double
get_max_vehicles()
void
set_road_params(Roadparam r)
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_actuator_allow_comm, toString, update_flow_accummulators
-
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface core.InterfaceLaneGroup
add_vehicle_packet, allocate_state, get_upstream_vehicle_position, release_vehicle_packets, set_actuator_capacity_vps, set_actuator_speed_mps, set_to_nominal_capacity, update_long_supply, validate_post_init, vehs_dwn_for_comm
-
-
-
-
Constructor Detail
-
VehicleLaneGroup
public VehicleLaneGroup(Link link, Side side, float length, int num_lanes, int start_lane, Set<RoadConnection> out_rcs, Roadparam rp)
-
-
Method Detail
-
set_road_params
public void set_road_params(Roadparam r)
- Overrides:
set_road_params
in classcore.AbstractLaneGroup
-
vehs_out_for_comm
public float vehs_out_for_comm(Long comm_id)
-
get_max_vehicles
public double get_max_vehicles()
-
vehs_in_for_comm
public float vehs_in_for_comm(Long comm_id)
-
get_lat_supply
public double get_lat_supply()
-
-