Package traveltime
Class VehicleLaneGroupTimer
- java.lang.Object
-
- traveltime.AbstractLaneGroupTimer
-
- traveltime.VehicleLaneGroupTimer
-
public class VehicleLaneGroupTimer extends AbstractLaneGroupTimer
-
-
Field Summary
Fields Modifier and Type Field Description Map<Long,Float>entry_timeintnum_samplesdoublesum_time-
Fields inherited from class traveltime.AbstractLaneGroupTimer
lg, travel_time
-
-
Constructor Summary
Constructors Constructor Description VehicleLaneGroupTimer(core.AbstractLaneGroup lg, float outDt)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description doubleget_mean_and_clear()booleanhas_samples()voidvehicle_enter(float timestamp, core.AbstractVehicle vehicle)voidvehicle_exit(float timestamp, core.AbstractVehicle vehicle, Long link_id, Link next_link)
-
-
-
Method Detail
-
vehicle_enter
public void vehicle_enter(float timestamp, core.AbstractVehicle vehicle)
-
vehicle_exit
public void vehicle_exit(float timestamp, core.AbstractVehicle vehicle, Long link_id, Link next_link)
-
has_samples
public boolean has_samples()
-
get_mean_and_clear
public double get_mean_and_clear()
- Specified by:
get_mean_and_clearin classAbstractLaneGroupTimer
-
-