Package | Description |
---|---|
de.lmu.ifi.dbs.elki.utilities.optionhandling.constraints |
Constraints allow to restrict possible values for parameters
|
de.lmu.ifi.dbs.elki.utilities.optionhandling.parameters |
Classes for various typed parameters
See the
de.lmu.ifi.dbs.elki.utilities.optionhandling package for
documentation! |
Modifier and Type | Class and Description |
---|---|
class |
AbstractNumberConstraint
Abstract super class for constraints dealing with a certain number value.
|
class |
GreaterConstraint
Represents a parameter constraint for testing if the value of the number
parameter (
NumberParameter ) tested is greater than the specified
constraint value. |
class |
GreaterEqualConstraint
Represents a Greater-Equal-Than-Number parameter constraint.
|
class |
LessConstraint
Represents a Less-Than-Number parameter constraint.
|
class |
LessEqualConstraint
Represents a Less-Equal-Than-Number parameter constraint.
|
class |
ListEachNumberConstraint<T>
Applies numeric constraints to all elements of a list.
|
class |
ListSizeConstraint
Represents a list-size parameter constraint.
|
Modifier and Type | Field and Description |
---|---|
static ParameterConstraint<double[]> |
CommonConstraints.GREATER_EQUAL_ONE_DOUBLE_LIST
List constraint: >= 1
|
static ParameterConstraint<int[]> |
CommonConstraints.GREATER_EQUAL_ONE_INT_LIST
List constraint: >= 1
|
static ParameterConstraint<double[]> |
CommonConstraints.GREATER_EQUAL_ZERO_DOUBLE_LIST
Constraint for the whole list.
|
static ParameterConstraint<int[]> |
CommonConstraints.GREATER_EQUAL_ZERO_INT_LIST
Constraint for the whole list.
|
static ParameterConstraint<double[]> |
CommonConstraints.GREATER_THAN_ONE_DOUBLE_LIST
List constraint: > 1
|
static ParameterConstraint<int[]> |
CommonConstraints.GREATER_THAN_ONE_INT_LIST
List constraint: > 1
|
Modifier and Type | Field and Description |
---|---|
protected java.util.List<ParameterConstraint<? super T>> |
AbstractParameter.constraints
Holds parameter constraints for this parameter.
|
Modifier and Type | Method and Description |
---|---|
java.util.List<ParameterConstraint<? super T>> |
AbstractParameter.getConstraints() |
java.util.List<ParameterConstraint<? super T>> |
Parameter.getConstraints()
Get the parameter constraints.
|
Modifier and Type | Method and Description |
---|---|
THIS |
AbstractParameter.addConstraint(ParameterConstraint<? super T> constraint) |
Parameter<T> |
Parameter.addConstraint(ParameterConstraint<? super T> constraint)
Add an additional constraint.
|
Constructor and Description |
---|
DoubleArrayListParameter(OptionID optionID,
ParameterConstraint<java.util.List<double[]>> constraint)
Constructs a vector list parameter with the given name and description.
|
DoubleArrayListParameter(OptionID optionID,
ParameterConstraint<java.util.List<double[]>> constraint,
boolean optional)
Constructs a vector list parameter with the given name and description.
|
DoubleArrayListParameter(OptionID optionID,
ParameterConstraint<java.util.List<double[]>> constraint,
java.util.List<double[]> defaultValue)
Constructs a vector list parameter with the given name and description.
|
Copyright © 2019 ELKI Development Team. License information.