Drools :: Beliefs 6.2.0.CR3

org.drools.beliefs.bayes
Class BayesVariable<T>

java.lang.Object
  extended by org.drools.beliefs.bayes.BayesVariable<T>

public class BayesVariable<T>
extends Object


Constructor Summary
BayesVariable(String name, int id, T[] outcomes, double[][] probabilities)
           
BayesVariable(String name, int id, T[] outcomes, double[][] probabilities, String[] given)
           
 
Method Summary
 BayesVariableState createState()
           
 int getFamily()
           
 String[] getGiven()
           
 int getId()
           
 String getName()
           
 T[] getOutcomes()
           
 double[][] getProbabilityTable()
           
 void setFamily(int familyIndex)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

BayesVariable

public BayesVariable(String name,
                     int id,
                     T[] outcomes,
                     double[][] probabilities)

BayesVariable

public BayesVariable(String name,
                     int id,
                     T[] outcomes,
                     double[][] probabilities,
                     String[] given)
Method Detail

getName

public String getName()

getId

public int getId()

getProbabilityTable

public double[][] getProbabilityTable()

getOutcomes

public T[] getOutcomes()

getGiven

public String[] getGiven()

getFamily

public int getFamily()

setFamily

public void setFamily(int familyIndex)

createState

public BayesVariableState createState()

toString

public String toString()
Overrides:
toString in class Object

Drools :: Beliefs 6.2.0.CR3

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