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.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractNumberConstraint<P>
Abstract super class for constraints dealing with a certain number value.
|
class |
EqualStringConstraint
Represents a parameter constraint for testing if the string value of the
string parameter (
StringParameter
) to be tested is equal to the specified constraint-strings. |
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 |
IntervalConstraint
Deprecated.
Use two constraints instead.
|
class |
LessConstraint
Represents a Less-Than-Number parameter constraint.
|
class |
LessEqualConstraint
Represents a Less-Equal-Than-Number parameter constraint.
|
class |
ListEachConstraint<T>
Applies constraints to all elements of a list.
|
class |
ListParameterNoDuplicateValueConstraint<T>
Parameter constraint specifying that a parameter list
is not allowed to have duplicate values.
|
class |
ListSizeConstraint
Represents a list-size parameter constraint.
|
class |
StringLengthConstraint
Length constraint for a
StringParameter
. |
Modifier and Type | Field and Description |
---|---|
private List<ParameterConstraint<? super S>> |
ParameterFlagGlobalConstraint.cons
List of parameter constraints.
|
private List<ParameterConstraint<? super T>> |
ListEachConstraint.constraints
Constraints
|
Modifier and Type | Method and Description |
---|---|
void |
ListEachConstraint.addConstraint(ParameterConstraint<? super T> constraint)
Add a constraint to this operator.
|
Constructor and Description |
---|
ListEachConstraint(ParameterConstraint<? super T> constraint)
Constructor.
|
Constructor and Description |
---|
ParameterFlagGlobalConstraint(Parameter<S> p,
List<ParameterConstraint<? super S>> c,
Flag f,
boolean flagConstraint)
Constructs a global parameter constraint specifying that the testing of the
parameter given for keeping the parameter constraints given is dependent on
the status of the flag given.
|
Modifier and Type | Field and Description |
---|---|
protected List<ParameterConstraint<? super T>> |
AbstractParameter.constraints
Holds parameter constraints for this parameter.
|
Modifier and Type | Method and Description |
---|---|
void |
Parameter.addConstraint(ParameterConstraint<? super T> constraint)
Add an additional constraint.
|
void |
AbstractParameter.addConstraint(ParameterConstraint<? super T> constraint) |
Modifier and Type | Method and Description |
---|---|
void |
AbstractParameter.addConstraints(Collection<? extends ParameterConstraint<? super T>> cs)
Add a collection of constraints.
|
Constructor and Description |
---|
DoubleParameter(OptionID optionID,
double defaultValue,
ParameterConstraint<Number> constraint)
|
DoubleParameter(OptionID optionID,
ParameterConstraint<Number> constraint)
|
IntParameter(OptionID optionID,
int defaultValue,
ParameterConstraint<Number> constraint)
|
IntParameter(OptionID optionID,
ParameterConstraint<Number> constraint)
|
IntParameter(OptionID optionID,
ParameterConstraint<Number> constraint,
boolean optional)
|
LongParameter(OptionID optionID,
ParameterConstraint<Number> constraint,
long defaultValue)
|
StringParameter(OptionID optionID,
ParameterConstraint<String> constraint)
|
StringParameter(OptionID optionID,
ParameterConstraint<String> constraint,
String defaultValue)
|
VectorListParameter(OptionID optionID,
ParameterConstraint<List<List<Double>>> constraint)
Constructs a vector list parameter with the given name and description.
|
VectorListParameter(OptionID optionID,
ParameterConstraint<List<List<Double>>> constraint,
boolean optional)
Constructs a vector list parameter with the given name and description.
|
VectorListParameter(OptionID optionID,
ParameterConstraint<List<List<Double>>> constraint,
List<List<Double>> defaultValue)
Constructs a vector list parameter with the given name and description.
|
Constructor and Description |
---|
VectorListParameter(OptionID optionID,
List<ParameterConstraint<List<List<Double>>>> constraints,
boolean optional)
Constructs a vector list parameter with the given name and description.
|
VectorListParameter(OptionID optionID,
List<ParameterConstraint<List<List<Double>>>> constraints,
List<List<Double>> defaultValue)
Constructs a vector list parameter with the given name and description.
|