Quantum Fog  0.9.3
Public Member Functions | Public Attributes | List of all members
PBNT.Distribution.ConditionalDiscreteDistribution Class Reference
Inheritance diagram for PBNT.Distribution.ConditionalDiscreteDistribution:
Inheritance graph
[legend]
Collaboration diagram for PBNT.Distribution.ConditionalDiscreteDistribution:
Collaboration graph
[legend]

Public Member Functions

def __init__ (self, nodes=[], table=[])
 
def size (self)
 
def __eq__ (self, other)
 
def __deepcopy__ (self, memo)
 
- Public Member Functions inherited from PBNT.Distribution.Potential
def __init__ (self, nodes, table=[], default=1)
 
def marginalize (self, other)
 
def normalize (self)
 
def generate_index_node (self, index, nodes)
 
def generate_index (self, index, axis)
 
def transpose (self, nodes)
 
def transpose_copy (self, nodes)
 
def __eq__ (self, other)
 
def __getitem__ (self, index)
 
def __setitem__ (self, index, value)
 
def __add__ (self, right)
 
def __iadd__ (self, right)
 
def __mul__ (self, right)
 
def __imul__ (self, right)
 
def __rmul__ (self, other)
 
def __truediv__ (self, other)
 
def __idiv__ (self, other)
 
def __deepcopy__ (self, memo)
 

Public Attributes

 node
 
- Public Attributes inherited from PBNT.Distribution.Potential
 nodes
 
 dims
 
 table
 
 nDims
 

Detailed Description

This is very similar to a potential, except that ConditionalDiscreteDistributions are focused on a single variable and its value conditioned on other variables.

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