Class ExtendedEnvironment

    • Method Detail

      • getNaturalModelForLevel

        public IEnvNaturalModel getNaturalModelForLevel​(LevelIdentifier levelId)
        Gets the model of the natural action of the environment from that level.
        Parameters:
        levelId - The identifier of the level.
        Returns:
        The model of the natural action of the environment from that level.
        Throws:
        NoSuchElementException - If no natural model is defined for that environment for the level identified by levelId.
      • specifyBehaviorForLevel

        public void specifyBehaviorForLevel​(LevelIdentifier levelId,
                                            IEnvNaturalModel naturalMdl)
        Specifies the behavior of the environment from the specified level.
        Parameters:
        levelId - The identifier of the level for which a behavior is defined.
        naturalMdl - The model of the natural action of the environment from that level.
        Throws:
        IllegalArgumentException - If an argument is null or has an invalid value.
      • natural

        public void natural​(LevelIdentifier level,
                            SimulationTimeStamp timeLowerBound,
                            SimulationTimeStamp timeUpperBound,
                            Map<LevelIdentifier,​ILocalStateOfEnvironment> publicLocalStates,
                            ILocalStateOfEnvironment privateLocalState,
                            IPublicDynamicStateMap dynamicStates,
                            InfluencesMap producedInfluences)
        Models the natural action of the environment on the simulation, from a specific level.

        This method models the application natural]t,t+dtl[,l from the theory of SIMILAR.

        Parameters:
        level - The level from which the natural action of the environment is made (i.e. "l" in the notations).
        timeLowerBound - Is the lower bound of the transitory period of the level identified by level from which the natural action of the environment is made (i.e. "t" in the notations).
        timeUpperBound - Is the upper bound of the transitory period of the level identified by level from which the natural action of the environment is made (i.e. t+dtl in the notations).
        publicLocalStates - All the public local states of the environment.
        privateLocalState - The private local state of the environment in the level from which perception is made (i.e. φω-( t, level ) in the notations).
        dynamicStates - The dynamic state of the various levels that can be perceived from the level level. This value has previously been disambiguated by a heuristic defined in the simulation engine.
        producedInfluences - The map where the influences resulting from the natural action are stored.