cc.mallet.grmm.inference
Class AbstractBeliefPropagation.SumProductMessageStrategy

java.lang.Object
  extended by cc.mallet.grmm.inference.AbstractBeliefPropagation.AbstractMessageStrategy
      extended by cc.mallet.grmm.inference.AbstractBeliefPropagation.SumProductMessageStrategy
All Implemented Interfaces:
AbstractBeliefPropagation.MessageStrategy, java.io.Serializable
Enclosing class:
AbstractBeliefPropagation

public static class AbstractBeliefPropagation.SumProductMessageStrategy
extends AbstractBeliefPropagation.AbstractMessageStrategy
implements java.io.Serializable

See Also:
Serialized Form

Field Summary
 
Fields inherited from class cc.mallet.grmm.inference.AbstractBeliefPropagation.AbstractMessageStrategy
messages, oldMessages
 
Constructor Summary
AbstractBeliefPropagation.SumProductMessageStrategy()
           
AbstractBeliefPropagation.SumProductMessageStrategy(double damping)
           
 
Method Summary
 void sendMessage(FactorGraph mdl, Factor from, Variable to)
           
 void sendMessage(FactorGraph mdl, Variable from, Factor to)
           
 
Methods inherited from class cc.mallet.grmm.inference.AbstractBeliefPropagation.AbstractMessageStrategy
msgProduct, setMessageArray
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractBeliefPropagation.SumProductMessageStrategy

public AbstractBeliefPropagation.SumProductMessageStrategy()

AbstractBeliefPropagation.SumProductMessageStrategy

public AbstractBeliefPropagation.SumProductMessageStrategy(double damping)
Method Detail

sendMessage

public void sendMessage(FactorGraph mdl,
                        Factor from,
                        Variable to)
Specified by:
sendMessage in interface AbstractBeliefPropagation.MessageStrategy

sendMessage

public void sendMessage(FactorGraph mdl,
                        Variable from,
                        Factor to)
Specified by:
sendMessage in interface AbstractBeliefPropagation.MessageStrategy