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 void
add_vehicle_packet(float timestamp, PacketLaneGroup vp, Long nextlink_id)
void
allocate_state()
double
get_lat_supply()
double
get_long_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)
-
-
-
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
-
-