edu.ucla.belief.inference
Class Messenger

Object
  extended by Messenger

public abstract class Messenger
extends Object

Author:
unknown

Constructor Summary
Messenger(IntGraph tree)
          Creates new AbstractJoinTreeEngine
 
Method Summary
 void collect(int vertex)
          Performs a collect evidence on the specified vertex.
 void distribute(int vertex)
          Performs a distribute evidence on the specified vertex.
 void invalidate(int vertex)
           
 void invalidateAll()
           
 boolean isValid(int from, int to)
           
 
Methods inherited from class Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Messenger

public Messenger(IntGraph tree)
Creates new AbstractJoinTreeEngine

Method Detail

collect

public void collect(int vertex)
Performs a collect evidence on the specified vertex. This results in calling message(i,j) for all of the incoming edges which are invalid, which may recursively pull evidence from farther nodes.


distribute

public void distribute(int vertex)
Performs a distribute evidence on the specified vertex. This results in calling message(i,j) for all out going edges which are invalid. This will continue recursively.


isValid

public boolean isValid(int from,
                       int to)

invalidate

public void invalidate(int vertex)

invalidateAll

public void invalidateAll()


Copyright 2010 UCLA Automated Reasoning Group