Options
All
  • Public
  • Public/Protected
  • All
Menu

Class VariableEliminationInferenceFactory

Uses the factory design pattern to create inference related objects for the Variable elimination algorithm. See {@link com.bayesserver.inference.IInferenceFactory} for more details.

Hierarchy

  • VariableEliminationInferenceFactory

Implements

Index

Methods

createInferenceEngine

  • Uses the factory design pattern to create inference related objects for the Variable elimination algorithm. See {@link com.bayesserver.inference.IInferenceFactory} for more details.

    Parameters

    • network: Network

      The target Bayesian network.

    Returns IInference

    The inference algorithm/engine.

createQueryOptions

  • Creates a {@link com.bayesserver.inference.variableelimination.VariableEliminationQueryOptions} instance that governs the calculations performed by the {@link com.bayesserver.inference.variableelimination.VariableEliminationInference#query} method.

    Returns IQueryOptions

    The options for use with {@link com.bayesserver.inference.variableelimination.VariableEliminationInference#query}.

createQueryOutput

  • Creates a {@link com.bayesserver.inference.variableelimination.VariableEliminationQueryOutput} instance that collects information about each {@link com.bayesserver.inference.variableelimination.VariableEliminationInference#query query}, in addition to the {@link com.bayesserver.inference.IQueryDistributionCollection distributions}.

    The output object can be created once, and reused over many calls to {@link com.bayesserver.inference.IInference#query}.

    Returns IQueryOutput

    The output instance.