edu::tum::cs::bayesnets::inference::BeliefPropagation Class Reference

Inheritance diagram for edu::tum::cs::bayesnets::inference::BeliefPropagation:
Inheritance graph
[legend]

List of all members.

Classes

class  BeliefMessageContainer

Public Member Functions

 BeliefPropagation (BeliefNetworkEx bn) throws Exception
void computeLambda (BeliefNode n)
void computePi (BeliefNode n, int[] nodeDomainIndices)
String getAlgorithmName ()

Protected Member Functions

SampledDistribution _infer () throws Exception
void computePi (BeliefNode n, Vector< Integer > varsToSumOver, int i, int[] nodeDomainIndices, MutableDouble sum)

Protected Attributes

HashMap< BeliefNode, double[]> lambda
HashMap< BeliefNode,
BeliefMessageContainer
messages
BeliefNode[] nodes
HashMap< BeliefNode, double[]> pi
HashMap< BeliefNode, double[]> priors
int[] topOrder

Detailed Description

(iterative/loopy) belief propagation

Author:
waldhers

Definition at line 14 of file BeliefPropagation.java.


Constructor & Destructor Documentation

edu::tum::cs::bayesnets::inference::BeliefPropagation::BeliefPropagation ( BeliefNetworkEx  bn  )  throws Exception [inline]

Definition at line 215 of file BeliefPropagation.java.


Member Function Documentation

SampledDistribution edu::tum::cs::bayesnets::inference::BeliefPropagation::_infer (  )  throws Exception [inline, protected, virtual]
void edu::tum::cs::bayesnets::inference::BeliefPropagation::computeLambda ( BeliefNode  n  )  [inline]

Definition at line 196 of file BeliefPropagation.java.

void edu::tum::cs::bayesnets::inference::BeliefPropagation::computePi ( BeliefNode  n,
Vector< Integer >  varsToSumOver,
int  i,
int[]  nodeDomainIndices,
MutableDouble  sum 
) [inline, protected]

Definition at line 179 of file BeliefPropagation.java.

void edu::tum::cs::bayesnets::inference::BeliefPropagation::computePi ( BeliefNode  n,
int[]  nodeDomainIndices 
) [inline]

Definition at line 154 of file BeliefPropagation.java.

String edu::tum::cs::bayesnets::inference::BeliefPropagation::getAlgorithmName (  )  [inline]

Reimplemented from edu::tum::cs::bayesnets::inference::Sampler.

Definition at line 226 of file BeliefPropagation.java.


Member Data Documentation

HashMap<BeliefNode,double[]> edu::tum::cs::bayesnets::inference::BeliefPropagation::lambda [protected]

Definition at line 18 of file BeliefPropagation.java.

Definition at line 20 of file BeliefPropagation.java.

Reimplemented from edu::tum::cs::bayesnets::inference::Sampler.

Definition at line 16 of file BeliefPropagation.java.

HashMap<BeliefNode,double[]> edu::tum::cs::bayesnets::inference::BeliefPropagation::pi [protected]

Definition at line 19 of file BeliefPropagation.java.

HashMap<BeliefNode,double[]> edu::tum::cs::bayesnets::inference::BeliefPropagation::priors [protected]

Definition at line 21 of file BeliefPropagation.java.

Definition at line 17 of file BeliefPropagation.java.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Enumerations


srldb
Author(s): Dominik Jain, Stefan Waldherr, Moritz Tenorth
autogenerated on Fri Jan 11 09:58:37 2013