Class PCMDataCharacteristicsCalculator
java.lang.Object
org.palladiosimulator.dataflow.confidentiality.analysis.sequence.pcm.PCMDataCharacteristicsCalculator
-
Constructor Summary
ConstructorDescriptionPCMDataCharacteristicsCalculator
(List<DataFlowVariable> initialVariables, List<CharacteristicValue> nodeCharacteristics) Initialize Characteristic Calculator with initial variables. -
Method Summary
Modifier and TypeMethodDescriptionvoid
evaluate
(org.palladiosimulator.pcm.parameter.VariableCharacterisation variableCharacterisation) Evaluate a Variable Characterization with the current Variables and update the internal state of the characteristics calculator.Returns the list of DataFlowVariables that were calculated according to the VariableCharacterizations provided
-
Constructor Details
-
PCMDataCharacteristicsCalculator
public PCMDataCharacteristicsCalculator(List<DataFlowVariable> initialVariables, List<CharacteristicValue> nodeCharacteristics) Initialize Characteristic Calculator with initial variables. In addition the read-only container for node characteristics is created. SeecreateNodeCharacteristicsContainer(java.util.List<org.palladiosimulator.dataflow.confidentiality.analysis.sequence.entity.CharacteristicValue>)
- Parameters:
initialVariables
- DataFlowVariables of the previous ActionSequence Element
-
-
Method Details
-
evaluate
public void evaluate(org.palladiosimulator.pcm.parameter.VariableCharacterisation variableCharacterisation) Evaluate a Variable Characterization with the current Variables and update the internal state of the characteristics calculator. This method should be called for each Variable Characterization (e.g. Stoex)For easier use, the state of characteristics at a given sequence element, is managed and updated by calling this method. The final DataflowVariables for an element are accessed with
getCalculatedVariables
.- Parameters:
variableCharacterisation
- Variable Characterization at the Sequence Element
-
getCalculatedCharacteristics
Returns the list of DataFlowVariables that were calculated according to the VariableCharacterizations provided- Returns:
- List of DataFlowVariables after evaluating
-