|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.encog.ml.bayesian.BayesianChoice
public class BayesianChoice
A choice in a Bayesian network. Choices can be either discrete or continuous. For continuous choices the number must be made discrete by mapping it to discrete ranges.
| Constructor Summary | |
|---|---|
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. |
|
| Method Summary | |
|---|---|
int |
compareTo(BayesianChoice other)
|
String |
getLabel()
|
double |
getMax()
|
double |
getMin()
|
boolean |
isIndex()
|
String |
toFullString()
|
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
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.| Method Detail |
|---|
public String getLabel()
public double getMin()
public double getMax()
public boolean isIndex()
public String toString()
toString in class Objectpublic String toFullString()
public int compareTo(BayesianChoice other)
compareTo in interface Comparable<BayesianChoice>
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||