Class RegularInfluence

    • Constructor Detail

      • RegularInfluence

        public RegularInfluence​(String category,
                                LevelIdentifier targetLevel,
                                SimulationTimeStamp timeLowerBound,
                                SimulationTimeStamp timeUpperBound)
        Builds a regular influence from a specific category. The reaction to this influence will be managed into a specific target level.
        Parameters:
        category - The category of the influence, as described in IInfluence.getCategory()
        targetLevel - The target level of the influence, as described in IInfluence.getTargetLevel()
        timeLowerBound - The lower bound of the transitory period during which this influence was created.
        timeUpperBound - The upper bound of the transitory period during which this influence was created.
        Throws:
        IllegalArgumentException - If one of the arguments is null.
    • Method Detail

      • isSystem

        public boolean isSystem()
        Returns false, since this influence is a non-system influence.
        Returns:
        true if the influence is a system influence.