Enum Class HybridCgCutpoints.Method

java.lang.Object
java.lang.Enum<HybridCgCutpoints.Method>
edu.cmu.tetrad.hybridcg.HybridCgCutpoints.Method
All Implemented Interfaces:
Serializable, Comparable<HybridCgCutpoints.Method>, Constable
Enclosing class:
HybridCgCutpoints

public static enum HybridCgCutpoints.Method extends Enum<HybridCgCutpoints.Method>
Represents the method used to compute and install cutpoints for continuous parents within a hybrid continuous-discrete graphical model.
  • Enum Constant Details

    • EQUAL_INTERVALS

      public static final HybridCgCutpoints.Method EQUAL_INTERVALS
      Divides the range of data into bins of equal size.
    • EQUAL_FREQUENCY

      public static final HybridCgCutpoints.Method EQUAL_FREQUENCY
      Divides the data into bins such that each bin contains an approximately equal number of data points.
  • Method Details

    • values

      public static HybridCgCutpoints.Method[] 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

      public static HybridCgCutpoints.Method valueOf(String name)
      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 name
      NullPointerException - if the argument is null