Class BayesVariable<T>


  • public class BayesVariable<T>
    extends java.lang.Object
    • Constructor Detail

      • BayesVariable

        public BayesVariable​(java.lang.String name,
                             int id,
                             T[] outcomes,
                             double[][] probabilities)
      • BayesVariable

        public BayesVariable​(java.lang.String name,
                             int id,
                             T[] outcomes,
                             double[][] probabilities,
                             java.lang.String[] given)
    • Method Detail

      • getName

        public java.lang.String getName()
      • getId

        public int getId()
      • getProbabilityTable

        public double[][] getProbabilityTable()
      • getOutcomes

        public T[] getOutcomes()
      • getGiven

        public java.lang.String[] getGiven()
      • getFamily

        public int getFamily()
      • setFamily

        public void setFamily​(int familyIndex)
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object