org.encog.ml.bayesian
public class BayesianChoice extends Object implements Serializable, Comparable<BayesianChoice>
Constructor and Description |
---|
BayesianChoice(String label,
double min,
double max)
Construct a continuous choice that covers the specified range.
|
BayesianChoice(String label,
int index)
Construct a discrete choice for the specified index.
|
public BayesianChoice(String label, double min, double max)
label
- The label for this choice.min
- The minimum value for this range.max
- The maximum value for this range.public BayesianChoice(String label, int index)
label
- The label for this choice.index
- The index for this choice.public String getLabel()
public double getMin()
public double getMax()
public boolean isIndex()
public String toFullString()
public int compareTo(BayesianChoice other)
compareTo
in interface Comparable<BayesianChoice>
Copyright © 2014. All Rights Reserved.