Enum Class PcCommon.PcHeuristicType

java.lang.Object
java.lang.Enum<PcCommon.PcHeuristicType>
edu.cmu.tetrad.search.utils.PcCommon.PcHeuristicType
All Implemented Interfaces:
Serializable, Comparable<PcCommon.PcHeuristicType>, Constable
Enclosing class:
PcCommon

public static enum PcCommon.PcHeuristicType extends Enum<PcCommon.PcHeuristicType>
The PC heuristic type, where this is taken from Causation, Prediction, and Search.

NONE = no heuristic, PC-1 = sort nodes alphabetically; PC-1 = sort edges by p-value; PC-3 = additionally sort edges in reverse order using p-values of associated independence facts. See this reference:

Spirtes, P., Glymour, C. N., & Scheines, R. (2000). Causation, prediction, and search. MIT press.

  • Enum Constant Details

  • Method Details

    • values

      public static PcCommon.PcHeuristicType[] 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 PcCommon.PcHeuristicType 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