Package org.palladiosimulator.pcm.core
Interface PCMRandomVariable
- All Superinterfaces:
org.eclipse.emf.cdo.CDOObject
,org.eclipse.emf.cdo.common.id.CDOWithID
,EObject
,Notifier
,PCMBaseClass
,PCMClass
,de.uka.ipd.sdq.stoex.RandomVariable
- All Known Implementing Classes:
PCMRandomVariableImpl
,PCMRandomVariableImplGen
A representation of the model object 'PCM Random Variable'.
Random variables are used to describe user and component behaviour. They allow not only constant values (e.g., 3 loop iterations), but also probabilistic values (e.g., 2 loop iterations with a probability of 0.4 and 3 loop iterations with a probability of 0.6). They are well-suited for capturing uncertainty when modelling systems during early development stages. Examples where developers may use random variables are:
- Characterisations of Input Parameters: Describes the QoS relevant characteristics of parameters of component services.
- Inter-Arrival Time: Describes how much time passes between the arrival of two subsequent users.
- Think Time: Describes how much time passes between the execution of a user scenario and the start of the next execution of this scenario.
- Loop Iteration Count: Describes the number of repetitions of a loop.
- Guarded Branch Transitions: Used to determine whether to conditionally execute a certain behaviour.
PCMRandomVariable extends RandomVariable in a way, that the only type of variables available in the PCMRandomVariable are references to variable characterisations like a.NUMBER_OF_ELEMENTS. The corresponding editors ensure that the user can enter only valid expressions.
The following features are supported:
Closed Workload PCM Random Variable
Passive Resource capacity PCM Random Variable
Variable Characterisation Specification
Infrastructure Call PCM Random Variable
Resource Call PCM Random Variable
Parametric Resource Demand PCM Random Variable
Loop Action PCM Random Variable
Guarded Branch Transition PCM Random Variable
Specified Execution Time PCM Random Variable
Event Channel Sink Connector Filter Condition
Assembly Event Connector Filter Condition
Loop Loop Iteration
Open Workload PCM Random Variable
Delay Time Specification
Communication Link Resource Specifcation throughput PCM Random Variable
Processing Resource Specification processing Rate PCM Random Variable
Communication Link Resource Specification latency PCM Random Variable
- See Also:
- Generated class or method.
- EMF model class or method.
- annotation="http://www.eclipse.org/emf/2002/Ecore constraints='specificationMustNotBeNULL'" annotation="http://www.eclipse.org/emf/2002/Ecore/OCL/LPG specificationMustNotBeNULL='not self.specification.oclIsUndefined() and self.specification <> \'\''"
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionReturns the value of the 'Assembly Event Connector Filter Condition' container reference.Returns the value of the 'Closed Workload PCM Random Variable' container reference.Returns the value of the 'Communication Link Resource Specifcation throughput PCM Random Variable' container reference.Returns the value of the 'Communication Link Resource Specification latency PCM Random Variable' container reference.Returns the value of the 'Delay Time Specification' container reference.Returns the value of the 'Event Channel Sink Connector Filter Condition' container reference.Returns the value of the 'Guarded Branch Transition PCM Random Variable' container reference.Returns the value of the 'Infrastructure Call PCM Random Variable' container reference.Returns the value of the 'Loop Loop Iteration' container reference.Returns the value of the 'Loop Action PCM Random Variable' container reference.Returns the value of the 'Open Workload PCM Random Variable' container reference.Returns the value of the 'Parametric Resource Demand PCM Random Variable' container reference.Returns the value of the 'Passive Resource capacity PCM Random Variable' container reference.Returns the value of the 'Processing Resource Specification processing Rate PCM Random Variable' container reference.Returns the value of the 'Resource Call PCM Random Variable' container reference.Returns the value of the 'Specified Execution Time PCM Random Variable' container reference.Returns the value of the 'Variable Characterisation Specification' container reference.void
Sets the value of the 'Assembly Event Connector Filter Condition
' container reference.void
Sets the value of the 'Closed Workload PCM Random Variable
' container reference.void
setCommunicationLinkResourceSpecifcation_throughput_PCMRandomVariable
(CommunicationLinkResourceSpecification value) Sets the value of the 'Communication Link Resource Specifcation throughput PCM Random Variable
' container reference.void
setCommunicationLinkResourceSpecification_latency_PCMRandomVariable
(CommunicationLinkResourceSpecification value) Sets the value of the 'Communication Link Resource Specification latency PCM Random Variable
' container reference.void
setDelay_TimeSpecification
(Delay value) Sets the value of the 'Delay Time Specification
' container reference.void
Sets the value of the 'Event Channel Sink Connector Filter Condition
' container reference.void
Sets the value of the 'Guarded Branch Transition PCM Random Variable
' container reference.void
Sets the value of the 'Infrastructure Call PCM Random Variable
' container reference.void
setLoop_LoopIteration
(Loop value) Sets the value of the 'Loop Loop Iteration
' container reference.void
Sets the value of the 'Loop Action PCM Random Variable
' container reference.void
Sets the value of the 'Open Workload PCM Random Variable
' container reference.void
Sets the value of the 'Parametric Resource Demand PCM Random Variable
' container reference.void
Sets the value of the 'Passive Resource capacity PCM Random Variable
' container reference.void
setProcessingResourceSpecification_processingRate_PCMRandomVariable
(ProcessingResourceSpecification value) Sets the value of the 'Processing Resource Specification processing Rate PCM Random Variable
' container reference.void
Sets the value of the 'Resource Call PCM Random Variable
' container reference.void
Sets the value of the 'Specified Execution Time PCM Random Variable
' container reference.void
Sets the value of the 'Variable Characterisation Specification
' container reference.Methods inherited from interface org.eclipse.emf.cdo.CDOObject
cdoConflict, cdoDirectResource, cdoHistory, cdoID, cdoInvalid, cdoLockState, cdoPermission, cdoPrefetch, cdoReadLock, cdoReload, cdoResource, cdoRevision, cdoRevision, cdoState, cdoView, cdoWriteLock, cdoWriteOption
Methods inherited from interface org.eclipse.emf.ecore.EObject
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnset
Methods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
Methods inherited from interface de.uka.ipd.sdq.stoex.RandomVariable
getExpression, getSpecification, setSpecification
-
Field Details
-
copyright
- See Also:
- Generated class or method.
-
-
Method Details
-
getClosedWorkload_PCMRandomVariable
ClosedWorkload getClosedWorkload_PCMRandomVariable()Returns the value of the 'Closed Workload PCM Random Variable' container reference. It is bidirectional and its opposite is 'Think Time Closed Workload
'.- Returns:
- the value of the 'Closed Workload PCM Random Variable' container reference.
- See Also:
- Generated class or method.
- EMF model class or method.
- opposite="thinkTime_ClosedWorkload" transient="false" ordered="false"
-
setClosedWorkload_PCMRandomVariable
Sets the value of the 'Closed Workload PCM Random Variable
' container reference.- Parameters:
value
- the new value of the 'Closed Workload PCM Random Variable' container reference.- See Also:
- Generated class or method.
-
getPassiveResource_capacity_PCMRandomVariable
PassiveResource getPassiveResource_capacity_PCMRandomVariable()Returns the value of the 'Passive Resource capacity PCM Random Variable' container reference. It is bidirectional and its opposite is 'Capacity Passive Resource
'.- Returns:
- the value of the 'Passive Resource capacity PCM Random Variable' container reference.
- See Also:
- Generated class or method.
- EMF model class or method.
- opposite="capacity_PassiveResource" transient="false" ordered="false"
-
setPassiveResource_capacity_PCMRandomVariable
Sets the value of the 'Passive Resource capacity PCM Random Variable
' container reference.- Parameters:
value
- the new value of the 'Passive Resource capacity PCM Random Variable' container reference.- See Also:
- Generated class or method.
-
getVariableCharacterisation_Specification
VariableCharacterisation getVariableCharacterisation_Specification()Returns the value of the 'Variable Characterisation Specification' container reference. It is bidirectional and its opposite is 'Specification Variable Characterisation
'.- Returns:
- the value of the 'Variable Characterisation Specification' container reference.
- See Also:
- Generated class or method.
- EMF model class or method.
- opposite="specification_VariableCharacterisation" transient="false" ordered="false"
-
setVariableCharacterisation_Specification
Sets the value of the 'Variable Characterisation Specification
' container reference.- Parameters:
value
- the new value of the 'Variable Characterisation Specification' container reference.- See Also:
- Generated class or method.
-
getInfrastructureCall__PCMRandomVariable
InfrastructureCall getInfrastructureCall__PCMRandomVariable()Returns the value of the 'Infrastructure Call PCM Random Variable' container reference. It is bidirectional and its opposite is 'Number Of Calls Infrastructure Call
'.- Returns:
- the value of the 'Infrastructure Call PCM Random Variable' container reference.
- See Also:
- Generated class or method.
- EMF model class or method.
- opposite="numberOfCalls__InfrastructureCall" transient="false" ordered="false"
-
setInfrastructureCall__PCMRandomVariable
Sets the value of the 'Infrastructure Call PCM Random Variable
' container reference.- Parameters:
value
- the new value of the 'Infrastructure Call PCM Random Variable' container reference.- See Also:
- Generated class or method.
-
getResourceCall__PCMRandomVariable
ResourceCall getResourceCall__PCMRandomVariable()Returns the value of the 'Resource Call PCM Random Variable' container reference. It is bidirectional and its opposite is 'Number Of Calls Resource Call
'.- Returns:
- the value of the 'Resource Call PCM Random Variable' container reference.
- See Also:
- Generated class or method.
- EMF model class or method.
- opposite="numberOfCalls__ResourceCall" transient="false" ordered="false"
-
setResourceCall__PCMRandomVariable
Sets the value of the 'Resource Call PCM Random Variable
' container reference.- Parameters:
value
- the new value of the 'Resource Call PCM Random Variable' container reference.- See Also:
- Generated class or method.
-
getParametricResourceDemand_PCMRandomVariable
ParametricResourceDemand getParametricResourceDemand_PCMRandomVariable()Returns the value of the 'Parametric Resource Demand PCM Random Variable' container reference. It is bidirectional and its opposite is 'Specification Parameteric Resource Demand
'.- Returns:
- the value of the 'Parametric Resource Demand PCM Random Variable' container reference.
- See Also:
- Generated class or method.
- EMF model class or method.
- opposite="specification_ParametericResourceDemand" transient="false" ordered="false"
-
setParametricResourceDemand_PCMRandomVariable
Sets the value of the 'Parametric Resource Demand PCM Random Variable
' container reference.- Parameters:
value
- the new value of the 'Parametric Resource Demand PCM Random Variable' container reference.- See Also:
- Generated class or method.
-
getLoopAction_PCMRandomVariable
LoopAction getLoopAction_PCMRandomVariable()Returns the value of the 'Loop Action PCM Random Variable' container reference. It is bidirectional and its opposite is 'Iteration Count Loop Action
'.- Returns:
- the value of the 'Loop Action PCM Random Variable' container reference.
- See Also:
- Generated class or method.
- EMF model class or method.
- opposite="iterationCount_LoopAction" transient="false" ordered="false"
-
setLoopAction_PCMRandomVariable
Sets the value of the 'Loop Action PCM Random Variable
' container reference.- Parameters:
value
- the new value of the 'Loop Action PCM Random Variable' container reference.- See Also:
- Generated class or method.
-
getGuardedBranchTransition_PCMRandomVariable
GuardedBranchTransition getGuardedBranchTransition_PCMRandomVariable()Returns the value of the 'Guarded Branch Transition PCM Random Variable' container reference. It is bidirectional and its opposite is 'Branch Condition Guarded Branch Transition
'.- Returns:
- the value of the 'Guarded Branch Transition PCM Random Variable' container reference.
- See Also:
- Generated class or method.
- EMF model class or method.
- opposite="branchCondition_GuardedBranchTransition" transient="false" ordered="false"
-
setGuardedBranchTransition_PCMRandomVariable
Sets the value of the 'Guarded Branch Transition PCM Random Variable
' container reference.- Parameters:
value
- the new value of the 'Guarded Branch Transition PCM Random Variable' container reference.- See Also:
- Generated class or method.
-
getSpecifiedExecutionTime_PCMRandomVariable
SpecifiedExecutionTime getSpecifiedExecutionTime_PCMRandomVariable()Returns the value of the 'Specified Execution Time PCM Random Variable' container reference. It is bidirectional and its opposite is 'Specification Specified Execution Time
'.- Returns:
- the value of the 'Specified Execution Time PCM Random Variable' container reference.
- See Also:
- Generated class or method.
- EMF model class or method.
- opposite="specification_SpecifiedExecutionTime" transient="false" ordered="false"
-
setSpecifiedExecutionTime_PCMRandomVariable
Sets the value of the 'Specified Execution Time PCM Random Variable
' container reference.- Parameters:
value
- the new value of the 'Specified Execution Time PCM Random Variable' container reference.- See Also:
- Generated class or method.
-
getEventChannelSinkConnector__FilterCondition
EventChannelSinkConnector getEventChannelSinkConnector__FilterCondition()Returns the value of the 'Event Channel Sink Connector Filter Condition' container reference. It is bidirectional and its opposite is 'Filter Condition Event Channel Sink Connector
'.- Returns:
- the value of the 'Event Channel Sink Connector Filter Condition' container reference.
- See Also:
- Generated class or method.
- EMF model class or method.
- opposite="filterCondition__EventChannelSinkConnector" transient="false" ordered="false"
-
setEventChannelSinkConnector__FilterCondition
Sets the value of the 'Event Channel Sink Connector Filter Condition
' container reference.- Parameters:
value
- the new value of the 'Event Channel Sink Connector Filter Condition' container reference.- See Also:
- Generated class or method.
-
getAssemblyEventConnector__FilterCondition
AssemblyEventConnector getAssemblyEventConnector__FilterCondition()Returns the value of the 'Assembly Event Connector Filter Condition' container reference. It is bidirectional and its opposite is 'Filter Condition Assembly Event Connector
'.- Returns:
- the value of the 'Assembly Event Connector Filter Condition' container reference.
- See Also:
- Generated class or method.
- EMF model class or method.
- opposite="filterCondition__AssemblyEventConnector" transient="false" ordered="false"
-
setAssemblyEventConnector__FilterCondition
Sets the value of the 'Assembly Event Connector Filter Condition
' container reference.- Parameters:
value
- the new value of the 'Assembly Event Connector Filter Condition' container reference.- See Also:
- Generated class or method.
-
getLoop_LoopIteration
Loop getLoop_LoopIteration()Returns the value of the 'Loop Loop Iteration' container reference. It is bidirectional and its opposite is 'Loop Iteration Loop
'.- Returns:
- the value of the 'Loop Loop Iteration' container reference.
- See Also:
- Generated class or method.
- EMF model class or method.
- opposite="loopIteration_Loop" transient="false" ordered="false"
-
setLoop_LoopIteration
Sets the value of the 'Loop Loop Iteration
' container reference.- Parameters:
value
- the new value of the 'Loop Loop Iteration' container reference.- See Also:
- Generated class or method.
-
getOpenWorkload_PCMRandomVariable
OpenWorkload getOpenWorkload_PCMRandomVariable()Returns the value of the 'Open Workload PCM Random Variable' container reference. It is bidirectional and its opposite is 'Inter Arrival Time Open Workload
'.- Returns:
- the value of the 'Open Workload PCM Random Variable' container reference.
- See Also:
- Generated class or method.
- EMF model class or method.
- opposite="interArrivalTime_OpenWorkload" transient="false" ordered="false"
-
setOpenWorkload_PCMRandomVariable
Sets the value of the 'Open Workload PCM Random Variable
' container reference.- Parameters:
value
- the new value of the 'Open Workload PCM Random Variable' container reference.- See Also:
- Generated class or method.
-
getDelay_TimeSpecification
Delay getDelay_TimeSpecification()Returns the value of the 'Delay Time Specification' container reference. It is bidirectional and its opposite is 'Time Specification Delay
'.- Returns:
- the value of the 'Delay Time Specification' container reference.
- See Also:
- Generated class or method.
- EMF model class or method.
- opposite="timeSpecification_Delay" transient="false" ordered="false"
-
setDelay_TimeSpecification
Sets the value of the 'Delay Time Specification
' container reference.- Parameters:
value
- the new value of the 'Delay Time Specification' container reference.- See Also:
- Generated class or method.
-
getCommunicationLinkResourceSpecifcation_throughput_PCMRandomVariable
CommunicationLinkResourceSpecification getCommunicationLinkResourceSpecifcation_throughput_PCMRandomVariable()Returns the value of the 'Communication Link Resource Specifcation throughput PCM Random Variable' container reference. It is bidirectional and its opposite is 'Throughput Communication Link Resource Specification
'.- Returns:
- the value of the 'Communication Link Resource Specifcation throughput PCM Random Variable' container reference.
- See Also:
-
setCommunicationLinkResourceSpecifcation_throughput_PCMRandomVariable(CommunicationLinkResourceSpecification)
CorePackage.getPCMRandomVariable_CommunicationLinkResourceSpecifcation_throughput_PCMRandomVariable()
CommunicationLinkResourceSpecification.getThroughput_CommunicationLinkResourceSpecification()
- Generated class or method.
- EMF model class or method.
- opposite="throughput_CommunicationLinkResourceSpecification" transient="false" ordered="false"
-
setCommunicationLinkResourceSpecifcation_throughput_PCMRandomVariable
void setCommunicationLinkResourceSpecifcation_throughput_PCMRandomVariable(CommunicationLinkResourceSpecification value) Sets the value of the 'Communication Link Resource Specifcation throughput PCM Random Variable
' container reference.- Parameters:
value
- the new value of the 'Communication Link Resource Specifcation throughput PCM Random Variable' container reference.- See Also:
- Generated class or method.
-
getProcessingResourceSpecification_processingRate_PCMRandomVariable
ProcessingResourceSpecification getProcessingResourceSpecification_processingRate_PCMRandomVariable()Returns the value of the 'Processing Resource Specification processing Rate PCM Random Variable' container reference. It is bidirectional and its opposite is 'Processing Rate Processing Resource Specification
'.- Returns:
- the value of the 'Processing Resource Specification processing Rate PCM Random Variable' container reference.
- See Also:
- Generated class or method.
- EMF model class or method.
- opposite="processingRate_ProcessingResourceSpecification" transient="false" ordered="false"
-
setProcessingResourceSpecification_processingRate_PCMRandomVariable
void setProcessingResourceSpecification_processingRate_PCMRandomVariable(ProcessingResourceSpecification value) Sets the value of the 'Processing Resource Specification processing Rate PCM Random Variable
' container reference.- Parameters:
value
- the new value of the 'Processing Resource Specification processing Rate PCM Random Variable' container reference.- See Also:
- Generated class or method.
-
getCommunicationLinkResourceSpecification_latency_PCMRandomVariable
CommunicationLinkResourceSpecification getCommunicationLinkResourceSpecification_latency_PCMRandomVariable()Returns the value of the 'Communication Link Resource Specification latency PCM Random Variable' container reference. It is bidirectional and its opposite is 'Latency Communication Link Resource Specification
'.- Returns:
- the value of the 'Communication Link Resource Specification latency PCM Random Variable' container reference.
- See Also:
- Generated class or method.
- EMF model class or method.
- opposite="latency_CommunicationLinkResourceSpecification" transient="false" ordered="false"
-
setCommunicationLinkResourceSpecification_latency_PCMRandomVariable
void setCommunicationLinkResourceSpecification_latency_PCMRandomVariable(CommunicationLinkResourceSpecification value) Sets the value of the 'Communication Link Resource Specification latency PCM Random Variable
' container reference.- Parameters:
value
- the new value of the 'Communication Link Resource Specification latency PCM Random Variable' container reference.- See Also:
- Generated class or method.
-