Package edu.cmu.tetrad.hybridcg
Enum Class HybridCgCutpoints.Method
- All Implemented Interfaces:
Serializable,Comparable<HybridCgCutpoints.Method>,Constable
- Enclosing class:
HybridCgCutpoints
Represents the method used to compute and install cutpoints for continuous parents within a hybrid
continuous-discrete graphical model.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionDivides the data into bins such that each bin contains an approximately equal number of data points.Divides the range of data into bins of equal size. -
Method Summary
Modifier and TypeMethodDescriptionstatic HybridCgCutpoints.MethodReturns the enum constant of this class with the specified name.static HybridCgCutpoints.Method[]values()Returns an array containing the constants of this enum class, in the order they are declared.Methods inherited from class java.lang.Enum
compareTo, describeConstable, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
-
Enum Constant Details
-
EQUAL_INTERVALS
Divides the range of data into bins of equal size. -
EQUAL_FREQUENCY
Divides the data into bins such that each bin contains an approximately equal number of data points.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-