Class HeterogeneousPedestrian
-
- All Implemented Interfaces:
-
it.unibo.alchemist.model.NodeProperty
,it.unibo.alchemist.model.cognitive.PedestrianProperty
,it.unibo.alchemist.model.cognitive.RunningPedestrianProperty
,it.unibo.alchemist.model.cognitive.WalkingPedestrianProperty
,java.io.Serializable
public class HeterogeneousPedestrian<T extends Object, S extends Vector<S>, A extends Transformation<S>> extends Pedestrian<T>
A heterogeneous pedestrian's movement capability. Note: to use this capability the node must already have a HumanProperty.
-
-
Field Summary
Fields Modifier and Type Field Description private final Double
walkingSpeed
private final Double
runningSpeed
private final Node<T>
node
-
Constructor Summary
Constructors Constructor Description HeterogeneousPedestrian(RandomGenerator randomGenerator, Node<T> node)
-
Method Summary
Modifier and Type Method Description Double
getWalkingSpeed()
Double
getRunningSpeed()
String
toString()
-
-
Method Detail
-
getWalkingSpeed
Double getWalkingSpeed()
-
getRunningSpeed
Double getRunningSpeed()
-
-
-
-