Package core.packet
Class StateContainer
- java.lang.Object
-
- core.packet.StateContainer
-
public class StateContainer extends Object
-
-
Constructor Summary
Constructors Constructor Description StateContainer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
add_packet(PacketLaneGroup packet)
Set<core.AbstractVehicle>
add_packet_and_extract_vehicles(StateContainer container, core.AbstractLaneGroup lg)
double
get_total_veh()
double
get_value(State key)
boolean
isEmpty()
void
set_value(State key, double val)
-
-
-
Method Detail
-
isEmpty
public boolean isEmpty()
-
add_packet_and_extract_vehicles
public Set<core.AbstractVehicle> add_packet_and_extract_vehicles(StateContainer container, core.AbstractLaneGroup lg)
-
add_packet
public void add_packet(PacketLaneGroup packet)
-
get_value
public double get_value(State key)
-
set_value
public void set_value(State key, double val)
-
get_total_veh
public double get_total_veh()
-
-