Class Perceptive
-
- All Implemented Interfaces:
-
it.unibo.alchemist.model.NodeProperty
,it.unibo.alchemist.model.cognitive.PerceptiveProperty
,java.io.Serializable
public final class Perceptive<T extends Object> extends AbstractNodeProperty<T> implements PerceptiveProperty<T>
Base implementation of a pedestrian's capability to influence each other.
-
-
Field Summary
Fields Modifier and Type Field Description private final Node<T>
node
private final InfluenceSphere<T>
fieldOfView
private final Map<String, InfluenceSphere<T>>
senses
-
Constructor Summary
Constructors Constructor Description Perceptive(Node<T> node, InfluenceSphere<T> fieldOfView)
-
Method Summary
Modifier and Type Method Description Node<T>
getNode()
InfluenceSphere<T>
getFieldOfView()
The field of view of the pedestrian. Perceptive<T>
cloneOnNewNode(Node<T> node)
-
-
Constructor Detail
-
Perceptive
Perceptive(Node<T> node, InfluenceSphere<T> fieldOfView)
-
-
Method Detail
-
getFieldOfView
InfluenceSphere<T> getFieldOfView()
The field of view of the pedestrian.
-
cloneOnNewNode
Perceptive<T> cloneOnNewNode(Node<T> node)
-
-
-
-