public static enum LatticeOntologySolver.ConstraintType extends java.lang.Enum<LatticeOntologySolver.ConstraintType>
Enum Constant and Description |
---|
EQUALS
Represents that the two sides must be equal.
|
NONE
Represents that there is no constraint between the two sides.
|
SINK_GE_SOURCE
Represents that the sink must be ≥ the source.
|
SOURCE_GE_SINK
Represents that the source must be ≥ the sink.
|
Modifier and Type | Method and Description |
---|---|
static LatticeOntologySolver.ConstraintType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static LatticeOntologySolver.ConstraintType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LatticeOntologySolver.ConstraintType EQUALS
public static final LatticeOntologySolver.ConstraintType NONE
public static final LatticeOntologySolver.ConstraintType SINK_GE_SOURCE
public static final LatticeOntologySolver.ConstraintType SOURCE_GE_SINK
public static LatticeOntologySolver.ConstraintType[] values()
for (LatticeOntologySolver.ConstraintType c : LatticeOntologySolver.ConstraintType.values()) System.out.println(c);
public static LatticeOntologySolver.ConstraintType valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null