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
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
Fields inherited from interface de.uka.ipd.sdq.simulation.abstractsimengine.IEntity
NULL
-
Constructor Summary
ConstructorDescriptionLoopingUsageEvolver
(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
Modifier and TypeMethodDescriptionprotected 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
Methods inherited from class de.uka.ipd.sdq.simulation.abstractsimengine.SimpleEventBasedSimEntity
activate, getNextOccurence, isScheduled, reschedule, unschedule
-
Constructor Details
-
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 Details
-
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.
-