Package ch.idsia.crema.preprocess
Interface ConverterQuery<F extends GenericFactor,G extends GenericFactor,IN extends GraphicalModel<F>,OUT extends GraphicalModel<G>>
-
- All Superinterfaces:
Converter<F,G,IN,OUT>
- All Known Subinterfaces:
TransformerQuery<F,M>
- All Known Implementing Classes:
RemoveBarren
public interface ConverterQuery<F extends GenericFactor,G extends GenericFactor,IN extends GraphicalModel<F>,OUT extends GraphicalModel<G>> extends Converter<F,G,IN,OUT>
Author: Claudio "Dna" Bonesana Project: crema Date: 09.03.2021 16:29A
ConverterQueryis an algorithm for pre-processing aGraphicalModeland produces a new differentGraphicalModelthat can be of a complete different type.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default OUTexecute(IN model, gnu.trove.map.TIntIntMap evidence, int query)Perform a pre-processing operation and return a new model with the modifications.OUTexecute(IN model, gnu.trove.map.TIntIntMap evidence, int... query)Perform a pre-processing operation and return a new model with the modifications.
-
-
-
Method Detail
-
execute
default OUT execute(IN model, gnu.trove.map.TIntIntMap evidence, int query)
Perform a pre-processing operation and return a new model with the modifications.- Parameters:
model- the model to be processedevidence- the observed variable as a map of variable-statesquery- the variable that will be queried- Returns:
- a new modified model
-
execute
OUT execute(IN model, gnu.trove.map.TIntIntMap evidence, int... query)
Perform a pre-processing operation and return a new model with the modifications.- Parameters:
model- the model to be processedevidence- the observed variable as a map of variable-statesquery- the variables that will be queried- Returns:
- a new modified model
-
-