Package edu.cmu.tetrad.data
Class DiscreteVariableType
java.lang.Object
edu.cmu.tetrad.data.DiscreteVariableType
- All Implemented Interfaces:
TetradSerializable
,Serializable
Type-safe enum of discrete variable types. A nominal discrete variable is one in which the categories are in no
particular order. An ordinal discrete variable is one in which the categories in a particular order. An indexical
discrete variable is an ordinal discrete variable for which relative distances between categories can be specified.
- Version:
- $Id: $Id
- Author:
- josephramsey
- See Also:
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic DiscreteVariableType
Generates a simple exemplar of this class to test serialization.toString()
Prints out the name of the type.
-
Field Details
-
NOMINAL
ConstantNOMINAL
-
-
Method Details
-
serializableInstance
Generates a simple exemplar of this class to test serialization.- Returns:
- a
DiscreteVariableType
object
-
toString
-