Enum Class Pc.AllowBidirected

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

public static enum Pc.AllowBidirected extends Enum<Pc.AllowBidirected>
Enum representing the permission to allow or disallow bidirected edges.

This enumeration can be used to specify whether bidirectional relationships are permitted in a specific context. It provides two possible values:

  • Enum Constant Details

    • ALLOW

      public static final Pc.AllowBidirected ALLOW
      Indicates that bidirected edges are allowed.
    • DISALLOW

      public static final Pc.AllowBidirected DISALLOW
      Indicates that bidirected edges are not allowed.
  • Method Details

    • values

      public static Pc.AllowBidirected[] 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 Pc.AllowBidirected 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