Package | Description |
---|---|
de.lmu.ifi.dbs.elki.algorithm.clustering.correlation |
Correlation clustering algorithms
|
de.lmu.ifi.dbs.elki.index.preprocessed.preference |
Indexes storing preference vectors.
|
de.lmu.ifi.dbs.elki.utilities.optionhandling |
Parameter handling and option descriptions.
|
de.lmu.ifi.dbs.elki.utilities.optionhandling.constraints |
Constraints allow to restrict possible values for parameters.
|
de.lmu.ifi.dbs.elki.utilities.optionhandling.parameterization |
Configuration managers
See the
de.lmu.ifi.dbs.elki.utilities.optionhandling package for documentation! |
de.lmu.ifi.dbs.elki.utilities.optionhandling.parameters |
Classes for various typed parameters.
|
Modifier and Type | Method and Description |
---|---|
private Clustering<Model> |
CASH.doRun(Relation<ParameterizationFunction> relation,
FiniteProgress progress)
Runs the CASH algorithm on the specified database, this method is
recursively called until only noise is left.
|
private Matrix |
CASH.runDerivator(Relation<ParameterizationFunction> relation,
int dim,
CASHInterval interval,
ModifiableDBIDs ids)
Runs the derivator on the specified interval and assigns all points having
a distance less then the standard deviation of the derivator model to the
model to this model.
|
Modifier and Type | Method and Description |
---|---|
private BitSet |
DiSHPreferenceVectorIndex.determinePreferenceVector(Relation<V> relation,
ModifiableDBIDs[] neighborIDs,
StringBuffer msg)
Determines the preference vector according to the specified neighbor ids.
|
private BitSet |
DiSHPreferenceVectorIndex.determinePreferenceVectorByApriori(Relation<V> relation,
ModifiableDBIDs[] neighborIDs,
StringBuffer msg)
Determines the preference vector with the apriori strategy.
|
private RangeQuery<V,DoubleDistance>[] |
DiSHPreferenceVectorIndex.initRangeQueries(Relation<V> relation,
int dimensionality)
Initializes the dimension selecting distancefunctions to determine the
preference vectors.
|
Modifier and Type | Class and Description |
---|---|
class |
InternalParameterizationErrors
Pseudo error class that wraps multiple error reports into one.
|
class |
NoParameterValueException
Thrown by OptionHandler in case of incorrect parameter-array.
|
class |
UnspecifiedParameterException
Exception when a required parameter was not given.
|
class |
UnusedParameterException
Thrown by OptionHandler in case of request of an unused parameter.
|
class |
WrongParameterValueException
Thrown by a Parameterizable object in case of wrong parameter format.
|
Modifier and Type | Method and Description |
---|---|
void |
GlobalVectorListElementSizeConstraint.test()
Checks if the dimensions of each vector of the vector list parameter have
the appropriate size provided by the integer parameter.
|
void |
ParameterFlagGlobalConstraint.test()
Checks the parameter for its parameter constraints dependent on the status
of the given flag.
|
void |
NoDuplicateValueGlobalConstraint.test()
Checks if the elements of the list of number parameters do have different
values.
|
void |
OnlyOneIsAllowedToBeSetGlobalConstraint.test()
Checks if only one parameter of a list of parameters is set.
|
void |
OneMustBeSetGlobalConstraint.test()
Checks if at least one parameter value of the list of parameters specified
is set.
|
void |
LessEqualGlobalConstraint.test()
Checks if the value of the first number parameter is less equal than the
value of the second number parameter.
|
void |
GlobalListSizeConstraint.test()
Checks is the size of the list parameter is equal to the constraint list
size specified.
|
void |
EqualSizeGlobalConstraint.test()
Checks if the list parameters have equal list sizes.
|
void |
AllOrNoneMustBeSetGlobalConstraint.test()
Checks if either all elements of a list of parameters are set, or none of
them.
|
void |
LessGlobalConstraint.test()
Checks if the value of the first number parameter is less than the value of
the second number parameter.
|
void |
GlobalParameterConstraint.test()
Checks if the respective parameters satisfy the parameter constraint.
|
void |
ListGreaterEqualConstraint.test(List<N> t)
Checks if all number values of the specified list parameter
are greater than or equal to the constraint value.
|
void |
ListSizeConstraint.test(List<T> t)
Checks if the list parameter fulfills the size constraint.
|
void |
LessEqualConstraint.test(Number t)
Checks if the number value given by the number parameter is less equal than
the constraint value.
|
void |
IntervalConstraint.test(Number t)
Checks if the number value given by the number parameter is greater equal
than the constraint value.
|
void |
LessConstraint.test(Number t)
Checks if the number value given by the number parameter is less than the constraint value.
|
void |
GreaterEqualConstraint.test(Number t)
Checks if the number value given by the number parameter is
greater equal than the constraint
value.
|
void |
GreaterConstraint.test(Number t)
Checks if the number value given by the number parameter is greater than
the constraint value.
|
void |
EqualStringConstraint.test(String t)
Checks if the given string value of the string parameter is equal to one of
the constraint strings.
|
void |
StringLengthConstraint.test(String t)
Checks if the given string value of the string parameter is within the
length restrictions.
|
void |
ParameterConstraint.test(T t)
Checks if the value
t of the parameter to be tested fulfills the parameter constraint. |
Modifier and Type | Field and Description |
---|---|
(package private) Vector<ParameterException> |
UnParameterization.errors
Errors
|
(package private) Vector<ParameterException> |
AbstractParameterization.errors
Errors
|
Modifier and Type | Method and Description |
---|---|
Collection<ParameterException> |
TrackParameters.getErrors() |
Collection<ParameterException> |
UnParameterization.getErrors() |
Collection<ParameterException> |
Parameterization.getErrors()
Get the configuration errors thrown in
Parameterization.grab(de.lmu.ifi.dbs.elki.utilities.optionhandling.parameters.Parameter<?, ?>) |
Collection<ParameterException> |
MergedParameterization.getErrors() |
Collection<ParameterException> |
AbstractParameterization.getErrors() |
Modifier and Type | Method and Description |
---|---|
void |
TrackParameters.reportError(ParameterException e) |
void |
UnParameterization.reportError(ParameterException e) |
void |
ChainedParameterization.reportError(ParameterException e)
Report a configuration error.
|
void |
Parameterization.reportError(ParameterException e)
Report a configuration error.
|
void |
MergedParameterization.reportError(ParameterException e) |
void |
AbstractParameterization.reportError(ParameterException e) |
Modifier and Type | Method and Description |
---|---|
boolean |
TrackParameters.setValueForOption(Parameter<?,?> opt) |
boolean |
UnParameterization.setValueForOption(Parameter<?,?> opt) |
boolean |
ChainedParameterization.setValueForOption(Parameter<?,?> opt) |
boolean |
ListParameterization.setValueForOption(Parameter<?,?> opt) |
boolean |
EmptyParameterization.setValueForOption(Parameter<?,?> opt) |
boolean |
Parameterization.setValueForOption(Parameter<?,?> opt)
Assign a value for an option, but not using default values and throwing
exceptions on error.
|
boolean |
MergedParameterization.setValueForOption(Parameter<?,?> opt) |
abstract boolean |
AbstractParameterization.setValueForOption(Parameter<?,?> opt)
Perform the actual parameter assignment.
|
boolean |
SerializedParameterization.setValueForOption(Parameter<?,?> opt) |
Modifier and Type | Method and Description |
---|---|
boolean |
Parameter.isValid(Object obj)
Checks if the given argument is valid for this option.
|
protected Boolean |
Flag.parseValue(Object obj) |
protected List<Class<? extends C>> |
ClassListParameter.parseValue(Object obj)
Parse a given value into the destination type.
|
protected Long |
LongParameter.parseValue(Object obj)
Parse a given value into the destination type.
|
protected abstract T |
Parameter.parseValue(Object obj)
Parse a given value into the destination type.
|
protected Pattern |
PatternParameter.parseValue(Object obj)
Parse a given value into the destination type.
|
protected Integer |
IntParameter.parseValue(Object obj)
Parse a given value into the destination type.
|
protected List<File> |
FileListParameter.parseValue(Object obj)
Parse a given value into the destination type.
|
protected List<List<Double>> |
VectorListParameter.parseValue(Object obj)
Parse a given value into the destination type.
|
protected E |
EnumParameter.parseValue(Object obj) |
protected String |
StringParameter.parseValue(Object obj)
Parse a given value into the destination type.
|
protected List<Double> |
DoubleListParameter.parseValue(Object obj) |
protected Class<? extends C> |
ClassParameter.parseValue(Object obj)
Parse a given value into the destination type.
|
protected List<Integer> |
IntListParameter.parseValue(Object obj)
Parse a given value into the destination type.
|
protected Class<? extends C> |
ObjectParameter.parseValue(Object obj)
Parse a given value into the destination type.
|
protected File |
FileParameter.parseValue(Object obj)
Parse a given value into the destination type.
|
protected List<Class<? extends C>> |
ObjectListParameter.parseValue(Object obj)
Parse a given value into the destination type.
|
void |
Parameter.setValue(Object obj)
Sets the value of the option.
|
void |
ObjectParameter.setValue(Object obj)
Sets the value of the option.
|
protected boolean |
Flag.validate(Boolean obj)
Validate a value after parsing (e.g. do constrain checks!)
|
boolean |
ClassParameter.validate(Class<? extends C> obj)
Checks if the given parameter value is valid for this ClassParameter.
|
protected boolean |
FileParameter.validate(File obj)
Validate a value after parsing (e.g. do constrain checks!)
|
protected boolean |
ClassListParameter.validate(List<Class<? extends C>> obj)
Validate a value after parsing (e.g. do constrain checks!)
|
protected boolean |
FileListParameter.validate(List<File> obj)
Validate a value after parsing (e.g. do constrain checks!)
|
protected boolean |
Parameter.validate(T obj)
Validate a value after parsing (e.g. do constrain checks!)
|