Package ch.idsia.crema.preprocess
Class DuplicateModel<F extends GenericFactor>
- java.lang.Object
-
- ch.idsia.crema.preprocess.DuplicateModel<F>
-
- All Implemented Interfaces:
Converter<F,F,GraphicalModel<F>,GraphicalModel<F>>
,ConverterModel<F,F,GraphicalModel<F>,GraphicalModel<F>>
,TransformerModel<F,GraphicalModel<F>>
public class DuplicateModel<F extends GenericFactor> extends Object implements TransformerModel<F,GraphicalModel<F>>
-
-
Constructor Summary
Constructors Constructor Description DuplicateModel()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GraphicalModel<F>
execute(GraphicalModel<F> model)
Perform a pre-processing operation and return a new model with the modifications.
-
-
-
Method Detail
-
execute
public GraphicalModel<F> execute(GraphicalModel<F> model)
Description copied from interface:TransformerModel
Perform a pre-processing operation and return a new model with the modifications.- Specified by:
execute
in interfaceConverterModel<F extends GenericFactor,F extends GenericFactor,GraphicalModel<F extends GenericFactor>,GraphicalModel<F extends GenericFactor>>
- Specified by:
execute
in interfaceTransformerModel<F extends GenericFactor,GraphicalModel<F extends GenericFactor>>
- Parameters:
model
- the model to be processed- Returns:
- a new modified model
-
-