Enum Class VertexRepairSearch.RepairStrategy

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

public static enum VertexRepairSearch.RepairStrategy extends Enum<VertexRepairSearch.RepairStrategy>
Which repair sweep strategy to use.
Author:
josephramsey (extracted from VertexRepairPanelGlobalRepair)
  • Enum Constant Details

    • LOCAL_SWEEP

      public static final VertexRepairSearch.RepairStrategy LOCAL_SWEEP
      Represents the local sweep strategy for repairs. This strategy focuses on performing repairs in a localized manner, targeting specific areas or regions as needed.
    • GLOBAL_QUEUE

      public static final VertexRepairSearch.RepairStrategy GLOBAL_QUEUE
      Represents the global queue strategy for repairs. This strategy uses a global queue to manage and coordinate the repair process.
  • Method Details

    • values

      public static VertexRepairSearch.RepairStrategy[] 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 VertexRepairSearch.RepairStrategy 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
    • toString

      public String toString()
      Overrides:
      toString in class Enum<VertexRepairSearch.RepairStrategy>