Class StretchedUsageEvolver

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

    public class StretchedUsageEvolver
    extends PeriodicallyTriggeredUsageEvolver
    Encapsulates a Usage evolver that stretches the DLIM curve to the simulation time.
    • Constructor Detail

      • StretchedUsageEvolver

        public StretchedUsageEvolver​(AbstractSimuLizarRuntimeState rtState,
                                     double firstOccurrence,
                                     double delay,
                                     org.palladiosimulator.pcm.usagemodel.UsageScenario evolvedScenario)
        Creates the stretching usage evolver.
        Parameters:
        rtState - The SimuLizar runtime state.
        firstOccurrence - The first point in time at which the usage evolution should be executed.
        delay - The repeating interval in which usage evolution should be executed.
        evolvedScenario - The scenario evolved by this.
    • Method Detail

      • getNewRate

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