Class SystemInfluence

    • Constructor Detail

      • SystemInfluence

        public SystemInfluence​(String category,
                               LevelIdentifier targetLevel,
                               SimulationTimeStamp timeLowerBound,
                               SimulationTimeStamp timeUpperBound)
        Builds a system 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 true, since this influence is a system influence.
        Returns:
        true if the influence is a system influence.