public class JunctionTree extends Object
| Constructor and Description |
|---|
JunctionTree(Graph<BayesVariable> graph,
JunctionTreeClique root,
JunctionTreeClique[] jtNodes,
JunctionTreeSeparator[] jtSeps) |
JunctionTree(Graph<BayesVariable> graph,
JunctionTreeClique root,
JunctionTreeClique[] jtNodes,
JunctionTreeSeparator[] jtSeps,
boolean init) |
| Modifier and Type | Method and Description |
|---|---|
Graph<BayesVariable> |
getGraph() |
JunctionTreeClique[] |
getJunctionTreeNodes() |
JunctionTreeSeparator[] |
getJunctionTreeSeparators() |
JunctionTreeClique |
getRoot() |
void |
multipleVarNodePotential(GraphNode<BayesVariable> varNode,
double[] potentials,
BayesVariable[] vars,
int[] multipliers) |
void |
recurseJTNodesAndInitialisePotentials(Graph graph,
JunctionTreeClique jtNode) |
void |
setJunctionTreeNodes(JunctionTreeClique[] jtNodes) |
public JunctionTree(Graph<BayesVariable> graph, JunctionTreeClique root, JunctionTreeClique[] jtNodes, JunctionTreeSeparator[] jtSeps)
public JunctionTree(Graph<BayesVariable> graph, JunctionTreeClique root, JunctionTreeClique[] jtNodes, JunctionTreeSeparator[] jtSeps, boolean init)
public Graph<BayesVariable> getGraph()
public JunctionTreeClique getRoot()
public void recurseJTNodesAndInitialisePotentials(Graph graph, JunctionTreeClique jtNode)
public void multipleVarNodePotential(GraphNode<BayesVariable> varNode, double[] potentials, BayesVariable[] vars, int[] multipliers)
public JunctionTreeClique[] getJunctionTreeNodes()
public JunctionTreeSeparator[] getJunctionTreeSeparators()
public void setJunctionTreeNodes(JunctionTreeClique[] jtNodes)
Copyright © 2001–2016 JBoss by Red Hat. All rights reserved.