Class LoopingUsageEvolver
- java.lang.Object
-
- de.uka.ipd.sdq.simulation.abstractsimengine.SimpleEventBasedSimEntity
-
- 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
evolvedScenario
-
-
Constructor Summary
Constructors Constructor Description LoopingUsageEvolver(double firstOccurrence, double delay, double simulationTimeOffset, EntityReference<org.palladiosimulator.pcm.usagemodel.UsageScenario> evolvedScenario, org.palladiosimulator.analyzer.workflow.blackboard.PCMResourceSetPartition pcmPartition, de.uka.ipd.sdq.simulation.abstractsimengine.ISimEventFactory simEventFactory, de.uka.ipd.sdq.simulation.abstractsimengine.ISimulationTimeProvider timeProvider)
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
entityRoutine, getSimulationTimeOfNextEventTrigger, setDelay, stopScheduling
-
-
-
-
Constructor Detail
-
LoopingUsageEvolver
@AssistedInject public LoopingUsageEvolver(@Assisted double firstOccurrence, @Assisted double delay, @Assisted double simulationTimeOffset, @Assisted EntityReference<org.palladiosimulator.pcm.usagemodel.UsageScenario> evolvedScenario, org.palladiosimulator.analyzer.workflow.blackboard.PCMResourceSetPartition pcmPartition, de.uka.ipd.sdq.simulation.abstractsimengine.ISimEventFactory simEventFactory, de.uka.ipd.sdq.simulation.abstractsimengine.ISimulationTimeProvider timeProvider)
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.
-
-