Class FCCDecoderExtension
java.lang.Object
edu.kit.ipd.are.dsexplore.featurecompletions.weaver.extensions.FCCDecoderExtension
- All Implemented Interfaces:
IDecodeExtension
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidStart the decoding process.Get new choices which might be produced during decoding.voidgrabChoices(List<Choice> notTransformedChoices) Grab choices which belong to this module (delete them from the list, and save it in the module).voidIndicates the start of a new decoding.voidpostProcessing(List<Choice> notTransformedChoices, org.palladiosimulator.solver.models.PCMInstance pcm) At the end of the decoding this method will be invoked by PerOpteryx.
-
Constructor Details
-
FCCDecoderExtension
-
-
Method Details
-
nextDecodeStart
public void nextDecodeStart()Description copied from interface:IDecodeExtensionIndicates the start of a new decoding.- Specified by:
nextDecodeStartin interfaceIDecodeExtension
-
grabChoices
Description copied from interface:IDecodeExtensionGrab choices which belong to this module (delete them from the list, and save it in the module). (Especially iff the choices cannot interpreted by the 'plain' PerOpteryx.)- Specified by:
grabChoicesin interfaceIDecodeExtension- Parameters:
notTransformedChoices- the list of not transformed choices
-
decode
Description copied from interface:IDecodeExtensionStart the decoding process.- Specified by:
decodein interfaceIDecodeExtension- Parameters:
pcm- a pointer to the PCMInstance. You are allowed to create a new one for further work.
-
getChoices
Description copied from interface:IDecodeExtensionGet new choices which might be produced during decoding.- Specified by:
getChoicesin interfaceIDecodeExtension- Returns:
- a list of new choices
-
postProcessing
public void postProcessing(List<Choice> notTransformedChoices, org.palladiosimulator.solver.models.PCMInstance pcm) Description copied from interface:IDecodeExtensionAt the end of the decoding this method will be invoked by PerOpteryx.- Specified by:
postProcessingin interfaceIDecodeExtension- Parameters:
notTransformedChoices- the remaining choicespcm- the finalPCMInstance
-