Class LoopingUsageEvolver

  • All Implemented Interfaces:
    de.uka.ipd.sdq.simulation.abstractsimengine.IEntity

    public class LoopingUsageEvolver
    extends PeriodicallyTriggeredUsageEvolver
    Looping usage evolver. Assumes that the time unit of the DLIM sequence and simulation are equivalent. Repeats the DLIM sequence once its end has been reached.
    • Constructor Detail

      • LoopingUsageEvolver

        public LoopingUsageEvolver​(AbstractSimuLizarRuntimeState rtState,
                                   double firstOccurrence,
                                   double delay,
                                   org.palladiosimulator.pcm.usagemodel.UsageScenario evolvedScenario,
                                   double simulationTimeOffset)
        Constructs the looping usage evolver.
        Parameters:
        rtState - SimuLizar runtime state.
        firstOccurrence - First point in time at which the evolver should evolve the load.
        delay - The interval in which the evolver should evolve the load.
        evolvedScenario - The evolved scenario.
        simulationTimeOffset -
    • Method Detail

      • getNewRate

        protected double getNewRate​(tools.descartes.dlim.generator.ModelEvaluator evaluator)
        Description copied from class: PeriodicallyTriggeredUsageEvolver
        Get the new rate of the Usage or workload parameter characterization.
        Specified by:
        getNewRate in class PeriodicallyTriggeredUsageEvolver
        Parameters:
        evaluator - The DLIM evaluator used for the evaluation.
        Returns:
        The new Usage or workload parameter characterization.