Class BayesVariable<T>


  • public class BayesVariable<T>
    extends Object
    • 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)