Class NodeType

java.lang.Object
edu.cmu.tetrad.graph.NodeType
All Implemented Interfaces:
TetradSerializable, Serializable

public final class NodeType extends Object implements TetradSerializable
A typesafe enum of the types of the types of nodes in a graph (MEASURED, LATENT, ERROR).
Author:
josephramsey
See Also:
  • Field Details

    • MEASURED

      public static final NodeType MEASURED
    • LATENT

      public static final NodeType LATENT
    • ERROR

      public static final NodeType ERROR
    • SESSION

      public static final NodeType SESSION
    • RANDOMIZE

      public static final NodeType RANDOMIZE
    • LOCK

      public static final NodeType LOCK
    • NO_TYPE

      public static final NodeType NO_TYPE
    • TYPES

      public static final NodeType[] TYPES
  • Method Details

    • serializableInstance

      public static NodeType 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