Class DiscreteVariableType

java.lang.Object
edu.cmu.tetrad.data.DiscreteVariableType
All Implemented Interfaces:
TetradSerializable, Serializable

public final class DiscreteVariableType extends Object implements TetradSerializable
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.
Author:
josephramsey
See Also:
  • Field Details

  • Method Details

    • serializableInstance

      public static DiscreteVariableType serializableInstance()
      Generates a simple exemplar of this class to test serialization.
    • toString

      public String toString()
      Prints out the name of the type.
      Overrides:
      toString in class Object