public class MessagePassing
extends java.lang.Object
| Constructor and Description |
|---|
MessagePassing() |
| Modifier and Type | Method and Description |
|---|---|
static void |
calculateAllStateOfVertex(java.util.List<JunctionTreeCell> junctionTree)
This method call the method which calculate the state of one vertex on every existing vertex in order to get the full vertex problem.
|
static void |
messagePassingAllVertexProblem(java.util.List<JunctionTreeCell> junctionTree)
The GDL can be scheduled fully serially, in which case each message is sent
only once, and each state is computed only once.
|
static void |
realCalculationAllStateOfVertex(java.util.List<JunctionTreeCell> junctionTree)
This method check if the user want to perform the real calculations after the simplification by the message passing algorithm.
|
static void |
recursiveMessagePassingSingleVextexProblem(JunctionTreeCell cell)
Please read the Chapter III of the "The Generalized Distributive Law"
of Aji & McEliece for further understanding.
|
public static void recursiveMessagePassingSingleVextexProblem(JunctionTreeCell cell)
cell - The designated cell, the one which will calculate it state of
vertexpublic static void calculateAllStateOfVertex(java.util.List<JunctionTreeCell> junctionTree)
junctionTree - the junction tree on which the all vertices problem message passing algorithm must be run.public static void messagePassingAllVertexProblem(java.util.List<JunctionTreeCell> junctionTree)
public static void realCalculationAllStateOfVertex(java.util.List<JunctionTreeCell> junctionTree)
junctionTree - the junction tree in which all the calculations must be done