|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcc.mallet.grmm.inference.AbstractInferencer
cc.mallet.grmm.inference.AbstractBeliefPropagation
cc.mallet.grmm.inference.TreeBP
public class TreeBP
Implements the tree-based schedule of belief propagation for exact inference in trees. Can be used either for sum-product or max-product.
Do not use the Created: Feb 1, 2006
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class cc.mallet.grmm.inference.AbstractBeliefPropagation |
|---|
AbstractBeliefPropagation.AbstractMessageStrategy, AbstractBeliefPropagation.MaxProductMessageStrategy, AbstractBeliefPropagation.MessageStrategy, AbstractBeliefPropagation.SumProductMessageStrategy |
| Field Summary |
|---|
| Fields inherited from class cc.mallet.grmm.inference.AbstractBeliefPropagation |
|---|
assignedVertexPtls, iterUsed, logger, mdlCurrent, normalizeBeliefs, useCaching |
| Constructor Summary | |
|---|---|
TreeBP()
|
|
| Method Summary | |
|---|---|
void |
computeMarginals(FactorGraph fg)
Computes marginal distributions for a factor graph. |
static TreeBP |
createForMaxProduct()
|
protected void |
initForGraph(FactorGraph fg)
|
| Methods inherited from class cc.mallet.grmm.inference.AbstractBeliefPropagation |
|---|
copyOldMessages, doneWithGraph, dump, dump, getMessager, getMessagesSent, getMessagesUsedLastTime, getTotalMessagesSent, hasConverged, hasConverged, iterationsUsed, lookupLogJoint, lookupMarginal, lookupMarginal, reportTime, resetMessagesSentAtStart, sendMessage, sendMessage, setMessager |
| Methods inherited from class cc.mallet.grmm.inference.AbstractInferencer |
|---|
duplicate, lookupJoint, query |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public TreeBP()
| Method Detail |
|---|
public static TreeBP createForMaxProduct()
public void computeMarginals(FactorGraph fg)
Inferencer
computeMarginals in interface InferencercomputeMarginals in class AbstractInferencerprotected void initForGraph(FactorGraph fg)
initForGraph in class AbstractBeliefPropagation
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||