cc.mallet.grmm.inference.gbp
Class SparseMessageSender

java.lang.Object
  extended by cc.mallet.grmm.inference.gbp.AbstractMessageStrategy
      extended by cc.mallet.grmm.inference.gbp.SparseMessageSender
All Implemented Interfaces:
MessageStrategy

public class SparseMessageSender
extends AbstractMessageStrategy

Created: Jun 1, 2005

Version:
$Id: SparseMessageSender.java,v 1.1 2007/10/22 21:37:58 mccallum Exp $
Author:
Field Summary
 
Fields inherited from class cc.mallet.grmm.inference.gbp.AbstractMessageStrategy
newMessages, oldMessages
 
Constructor Summary
SparseMessageSender(double epsilon)
           
 
Method Summary
 cc.mallet.grmm.inference.gbp.MessageArray averageMessages(cc.mallet.grmm.inference.gbp.RegionGraph rg, cc.mallet.grmm.inference.gbp.MessageArray a1, cc.mallet.grmm.inference.gbp.MessageArray a2, double inertiaWeight)
           
 void sendMessage(cc.mallet.grmm.inference.gbp.RegionEdge edge)
           
 
Methods inherited from class cc.mallet.grmm.inference.gbp.AbstractMessageStrategy
getNewMessages, getOldMessages, setMessageArray
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SparseMessageSender

public SparseMessageSender(double epsilon)
Method Detail

sendMessage

public void sendMessage(cc.mallet.grmm.inference.gbp.RegionEdge edge)

averageMessages

public cc.mallet.grmm.inference.gbp.MessageArray averageMessages(cc.mallet.grmm.inference.gbp.RegionGraph rg,
                                                                 cc.mallet.grmm.inference.gbp.MessageArray a1,
                                                                 cc.mallet.grmm.inference.gbp.MessageArray a2,
                                                                 double inertiaWeight)