Class FCCWeaver
java.lang.Object
edu.kit.ipd.are.dsexplore.featurecompletions.weaver.FCCWeaver
This class represents the entry point for weaving feature completions into
PCM models. All further actions are delegated to the corresponding weaving
strategy (depending on the inclusion mechanism).
-
Field Summary
-
Constructor Summary
ConstructorDescriptionFCCWeaver
(de.uka.ipd.sdq.workflow.mdsd.blackboard.MDSDBlackboard blackboard, List<org.palladiosimulator.pcm.repository.Repository> solutions, CostRepository costModel) -
Method Summary
Modifier and TypeMethodDescriptionReturns the actual choices for FCC allocation.org.palladiosimulator.analyzer.workflow.blackboard.PCMResourceSetPartition
org.palladiosimulator.pcm.system.System
List<org.palladiosimulator.pcm.repository.Repository>
org.palladiosimulator.solver.models.PCMInstance
getWeavedInstance
(org.palladiosimulator.solver.models.PCMInstance pcmToAdopt) Returns the weaved PCM instance according to the extracted choices and set inclusion mechanism.void
grabChoices
(List<Choice> notTransformedChoices) Extracts feature completion specific choices for solution and allocation from dofs.void
Resets choices and weaving strategy for next weaving iteration.
-
Field Details
-
ADAPTER_NAME
- See Also:
-
CONCERN_REPOSITORY_NAME
- See Also:
-
CONCERN_REPSITORY_DESCRIPTION
- See Also:
-
-
Constructor Details
-
FCCWeaver
public FCCWeaver(de.uka.ipd.sdq.workflow.mdsd.blackboard.MDSDBlackboard blackboard, List<org.palladiosimulator.pcm.repository.Repository> solutions, CostRepository costModel)
-
-
Method Details
-
nextDecodeStart
public void nextDecodeStart()Resets choices and weaving strategy for next weaving iteration. -
grabChoices
Extracts feature completion specific choices for solution and allocation from dofs. Delegates all further choices to corresponding weaving strategy.- Parameters:
notTransformedChoices
- all choices.
-
getWeavedInstance
public org.palladiosimulator.solver.models.PCMInstance getWeavedInstance(org.palladiosimulator.solver.models.PCMInstance pcmToAdopt) Returns the weaved PCM instance according to the extracted choices and set inclusion mechanism.- Parameters:
pcmToAdopt
- the PCM instance to be adopted.- Returns:
- the weaved PCM instance.
-
getConvertedFCCClassChoices
Returns the actual choices for FCC allocation. This can be done after the FCCs have been waved.- Returns:
- the actual choices for FCC allocation.
-
getSolutionRepositories
-
getInclusionMechanism
-
getInitialSystem
public org.palladiosimulator.pcm.system.System getInitialSystem() -
getInitialPartition
public org.palladiosimulator.analyzer.workflow.blackboard.PCMResourceSetPartition getInitialPartition()
-