Class AggregatedContextUsageModelVisitor
java.lang.Object
org.eclipse.emf.ecore.util.Switch<T>
org.palladiosimulator.pcm.usagemodel.util.UsagemodelSwitch
org.palladiosimulator.solver.visitors.UsageModelVisitor
org.palladiosimulator.solver.visitors.AggregatedContextUsageModelVisitor
Visitor that builds up the context model including the aggregated usage context.
Extends the UsageModelVisitor and adds the calculation of execution frequencies.
Uses the
AggregatedContextSEFFVisitor
instead of the SeffVisitor
.-
Field Summary
Fields inherited from class org.palladiosimulator.solver.visitors.UsageModelVisitor
logger, myContextWrapper, pcmInstance
Fields inherited from class org.palladiosimulator.pcm.usagemodel.util.UsagemodelSwitch
copyright, modelPackage
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncaseEntryLevelSystemCall
(org.palladiosimulator.pcm.usagemodel.EntryLevelSystemCall elsc) OverwritesUsageModelVisitor.caseEntryLevelSystemCall(EntryLevelSystemCall)
: Created anAggregatedContextSEFFVisitor
for visiting the next SEFF.caseScenarioBehaviour
(org.palladiosimulator.pcm.usagemodel.ScenarioBehaviour object) caseUsageModel
(org.palladiosimulator.pcm.usagemodel.UsageModel object) Methods inherited from class org.palladiosimulator.solver.visitors.UsageModelVisitor
caseBranch, caseDelay, caseLoop, caseStart, caseStop
Methods inherited from class org.palladiosimulator.pcm.usagemodel.util.UsagemodelSwitch
caseAbstractUserAction, caseBranchTransition, caseClosedWorkload, caseEntity, caseIdentifier, caseNamedElement, caseOpenWorkload, casePCMBaseClass, casePCMClass, caseUsageScenario, caseUserData, caseWorkload, defaultCase, doSwitch, isSwitchFor
-
Constructor Details
-
AggregatedContextUsageModelVisitor
-
-
Method Details
-
caseUsageModel
- Overrides:
caseUsageModel
in classorg.palladiosimulator.pcm.usagemodel.util.UsagemodelSwitch
-
caseScenarioBehaviour
ExtendsUsageModelVisitor.caseScenarioBehaviour(ScenarioBehaviour)
. Gets the frequency of the container of the object, then stores that frequency while callingUsageModelVisitor.caseScenarioBehaviour(ScenarioBehaviour)
. Finally resets the frequency for handling the next action.- Overrides:
caseScenarioBehaviour
in classUsageModelVisitor
-
caseEntryLevelSystemCall
public Object caseEntryLevelSystemCall(org.palladiosimulator.pcm.usagemodel.EntryLevelSystemCall elsc) OverwritesUsageModelVisitor.caseEntryLevelSystemCall(EntryLevelSystemCall)
: Created anAggregatedContextSEFFVisitor
for visiting the next SEFF.- Overrides:
caseEntryLevelSystemCall
in classUsageModelVisitor
-