edu.ucla.belief.inference
Class Messenger
Object
Messenger
public abstract class Messenger
- extends Object
- Author:
- unknown
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)
|
Messenger
public Messenger(IntGraph tree)
- Creates new AbstractJoinTreeEngine
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