public class JunctionTree extends Object implements org.kie.api.internal.assembler.ProcessedResource
Constructor and Description |
---|
JunctionTree(Graph<BayesVariable> graph,
JunctionTreeClique root,
JunctionTreeClique[] jtNodes,
JunctionTreeSeparator[] jtSeps) |
JunctionTree(org.kie.api.io.Resource resource,
String namespace,
String name,
Graph<BayesVariable> graph,
JunctionTreeClique root,
JunctionTreeClique[] jtNodes,
JunctionTreeSeparator[] jtSeps) |
JunctionTree(org.kie.api.io.Resource resource,
String namespace,
String name,
Graph<BayesVariable> graph,
JunctionTreeClique root,
JunctionTreeClique[] jtNodes,
JunctionTreeSeparator[] jtSeps,
boolean init) |
Modifier and Type | Method and Description |
---|---|
Graph<BayesVariable> |
getGraph() |
JunctionTreeClique[] |
getJunctionTreeNodes() |
JunctionTreeSeparator[] |
getJunctionTreeSeparators() |
String |
getName() |
String |
getNamespace() |
org.kie.api.io.Resource |
getResource() |
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(org.kie.api.io.Resource resource, String namespace, String name, Graph<BayesVariable> graph, JunctionTreeClique root, JunctionTreeClique[] jtNodes, JunctionTreeSeparator[] jtSeps)
public JunctionTree(org.kie.api.io.Resource resource, String namespace, String name, 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)
public String getNamespace()
getNamespace
in interface org.kie.api.internal.assembler.ProcessedResource
public org.kie.api.io.Resource getResource()
getResource
in interface org.kie.api.internal.assembler.ProcessedResource
public String getName()
getName
in interface org.kie.api.internal.assembler.ProcessedResource
Copyright © 2001–2020 JBoss by Red Hat. All rights reserved.