AnyLogic
Expand
Font size
All Superinterfaces:
Serializable

public interface PedFlowStatisticsDataSource
extends Serializable

Method Summary

Modifier and TypeMethodDescription
longcountPeds()
Returns total number of pedestrians passed through this line
doubleintensity()
Returns the average pedestrian flow intensity on the line, measured in pedestrians per hour per meter
voidreset()
Resets the average traffic and intensity.
doubletraffic()
Returns the average of traffic flow statistics through the line, measured in pedestrians per hour

Method Details

traffic

double traffic()
Returns the average of traffic flow statistics through the line, measured in pedestrians per hour
Returns:
the traffic, pedestrians per hour

intensity

double intensity()
Returns the average pedestrian flow intensity on the line, measured in pedestrians per hour per meter
Returns:
the intensity, pedestrians per hour per meter

reset

void reset()
Resets the average traffic and intensity.

countPeds

long countPeds()
Returns total number of pedestrians passed through this line
Returns:
total number of pedestrians passed through this line