Class StretchedUsageEvolver
- java.lang.Object
-
- de.uka.ipd.sdq.simulation.abstractsimengine.SimulationElement
-
- de.uka.ipd.sdq.simulation.abstractsimengine.AbstractSimEntityDelegator
-
- de.uka.ipd.sdq.simucomframework.entities.SimuComEntity
-
- org.palladiosimulator.simulizar.simulationevents.PeriodicallyTriggeredSimulationEntity
-
- org.palladiosimulator.simulizar.usagemodel.PeriodicallyTriggeredUsageEvolver
-
- org.palladiosimulator.simulizar.usagemodel.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.
-
-
Field Summary
-
Fields inherited from class org.palladiosimulator.simulizar.usagemodel.PeriodicallyTriggeredUsageEvolver
deltaTime, evolvedScenarioId, rtState
-
-
Constructor Summary
Constructors Constructor Description StretchedUsageEvolver(AbstractSimuLizarRuntimeState rtState, double firstOccurrence, double delay, org.palladiosimulator.pcm.usagemodel.UsageScenario evolvedScenario)
Creates the stretching usage evolver.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected double
getNewRate(tools.descartes.dlim.generator.ModelEvaluator loadEvaluator)
Get the new rate of the Usage or workload parameter characterization.-
Methods inherited from class org.palladiosimulator.simulizar.usagemodel.PeriodicallyTriggeredUsageEvolver
evolveLoad, evolveWork, getCorrespondingUsage, getCurrentTime, getDLIMFinalDuration, getLoadEvaluator, getWorkEvaluators, stop, triggerInternal
-
Methods inherited from class org.palladiosimulator.simulizar.simulationevents.PeriodicallyTriggeredSimulationEntity
getSimulationTimeOfNextEventTrigger, removeEvent, setDelayAndReinitialize, stopScheduling, trigger
-
-
-
-
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 bythis
.
-
-
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 classPeriodicallyTriggeredUsageEvolver
- Parameters:
loadEvaluator
- The DLIM evaluator used for the evaluation.- Returns:
- The new Usage or workload parameter characterization.
-
-