Class LoopingUsageEvolver
- 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.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.
-
-
Field Summary
-
Fields inherited from class org.palladiosimulator.simulizar.usagemodel.PeriodicallyTriggeredUsageEvolver
deltaTime, evolvedScenarioId, rtState
-
-
Constructor Summary
Constructors Constructor Description LoopingUsageEvolver(AbstractSimuLizarRuntimeState rtState, double firstOccurrence, double delay, org.palladiosimulator.pcm.usagemodel.UsageScenario evolvedScenario, double simulationTimeOffset)
Constructs the looping usage evolver.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected double
getNewRate(tools.descartes.dlim.generator.ModelEvaluator evaluator)
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
-
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 classPeriodicallyTriggeredUsageEvolver
- Parameters:
evaluator
- The DLIM evaluator used for the evaluation.- Returns:
- The new Usage or workload parameter characterization.
-
-