- java.lang.Object
-
- java.lang.Enum<CCSorting.ImplicationDirection>
-
- org.logicng.cardinalityconstraints.CCSorting.ImplicationDirection
-
- All Implemented Interfaces:
Serializable,Comparable<CCSorting.ImplicationDirection>
- Enclosing class:
- CCSorting
public static enum CCSorting.ImplicationDirection extends Enum<CCSorting.ImplicationDirection>
The implication direction.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description BOTHINPUT_TO_OUTPUTOUTPUT_TO_INPUT
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static CCSorting.ImplicationDirectionvalueOf(String name)Returns the enum constant of this type with the specified name.static CCSorting.ImplicationDirection[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
INPUT_TO_OUTPUT
public static final CCSorting.ImplicationDirection INPUT_TO_OUTPUT
-
OUTPUT_TO_INPUT
public static final CCSorting.ImplicationDirection OUTPUT_TO_INPUT
-
BOTH
public static final CCSorting.ImplicationDirection BOTH
-
-
Method Detail
-
values
public static CCSorting.ImplicationDirection[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (CCSorting.ImplicationDirection c : CCSorting.ImplicationDirection.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static CCSorting.ImplicationDirection valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified nameNullPointerException- if the argument is null
-
-