BPFactor Class Reference

Stores all relevant information about a node attached to a factor. More...

#include <bpfactor.h>

List of all members.

Public Member Functions

 BPFactor (Clause *const &clause, SuperClause *const &superClause, Array< int > *const &constants, Domain *const &domain, double outputWt)
 ~BPFactor ()
void initFactorMesssages ()
int getSuperClauseId ()
int getParentSuperClauseId ()
SuperClausegetSuperClause ()
ClausegetClause ()
DomaingetDomain ()
Array< int > * getConstants ()
int getNumLinks ()
void getMessage (int index, double msgs[])
void addLink (BPLink *link, double inpMsgs[2])
void receiveMessage (double *inpMsgs, BPLink *link)
 Stores the message sent over a particular link.
double * multiplyMessagesAndSumOut (int predIndex)
void sendMessage ()
void moveToNextStep ()
ostream & print (ostream &out)
 Prints the factor as its variables separated by "/".
ostream & printWts (ostream &out)
 Prints the weighted features for all states of the variables.


Detailed Description

Stores all relevant information about a node attached to a factor.

Definition at line 83 of file bpfactor.h.


The documentation for this class was generated from the following files:
Generated on Sun Jun 7 11:55:22 2009 for Alchemy by  doxygen 1.5.1