Package core
Interface InterfaceLaneGroup
-
- All Known Implementing Classes:
core.AbstractLaneGroup,FluidLaneGroup,MesoLaneGroup,NewellLaneGroup,NoneLaneGroup,VehicleLaneGroup
public interface InterfaceLaneGroup
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidadd_vehicle_packet(float timestamp, PacketLaneGroup vp, Long nextlink_id)voidallocate_state()doubleget_lat_supply()doubleget_long_supply()doubleget_max_vehicles()Doubleget_upstream_vehicle_position()voidrelease_vehicle_packets(float timestamp)voidset_actuator_allow_comm(boolean allow, Long commid)voidset_actuator_capacity_vps(double rate_vps)voidset_actuator_speed_mps(double speed_mps)voidset_to_nominal_capacity()voidupdate_long_supply()voidvalidate_post_init(OTMErrorLog errorLog)floatvehs_dwn_for_comm(Long comm_id)floatvehs_in_for_comm(Long comm_id)floatvehs_out_for_comm(Long comm_id)
-
-
-
Method Detail
-
validate_post_init
void validate_post_init(OTMErrorLog errorLog)
-
allocate_state
void allocate_state()
-
get_upstream_vehicle_position
Double get_upstream_vehicle_position()
-
get_max_vehicles
double get_max_vehicles()
-
get_long_supply
double get_long_supply()
-
get_lat_supply
double get_lat_supply()
-
update_long_supply
void update_long_supply()
-
add_vehicle_packet
void add_vehicle_packet(float timestamp, PacketLaneGroup vp, Long nextlink_id) throws OTMException- Throws:
OTMException
-
set_actuator_capacity_vps
void set_actuator_capacity_vps(double rate_vps)
-
set_to_nominal_capacity
void set_to_nominal_capacity()
-
set_actuator_speed_mps
void set_actuator_speed_mps(double speed_mps)
-
set_actuator_allow_comm
void set_actuator_allow_comm(boolean allow, Long commid) throws OTMException- Throws:
OTMException
-
vehs_dwn_for_comm
float vehs_dwn_for_comm(Long comm_id)
-
vehs_in_for_comm
float vehs_in_for_comm(Long comm_id)
-
vehs_out_for_comm
float vehs_out_for_comm(Long comm_id)
-
release_vehicle_packets
void release_vehicle_packets(float timestamp) throws OTMException- Throws:
OTMException
-
-