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
ConverterQuery
is an algorithm for pre-processing aGraphicalModel
and produces a new differentGraphicalModel
that can be of a complete different type.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description 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.OUT
execute(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
-
-