Drools :: Beliefs 6.2.0.CR4

org.drools.beliefs.bayes
Class JunctionTree

java.lang.Object
  extended by org.drools.beliefs.bayes.JunctionTree

public class JunctionTree
extends Object


Constructor Summary
JunctionTree(Graph<BayesVariable> graph, JunctionTreeClique root, JunctionTreeClique[] jtNodes, JunctionTreeSeparator[] jtSeps)
           
JunctionTree(Graph<BayesVariable> graph, JunctionTreeClique root, JunctionTreeClique[] jtNodes, JunctionTreeSeparator[] jtSeps, boolean init)
           
 
Method Summary
 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)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JunctionTree

public JunctionTree(Graph<BayesVariable> graph,
                    JunctionTreeClique root,
                    JunctionTreeClique[] jtNodes,
                    JunctionTreeSeparator[] jtSeps)

JunctionTree

public JunctionTree(Graph<BayesVariable> graph,
                    JunctionTreeClique root,
                    JunctionTreeClique[] jtNodes,
                    JunctionTreeSeparator[] jtSeps,
                    boolean init)
Method Detail

getGraph

public Graph<BayesVariable> getGraph()

getRoot

public JunctionTreeClique getRoot()

recurseJTNodesAndInitialisePotentials

public void recurseJTNodesAndInitialisePotentials(Graph graph,
                                                  JunctionTreeClique jtNode)

multipleVarNodePotential

public void multipleVarNodePotential(GraphNode<BayesVariable> varNode,
                                     double[] potentials,
                                     BayesVariable[] vars,
                                     int[] multipliers)

getJunctionTreeNodes

public JunctionTreeClique[] getJunctionTreeNodes()

getJunctionTreeSeparators

public JunctionTreeSeparator[] getJunctionTreeSeparators()

setJunctionTreeNodes

public void setJunctionTreeNodes(JunctionTreeClique[] jtNodes)

Drools :: Beliefs 6.2.0.CR4

Copyright © 2001-2015 JBoss by Red Hat. All Rights Reserved.