Package core
Class AbstractLaneGroup
- java.lang.Object
- 
- core.AbstractLaneGroup
 
- 
- All Implemented Interfaces:
- actuator.InterfaceTarget,- core.InterfaceLaneGroup,- Comparable<AbstractLaneGroup>
 
 public abstract class AbstractLaneGroup extends Object implements Comparable<AbstractLaneGroup>, core.InterfaceLaneGroup, actuator.InterfaceTarget 
- 
- 
Field SummaryFields Modifier and Type Field Description core.packet.StateContainerbufferstatic Map<core.geometry.Side,models.Maneuver>side2maneuvertraveltime.AbstractLaneGroupTimertravel_timer
 - 
Constructor SummaryConstructors Constructor Description AbstractLaneGroup(core.Link link, core.geometry.Side side, float length, int num_lanes, int start_lane, Set<core.RoadConnection> out_rcs, jaxb.Roadparam rp)
 - 
Method Summary- 
Methods inherited from class java.lang.Objectequals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 - 
Methods inherited from interface core.InterfaceLaneGroupadd_vehicle_packet, allocate_state, get_lat_supply, get_max_vehicles, 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, vehs_in_for_comm, vehs_out_for_comm
 
- 
 
- 
- 
- 
Field Detail- 
side2maneuverpublic static Map<core.geometry.Side,models.Maneuver> side2maneuver 
 - 
bufferpublic core.packet.StateContainer buffer 
 - 
travel_timerpublic traveltime.AbstractLaneGroupTimer travel_timer 
 
- 
 - 
Constructor Detail- 
AbstractLaneGrouppublic AbstractLaneGroup(core.Link link, core.geometry.Side side, float length, int num_lanes, int start_lane, Set<core.RoadConnection> out_rcs, jaxb.Roadparam rp)
 
- 
 - 
Method Detail- 
deletepublic void delete() 
 - 
getTypeAsTargetpublic String getTypeAsTarget() - Specified by:
- getTypeAsTargetin interface- actuator.InterfaceTarget
 
 - 
getIdAsTargetpublic long getIdAsTarget() - Specified by:
- getIdAsTargetin interface- actuator.InterfaceTarget
 
 - 
get_modelpublic AbstractModel get_model() - Specified by:
- get_modelin interface- actuator.InterfaceTarget
 
 - 
register_actuatorpublic void register_actuator(Set<Long> commids, actuator.AbstractActuator act, boolean override) throws error.OTMException - Specified by:
- register_actuatorin interface- actuator.InterfaceTarget
- Throws:
- error.OTMException
 
 - 
compareTopublic final int compareTo(AbstractLaneGroup that) - Specified by:
- compareToin interface- Comparable<AbstractLaneGroup>
 
 - 
set_road_paramspublic void set_road_params(jaxb.Roadparam r) 
 - 
initializepublic void initialize(core.Scenario scenario, float start_time) throws error.OTMException- Throws:
- error.OTMException
 
 - 
request_flow_accumulatorpublic final core.FlowAccumulatorState request_flow_accumulator(Set<Long> comm_ids) 
 - 
update_flow_accummulatorspublic final void update_flow_accummulators(core.State state, double num_vehicles)
 - 
getIdpublic final long getId() 
 - 
get_road_paramspublic jaxb.Roadparam get_road_params() 
 - 
get_linkpublic final core.Link get_link() 
 - 
get_sidepublic final core.geometry.Side get_side() 
 - 
get_start_lane_uppublic final int get_start_lane_up() 
 - 
get_start_lane_dnpublic final int get_start_lane_dn() 
 - 
get_num_lanespublic final int get_num_lanes() 
 - 
get_lengthpublic final float get_length() 
 - 
get_total_vehicles_for_commoditypublic final float get_total_vehicles_for_commodity(Long commid) 
 - 
get_total_vehiclespublic final float get_total_vehicles() 
 - 
get_long_supplypublic double get_long_supply() - Specified by:
- get_long_supplyin interface- core.InterfaceLaneGroup
 
 - 
get_supply_per_lanepublic final double get_supply_per_lane() 
 - 
get_side_with_respect_to_lgpublic final core.geometry.Side get_side_with_respect_to_lg(AbstractLaneGroup lg) 
 - 
get_out_linkspublic final Set<core.Link> get_out_links() 
 - 
get_neighbor_inpublic final AbstractLaneGroup get_neighbor_in() 
 - 
get_neighbor_outpublic final AbstractLaneGroup get_neighbor_out() 
 - 
get_rc_for_outlinkpublic core.RoadConnection get_rc_for_outlink(long linkid) 
 - 
get_rc_for_statepublic Long get_rc_for_state(core.State state) 
 - 
get_maneuvers_for_statepublic Set<models.Maneuver> get_maneuvers_for_state(core.State state) 
 - 
get_maneuvprob_for_statepublic Map<models.Maneuver,Double> get_maneuvprob_for_state(core.State state) 
 - 
set_actuator_allow_commpublic void set_actuator_allow_comm(boolean allow, Long commid) throws error.OTMException- Specified by:
- set_actuator_allow_commin interface- core.InterfaceLaneGroup
- Throws:
- error.OTMException
 
 
- 
 
-