Class StretchedUsageEvolver

java.lang.Object
de.uka.ipd.sdq.simulation.abstractsimengine.SimpleEventBasedSimEntity
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 Details

    • StretchedUsageEvolver

      @AssistedInject public StretchedUsageEvolver(@Assisted double firstOccurrence, @Assisted double delay, @Assisted EntityReference<org.palladiosimulator.pcm.usagemodel.UsageScenario> evolvedScenario, @Named("maxSimTime") Optional<Double> maxSimTime, org.palladiosimulator.analyzer.workflow.blackboard.PCMResourceSetPartition pcmPartition, de.uka.ipd.sdq.simulation.abstractsimengine.ISimEventFactory simEventFactory, de.uka.ipd.sdq.simulation.abstractsimengine.ISimulationTimeProvider timeProvider)
      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 Details

    • 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.