-
- All Implemented Interfaces:
-
it.unibo.alchemist.model.interfaces.CognitivePedestrian,it.unibo.alchemist.model.interfaces.HeterogeneousPedestrian,it.unibo.alchemist.model.interfaces.Node,it.unibo.alchemist.model.interfaces.OrientingAgent,it.unibo.alchemist.model.interfaces.OrientingPedestrian,it.unibo.alchemist.model.interfaces.Pedestrian,it.unibo.alchemist.model.interfaces.Pedestrian2D,it.unibo.alchemist.model.interfaces.PhysicalNode,it.unibo.alchemist.model.interfaces.PhysicalPedestrian,it.unibo.alchemist.model.interfaces.PhysicalPedestrian2D,it.unibo.alchemist.model.interfaces.nodes.NodeWithShape,java.io.Serializable,kotlin.Comparable,kotlin.collections.Iterable,kotlin.collections.MutableIterable
public final class CognitiveOrientingPhysicalPedestrian2D<T extends Object, N extends ConvexPolygon, E extends Object> extends CognitivePhysicalPedestrian2D<T> implements OrientingPedestrian<T, Euclidean2DPosition, Euclidean2DTransformation, Ellipse, DefaultEdge>
A cognitive OrientingPedestrian2D capable of physical interactions. TODO(rename it into something like "SmartPedestrian2D"?)
-
-
Field Summary
Fields Modifier and Type Field Description private final FieldOfView2D<T>fieldOfViewprivate final PedestrianGroup<T, Euclidean2DPosition, Euclidean2DTransformation>membershipGroupprivate final GeometricShape<Euclidean2DPosition, Euclidean2DTransformation>shapeprivate final DoubleknowledgeDegreeprivate final DoublecomfortRayprivate final GeometricShape<Euclidean2DPosition, Euclidean2DTransformation>comfortAreaprivate final CognitiveModelcognitiveModelprivate final Moleculedangerprivate final Physics2DEnvironment<T>environmentprivate final HeterogeneousPedestrianModel<T, Euclidean2DPosition, Euclidean2DTransformation>pedestrianModelprivate final List<InfluenceSphere>sensesprivate final NavigationGraph<Euclidean2DPosition, Euclidean2DTransformation, Ellipse, DefaultEdge>cognitiveMapprivate final Map<ConvexGeometricShape<Euclidean2DPosition, Euclidean2DTransformation>, Integer>volatileMemory
-
Constructor Summary
-
Method Summary
-
Methods inherited from class kotlin.collections.MutableIterable
forEach, spliterator -
Methods inherited from class it.unibo.alchemist.model.implementations.nodes.AbstractCognitivePedestrian
influencialPeople -
Methods inherited from class it.unibo.alchemist.model.implementations.nodes.CognitivePhysicalPedestrian2D
repulsionForce -
Methods inherited from class it.unibo.alchemist.model.interfaces.PhysicalPedestrian2D
physicalForces -
Methods inherited from class it.unibo.alchemist.model.interfaces.OrientingPedestrian
registerVisit -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Constructor Detail
-
CognitiveOrientingPhysicalPedestrian2D
CognitiveOrientingPhysicalPedestrian2D(Incarnation<T, Euclidean2DPosition> incarnation, RandomGenerator randomGenerator, EuclideanPhysics2DEnvironmentWithGraph<?, T, N, E> environment, String nodeCreationParameter, Double knowledgeDegree, PedestrianGroup2D<T> group, String age, String gender, Molecule danger)
-
CognitiveOrientingPhysicalPedestrian2D
CognitiveOrientingPhysicalPedestrian2D(Incarnation<T, Euclidean2DPosition> incarnation, RandomGenerator randomGenerator, EuclideanPhysics2DEnvironmentWithGraph<?, T, N, E> environment, String nodeCreationParameter, Double knowledgeDegree, PedestrianGroup2D<T> group, String age, String gender)
-
CognitiveOrientingPhysicalPedestrian2D
CognitiveOrientingPhysicalPedestrian2D(Incarnation<T, Euclidean2DPosition> incarnation, RandomGenerator randomGenerator, EuclideanPhysics2DEnvironmentWithGraph<?, T, N, E> environment, String nodeCreationParameter, Double knowledgeDegree, String age, String gender)
-
CognitiveOrientingPhysicalPedestrian2D
CognitiveOrientingPhysicalPedestrian2D(Incarnation<T, Euclidean2DPosition> incarnation, RandomGenerator randomGenerator, EuclideanPhysics2DEnvironmentWithGraph<?, T, N, E> environment, Double knowledgeDegree, String age, String gender)
-
-
Method Detail
-
getFieldOfView
FieldOfView2D<T> getFieldOfView()
-
getMembershipGroup
PedestrianGroup<T, Euclidean2DPosition, Euclidean2DTransformation> getMembershipGroup()
-
getKnowledgeDegree
Double getKnowledgeDegree()
-
getComfortRay
Double getComfortRay()
-
getComfortArea
GeometricShape<Euclidean2DPosition, Euclidean2DTransformation> getComfortArea()
-
getCognitiveModel
CognitiveModel getCognitiveModel()
-
getEnvironment
final Physics2DEnvironment<T> getEnvironment()
-
getPedestrianModel
final HeterogeneousPedestrianModel<T, Euclidean2DPosition, Euclidean2DTransformation> getPedestrianModel()
-
getSenses
List<InfluenceSphere> getSenses()
-
getCognitiveMap
NavigationGraph<Euclidean2DPosition, Euclidean2DTransformation, Ellipse, DefaultEdge> getCognitiveMap()
-
getVolatileMemory
Map<ConvexGeometricShape<Euclidean2DPosition, Euclidean2DTransformation>, Integer> getVolatileMemory()
-
addReaction
Unit addReaction(Reaction<T> r)
-
getConcentration
T getConcentration(Molecule mol)
-
getContents
Map<Molecule, T> getContents()
-
getMoleculeCount
Integer getMoleculeCount()
-
getReactions
List<Reaction<T>> getReactions()
-
removeConcentration
Unit removeConcentration(Molecule mol)
-
removeReaction
Unit removeReaction(Reaction<T> r)
-
setConcentration
Unit setConcentration(Molecule mol, T c)
-
-
-
-