cc.mallet.grmm.inference
Class AbstractBeliefPropagation.AbstractMessageStrategy

java.lang.Object
  extended by cc.mallet.grmm.inference.AbstractBeliefPropagation.AbstractMessageStrategy
All Implemented Interfaces:
AbstractBeliefPropagation.MessageStrategy
Direct Known Subclasses:
AbstractBeliefPropagation.MaxProductMessageStrategy, AbstractBeliefPropagation.SumProductMessageStrategy
Enclosing class:
AbstractBeliefPropagation

public abstract static class AbstractBeliefPropagation.AbstractMessageStrategy
extends java.lang.Object
implements AbstractBeliefPropagation.MessageStrategy


Field Summary
protected  MessageArray messages
           
protected  MessageArray oldMessages
           
 
Constructor Summary
AbstractBeliefPropagation.AbstractMessageStrategy()
           
 
Method Summary
 Factor msgProduct(Factor product, int idx, int excludeMsgFrom)
           
 void setMessageArray(MessageArray msgs, MessageArray oldMsgs)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface cc.mallet.grmm.inference.AbstractBeliefPropagation.MessageStrategy
sendMessage, sendMessage
 

Field Detail

messages

protected MessageArray messages

oldMessages

protected MessageArray oldMessages
Constructor Detail

AbstractBeliefPropagation.AbstractMessageStrategy

public AbstractBeliefPropagation.AbstractMessageStrategy()
Method Detail

setMessageArray

public void setMessageArray(MessageArray msgs,
                            MessageArray oldMsgs)
Specified by:
setMessageArray in interface AbstractBeliefPropagation.MessageStrategy

msgProduct

public Factor msgProduct(Factor product,
                         int idx,
                         int excludeMsgFrom)
Specified by:
msgProduct in interface AbstractBeliefPropagation.MessageStrategy