ls
Class CreateCliqueTree
java.lang.Object
|
+--ls.CreateCliqueTree
- Direct Known Subclasses:
- CreateCliqueTreeParallel
- public class CreateCliqueTree
- extends java.lang.Object
This class is responsible for creating the permenant tree of Cliques so
that the permenant tree can then be passed onto the next portion of the
module.
|
Constructor Summary |
CreateCliqueTree()
|
CreateCliqueTree(java.lang.Object nodeManager)
This takes in the Bayesian Network from the Viewer and set's it
equal to our Bayesian network. |
|
Method Summary |
void |
build()
THis builds the permentant tree of cliques |
java.util.Vector |
getAll()
|
java.lang.Object |
getCliqueTree()
|
void |
go()
|
void |
moralize()
In this function all of the parents in the graph are married. |
void |
triangulate()
This function is responsible for triangulating the graph |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CreateCliqueTree
public CreateCliqueTree()
CreateCliqueTree
public CreateCliqueTree(java.lang.Object nodeManager)
- This takes in the Bayesian Network from the Viewer and set's it
equal to our Bayesian network.
- Parameters:
bn - the bayesian network
go
public void go()
moralize
public void moralize()
- In this function all of the parents in the graph are married.
triangulate
public void triangulate()
- This function is responsible for triangulating the graph
build
public void build()
- THis builds the permentant tree of cliques
getCliqueTree
public java.lang.Object getCliqueTree()
getAll
public java.util.Vector getAll()