Documentation of 'org.encog.ml.bayesian.parse.ParsedChoice' Java class
ParsedChoice
org.encog.ml.bayesian.parse

Class ParsedChoice



  • public class ParsedChoice
    extends java.lang.Object
    A parsed choice.
    • Constructor Summary

      Constructors 
      Constructor and Description
      ParsedChoice(java.lang.String label, double min, double max)
      Construct a continuous choice, with a min and max.
      ParsedChoice(java.lang.String label, int index)
      Construct a discrete value for this choice.
    • Constructor Detail

      • ParsedChoice

        public ParsedChoice(java.lang.String label,
                            double min,
                            double max)
        Construct a continuous choice, with a min and max.
        Parameters:
        label - The label, for this chocie.
        min - The min value, for this choice.
        max - The max value, for this choice.
      • ParsedChoice

        public ParsedChoice(java.lang.String label,
                            int index)
        Construct a discrete value for this choice.
        Parameters:
        label - The choice label.
        index - The index.
    • Method Detail

      • getLabel

        public java.lang.String getLabel()
        Returns:
        The label.
      • getMin

        public double getMin()
        Returns:
        The min value.
      • getMax

        public double getMax()
        Returns:
        The max value.
      • isIndex

        public boolean isIndex()
        Returns:
        True, if this choice is indexed, or discrete.
      • toString

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

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.