Package de.uka.ipd.sdq.dsexplore.facade
Interface IDecodeExtension
- All Known Implementing Classes:
FCCDecoderExtension
public interface IDecodeExtension
Extension part of
IModule
. This part will be during the decode
process of the model.-
Method Summary
Modifier and TypeMethodDescriptionvoid
Start the decoding process.Get new choices which might be produced during decoding.void
grabChoices
(List<Choice> notTransformedChoices) Grab choices which belong to this module (delete them from the list, and save it in the module).void
Indicates the start of a new decoding.void
postProcessing
(List<Choice> notTransformedChoices, org.palladiosimulator.solver.models.PCMInstance pcm) At the end of the decoding this method will be invoked by PerOpteryx.
-
Method Details
-
nextDecodeStart
void nextDecodeStart()Indicates the start of a new decoding. -
grabChoices
Grab 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.)- Parameters:
notTransformedChoices
- the list of not transformed choices
-
decode
Start the decoding process.- Parameters:
pcm
- a pointer to the PCMInstance. You are allowed to create a new one for further work.
-
getChoices
Get new choices which might be produced during decoding.- Returns:
- a list of new choices
-
postProcessing
void postProcessing(List<Choice> notTransformedChoices, org.palladiosimulator.solver.models.PCMInstance pcm) At the end of the decoding this method will be invoked by PerOpteryx.- Parameters:
notTransformedChoices
- the remaining choicespcm
- the finalPCMInstance
-