Quantum Fog  0.9.3
Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
inference.InferenceEngine.InferenceEngine Class Reference
Inheritance diagram for inference.InferenceEngine.InferenceEngine:
Inheritance graph
[legend]

Public Member Functions

def __init__ (self, bnet, do_print=False, is_quantum=False)
 

Static Public Member Functions

def print_annotated_story (annotated_story)
 

Public Attributes

 bnet
 
 do_print
 
 is_quantum
 

Detailed Description

This is the parent class of all inference engines.

Attributes
----------
bnet : BayesNet
do_print : bool
is_quantum : bool

Constructor & Destructor Documentation

def inference.InferenceEngine.InferenceEngine.__init__ (   self,
  bnet,
  do_print = False,
  is_quantum = False 
)
Constructor

Parameters
----------
bnet : BayesNet
do_print : bool
is_quantum : bool

Returns
-------

Member Function Documentation

def inference.InferenceEngine.InferenceEngine.print_annotated_story (   annotated_story)
static
Prints in a pretty way an annotated story, which is a dictionary
mapping all nodes to their current state.

Parameters
----------
annotated_story : dict(BayesNode, int)

Returns
-------

The documentation for this class was generated from the following file: