Enum Class RecursiveAdjustment.ColliderPolicy
java.lang.Object
java.lang.Enum<RecursiveAdjustment.ColliderPolicy>
edu.cmu.tetrad.search.RecursiveAdjustment.ColliderPolicy
- All Implemented Interfaces:
Serializable, Comparable<RecursiveAdjustment.ColliderPolicy>, Constable
- Enclosing class:
RecursiveAdjustment
public static enum RecursiveAdjustment.ColliderPolicy
extends Enum<RecursiveAdjustment.ColliderPolicy>
Represents the policy to be used for handling collisions in a specific context. This enumeration defines the
various strategies that can be applied when determining how to prioritize or handle collision scenarios.
-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionSpecifies a policy where non-colliding entities or scenarios are given strict priority in collision-handling decisions.Represents a configuration where collisions are ignored or not considered.Denotes a policy where preference is given to non-colliding entities or scenarios in the context of collision handling. -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.static RecursiveAdjustment.ColliderPolicy[]values()Returns an array containing the constants of this enum class, in the order they are declared.Methods inherited from class Enum
compareTo, describeConstable, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
-
Enum Constant Details
-
OFF
Represents a configuration where collisions are ignored or not considered. Selecting this option implies that no specific action will be taken to handle collision scenarios. -
PREFER_NONCOLLIDERS
Denotes a policy where preference is given to non-colliding entities or scenarios in the context of collision handling. When this policy is selected, strategies prioritize non-colliding elements over others during decision-making processes. -
NONCOLLIDER_FIRST
Specifies a policy where non-colliding entities or scenarios are given strict priority in collision-handling decisions. Under this policy, non-colliding elements are always handled first before considering other entities in collision-related processes.
-
-
Method Details
-
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
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 nameNullPointerException- if the argument is null
-