Class CommonConstraints
- java.lang.Object
-
- elki.utilities.optionhandling.constraints.CommonConstraints
-
public final class CommonConstraints extends java.lang.Object
Class storing a number of very common constraints.- Since:
- 0.6.0
- Author:
- Erich Schubert
-
-
Field Summary
-
Constructor Summary
Constructors Modifier Constructor Description private
CommonConstraints()
Utility class, do not instantiate!
-
-
-
Field Detail
-
GREATER_EQUAL_MINUSONE_INT
public static final AbstractNumberConstraint GREATER_EQUAL_MINUSONE_INT
Integer constraint: >= -1
-
GREATER_EQUAL_ZERO_INT
public static final AbstractNumberConstraint GREATER_EQUAL_ZERO_INT
Not negative.
-
GREATER_EQUAL_ONE_INT
public static final AbstractNumberConstraint GREATER_EQUAL_ONE_INT
Larger than zero.
-
GREATER_THAN_ONE_INT
public static final AbstractNumberConstraint GREATER_THAN_ONE_INT
Larger than one.
-
GREATER_EQUAL_ZERO_DOUBLE
public static final AbstractNumberConstraint GREATER_EQUAL_ZERO_DOUBLE
Not negative.
-
GREATER_THAN_ZERO_DOUBLE
public static final AbstractNumberConstraint GREATER_THAN_ZERO_DOUBLE
Larger than zero.
-
LESS_THAN_HALF_DOUBLE
public static final AbstractNumberConstraint LESS_THAN_HALF_DOUBLE
Constraint: less than .5
-
GREATER_EQUAL_ONE_DOUBLE
public static final AbstractNumberConstraint GREATER_EQUAL_ONE_DOUBLE
At least 1.
-
GREATER_THAN_ONE_DOUBLE
public static final AbstractNumberConstraint GREATER_THAN_ONE_DOUBLE
Larger than one.
-
LESS_THAN_ONE_DOUBLE
public static final AbstractNumberConstraint LESS_THAN_ONE_DOUBLE
Less than one.
-
LESS_EQUAL_ONE_DOUBLE
public static final AbstractNumberConstraint LESS_EQUAL_ONE_DOUBLE
Less or equal than one.
-
GREATER_EQUAL_ZERO_INT_LIST
public static final ParameterConstraint<int[]> GREATER_EQUAL_ZERO_INT_LIST
Constraint for the whole list.
-
GREATER_EQUAL_ONE_INT_LIST
public static final ParameterConstraint<int[]> GREATER_EQUAL_ONE_INT_LIST
List constraint: >= 1
-
GREATER_THAN_ONE_INT_LIST
public static final ParameterConstraint<int[]> GREATER_THAN_ONE_INT_LIST
List constraint: > 1
-
GREATER_EQUAL_ZERO_DOUBLE_LIST
public static final ParameterConstraint<double[]> GREATER_EQUAL_ZERO_DOUBLE_LIST
Constraint for the whole list.
-
GREATER_EQUAL_ONE_DOUBLE_LIST
public static final ParameterConstraint<double[]> GREATER_EQUAL_ONE_DOUBLE_LIST
List constraint: >= 1
-
GREATER_THAN_ONE_DOUBLE_LIST
public static final ParameterConstraint<double[]> GREATER_THAN_ONE_DOUBLE_LIST
List constraint: > 1
-
-