#include <bpfactor.h>
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 () |
SuperClause * | getSuperClause () |
Clause * | getClause () |
Domain * | getDomain () |
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. |
Definition at line 83 of file bpfactor.h.