Package | Description |
---|---|
de.lmu.ifi.dbs.elki.application.internal |
Internal utilities for development.
|
de.lmu.ifi.dbs.elki.gui.configurator |
Configurator components
|
de.lmu.ifi.dbs.elki.gui.util |
Utility classes for GUIs (e.g. a class to display a logging panel)
|
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 static void |
DocumentParameters.appendDefaultClassLink(Document htmldoc,
Parameter<?> opt,
Element p) |
private static void |
DocumentParameters.appendDefaultValueIfSet(Document htmldoc,
Parameter<?> par,
Element optdd)
Append string containing the default value.
|
private static void |
DocumentParameters.appendDefaultValueWiki(DocumentParameters.WikiStream out,
Parameter<?> par) |
Modifier and Type | Method and Description |
---|---|
private static void |
DocumentParameters.buildParameterIndex(Map<Class<?>,List<Parameter<?>>> byclass,
Map<OptionID,List<Pair<Parameter<?>,Class<?>>>> byopt) |
private static void |
DocumentParameters.buildParameterIndex(Map<Class<?>,List<Parameter<?>>> byclass,
Map<OptionID,List<Pair<Parameter<?>,Class<?>>>> byopt) |
private static Document |
DocumentParameters.makeByClassOverviewHTML(Map<Class<?>,List<Parameter<?>>> byclass) |
private static void |
DocumentParameters.makeByClassOverviewWiki(Map<Class<?>,List<Parameter<?>>> byclass,
DocumentParameters.WikiStream out) |
private static Document |
DocumentParameters.makeByOptOverviewHTML(Map<OptionID,List<Pair<Parameter<?>,Class<?>>>> byopt) |
private static void |
DocumentParameters.makeByOptOverviewWiki(Map<OptionID,List<Pair<Parameter<?>,Class<?>>>> byopt,
DocumentParameters.WikiStream out) |
Modifier and Type | Class and Description |
---|---|
class |
AbstractParameterConfigurator<T extends Parameter<?>>
Abstract class to produce a configurator for a particular parameter.
|
class |
AbstractSingleParameterConfigurator<T extends Parameter<?>>
Base class for MiniGUI input helpers
|
Modifier and Type | Field and Description |
---|---|
(package private) T |
AbstractParameterConfigurator.param
The parameter to configure
|
Modifier and Type | Method and Description |
---|---|
void |
ParameterConfigurator.addParameter(Object owner,
Parameter<?> param,
TrackParameters track) |
void |
ConfiguratorPanel.addParameter(Object owner,
Parameter<?> param,
TrackParameters track)
Add parameter to this panel.
|
void |
ClassParameterConfigurator.addParameter(Object owner,
Parameter<?> param,
TrackParameters track) |
void |
ClassListParameterConfigurator.addParameter(Object owner,
Parameter<?> param,
TrackParameters track) |
void |
AbstractParameterConfigurator.addParameter(Object owner,
Parameter<?> param,
TrackParameters track) |
private ParameterConfigurator |
ConfiguratorPanel.makeConfigurator(Parameter<?> param) |
Constructor and Description |
---|
TextParameterConfigurator(Parameter<?> param,
JComponent parent) |
Modifier and Type | Class and Description |
---|---|
static class |
DynamicParameters.RemainingOptions
Dummy option class that represents unhandled options
|
Modifier and Type | Field and Description |
---|---|
private Parameter<?> |
ParameterTable.ClassListEditor.option
Parameter we are currently editing.
|
protected Parameter<?> |
DynamicParameters.Node.param |
Modifier and Type | Method and Description |
---|---|
void |
DynamicParameters.addParameter(Parameter<?> option,
String value,
int bits,
int depth)
Add a single parameter to the list
|
Constructor and Description |
---|
Node(Parameter<?> param,
String value,
int flags,
int depth)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
static <O extends Parameter<?>> |
OptionUtil.optionsNamesToString(List<O> options)
Returns a string representation of the specified list of options containing
the names of the options.
|
static <O extends Parameter<?>> |
OptionUtil.optionsNamesToString(O[] options)
Returns a string representation of the specified list of options containing
the names of the options.
|
static <N extends Parameter<?>> |
OptionUtil.parameterNamesAndValuesToString(List<N> parameters)
Returns a string representation of the list of number parameters containing
the names and the values of the parameters.
|
Modifier and Type | Method and Description |
---|---|
static <O extends Parameter<?>> |
OptionUtil.optionsNamesToString(O[] options)
Returns a string representation of the specified list of options containing
the names of the options.
|
Constructor and Description |
---|
UnspecifiedParameterException(Parameter<?> parameter)
Constructor with missing Parameter
|
WrongParameterValueException(Parameter<?> parameter,
String read)
Thrown by a Parameterizable object in case of wrong parameter format.
|
WrongParameterValueException(Parameter<?> parameter,
String read,
String reason)
Thrown by a Parameterizable object in case of wrong parameter format.
|
WrongParameterValueException(Parameter<?> parameter,
String read,
String reason,
Throwable cause)
Thrown by a Parameterizable object in case of wrong parameter format.
|
WrongParameterValueException(Parameter<?> parameter,
String read,
Throwable cause)
Thrown by a Parameterizable object in case of wrong parameter format.
|
Modifier and Type | Field and Description |
---|---|
private Parameter<? extends S> |
ParameterFlagGlobalConstraint.param
Parameter possibly to be checked.
|
private Parameter<?>[] |
AllOrNoneMustBeSetGlobalConstraint.parameterList
List of parameters to be checked
|
Modifier and Type | Field and Description |
---|---|
private List<Parameter<?>> |
OnlyOneIsAllowedToBeSetGlobalConstraint.parameters
List of parameters to be checked.
|
private List<Parameter<?>> |
OneMustBeSetGlobalConstraint.parameters
List of parameters to be checked.
|
Constructor and Description |
---|
AllOrNoneMustBeSetGlobalConstraint(Parameter<?>... parameters)
Constructs a global parameter constraint for testing if either all elements
of a list of parameters are set or none of them.
|
OneMustBeSetGlobalConstraint(Parameter<?>... params)
Creates a One-Must-Be-Set global parameter constraint.
|
OnlyOneIsAllowedToBeSetGlobalConstraint(Parameter<?>... params)
Constructs a global parameter constraint for testing if only one parameter
of a list of parameters is set.
|
ParameterFlagGlobalConstraint(Parameter<? extends S> p,
List<? extends 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.
|
Constructor and Description |
---|
OneMustBeSetGlobalConstraint(List<Parameter<?>> params)
Creates a One-Must-Be-Set global parameter constraint.
|
OnlyOneIsAllowedToBeSetGlobalConstraint(List<Parameter<?>> params)
Constructs a global parameter constraint for testing if only one parameter
of a list of parameters is set.
|
Modifier and Type | Field and Description |
---|---|
private Parameter<?> |
TrackedParameter.parameter
Parameter value
|
Modifier and Type | Method and Description |
---|---|
Parameter<?> |
TrackedParameter.getParameter()
Get the parameter observed.
|
Modifier and Type | Method and Description |
---|---|
void |
ListParameterization.forwardOption(Parameter<?> param)
Convenience - add a Parameter for forwarding
|
boolean |
UnParameterization.grab(Parameter<?> opt) |
boolean |
Parameterization.grab(Parameter<?> opt)
Get the option value from the Parameterization.
|
boolean |
MergedParameterization.grab(Parameter<?> opt) |
boolean |
TrackParameters.grab(Parameter<?> opt) |
boolean |
AbstractParameterization.grab(Parameter<?> opt) |
boolean |
EmptyParameterization.setValueForOption(Parameter<?> opt) |
boolean |
UnParameterization.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 |
ListParameterization.setValueForOption(Parameter<?> opt) |
boolean |
ChainedParameterization.setValueForOption(Parameter<?> opt) |
boolean |
MergedParameterization.setValueForOption(Parameter<?> opt) |
boolean |
TrackParameters.setValueForOption(Parameter<?> opt) |
boolean |
SerializedParameterization.setValueForOption(Parameter<?> opt) |
abstract boolean |
AbstractParameterization.setValueForOption(Parameter<?> opt)
Perform the actual parameter assignment.
|
Constructor and Description |
---|
TrackedParameter(Object owner,
Parameter<?> parameter)
Constructor.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractParameter<THIS extends AbstractParameter<THIS,T>,T>
Abstract class for specifying a parameter.
|
class |
ClassListParameter<C>
Parameter class for a parameter specifying a list of class names.
|
class |
ClassParameter<C>
Parameter class for a parameter specifying a class name.
|
class |
DoubleListParameter
Parameter class for a parameter specifying a list of double values.
|
class |
DoubleParameter
Parameter class for a parameter specifying a double value.
|
class |
EnumParameter<E extends Enum<E>>
Parameter class for a parameter specifying an enum type.
|
class |
FileListParameter
Parameter class for a parameter specifying a list of files.
|
class |
FileParameter
Parameter class for a parameter specifying a file.
|
class |
Flag
Option class specifying a flag object.
|
class |
IntListParameter
Parameter class for a parameter specifying a list of integer values.
|
class |
IntParameter
Parameter class for a parameter specifying an integer value.
|
class |
ListParameter<THIS extends ListParameter<THIS,T>,T>
Abstract parameter class defining a parameter for a list of objects.
|
class |
LongParameter
Parameter class for a parameter specifying a long value.
|
class |
NumberParameter<THIS extends NumberParameter<THIS,T>,T extends Number>
Abstract class for defining a number parameter.
|
class |
ObjectListParameter<C>
Parameter that represents a list of objects (in contrast to a class list parameter, they will be instanced at most once.)
|
class |
ObjectParameter<C>
Parameter class for a parameter representing a single object.
|
class |
PatternParameter
Parameter class for a parameter specifying a pattern.
|
class |
RandomParameter
Parameter for random generators and/or random seeds.
|
class |
StringParameter
Parameter class for a parameter specifying a string.
|
class |
VectorListParameter
Parameter class for a parameter specifying a list of vectors.
|
Modifier and Type | Method and Description |
---|---|
Parameter<T> |
Parameter.addConstraint(ParameterConstraint<? super T> constraint)
Add an additional constraint.
|
Parameter<T> |
Parameter.setDefaultValue(T defaultValue)
Sets the default value of this parameter.
|
Parameter<T> |
Parameter.setOptional(boolean opt)
Specifies if this parameter is an optional parameter.
|
Copyright © 2015 ELKI Development Team, Lehr- und Forschungseinheit für Datenbanksysteme, Ludwig-Maximilians-Universität München. License information.