![]() |
Quantum Fog
0.9.3
|

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 | |
This is the parent class of all inference engines. Attributes ---------- bnet : BayesNet do_print : bool is_quantum : bool
| def inference.InferenceEngine.InferenceEngine.__init__ | ( | self, | |
| bnet, | |||
do_print = False, |
|||
is_quantum = False |
|||
| ) |
Constructor Parameters ---------- bnet : BayesNet do_print : bool is_quantum : bool Returns -------
|
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 -------
1.8.11