Class EmptyAgtPerceptionModel
- java.lang.Object
-
- fr.univ_artois.lgi2a.similar.extendedkernel.libs.abstractimpl.AbstractAgtPerceptionModel
-
- fr.univ_artois.lgi2a.similar.extendedkernel.libs.generic.EmptyAgtPerceptionModel
-
- All Implemented Interfaces:
IAgtPerceptionModel
public final class EmptyAgtPerceptionModel extends AbstractAgtPerceptionModel
Models a perception model perceiving no data.- Author:
- Yoann Kubera
-
-
Constructor Summary
Constructors Constructor Description EmptyAgtPerceptionModel(LevelIdentifier levelIdentifier)
Creates an empty perception model, using a specific level identifier.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IPerceivedData
perceive(SimulationTimeStamp timeLowerBound, SimulationTimeStamp timeUpperBound, Map<LevelIdentifier,ILocalStateOfAgent> publicLocalStates, ILocalStateOfAgent privateLocalState, IPublicDynamicStateMap dynamicStates)
Creates the data perceived by an agent located in the level identified byIAgtPerceptionModel.getLevel()
.-
Methods inherited from class fr.univ_artois.lgi2a.similar.extendedkernel.libs.abstractimpl.AbstractAgtPerceptionModel
getLevel
-
-
-
-
Constructor Detail
-
EmptyAgtPerceptionModel
public EmptyAgtPerceptionModel(LevelIdentifier levelIdentifier)
Creates an empty perception model, using a specific level identifier.- Parameters:
levelIdentifier
- The identifier of the level for which this perception model is defined.
-
-
Method Detail
-
perceive
public IPerceivedData perceive(SimulationTimeStamp timeLowerBound, SimulationTimeStamp timeUpperBound, Map<LevelIdentifier,ILocalStateOfAgent> publicLocalStates, ILocalStateOfAgent privateLocalState, IPublicDynamicStateMap dynamicStates)
Creates the data perceived by an agent located in the level identified byIAgtPerceptionModel.getLevel()
.This method corresponds to the application perceptiona, ]t,t+dtl[, l of this agent.
- Parameters:
timeLowerBound
- Is the lower bound of the transitory period of the level identified bylevel
from which the perception is made by this agent (i.e. "t" in the notations).timeUpperBound
- Is the upper bound of the transitory period of the level identified bylevel
from which the perception is made by this agent (i.e. t+dtl in the notations).publicLocalStates
- All the public local states of the agent.privateLocalState
- The private local state of the agent in the level from which perception is made (i.e. φa-( t,level
) in the notations).dynamicStates
- The dynamic state of the various levels that can be perceived from the levellevel
. This value has previously been disambiguated by a heuristic defined in the simulation engine.- Returns:
- The data being perceived by the agent from the level identified by
level
, for the transitory period ]timeLowerBound
,timeUpperBound
[.
-
-