Interface ConverterQuery<F extends GenericFactor,​G extends GenericFactor,​IN extends GraphicalModel<F>,​OUT extends GraphicalModel<G>>

    • 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 processed
        evidence - the observed variable as a map of variable-states
        query - 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 processed
        evidence - the observed variable as a map of variable-states
        query - the variables that will be queried
        Returns:
        a new modified model