
public class DoubleArrayListParameter extends ListParameter<DoubleArrayListParameter,List<double[]>>
LIST_SEP, SPLIT, VECTOR_SEP, VECTOR_SPLITconstraints, defaultValue, givenValue, optionalParameter, optionid, shortDescription| Constructor and Description |
|---|
DoubleArrayListParameter(OptionID optionID)
Constructs a vector list parameter with the given name and description.
|
DoubleArrayListParameter(OptionID optionID,
boolean optional)
Constructs a vector list parameter with the given name and description.
|
DoubleArrayListParameter(OptionID optionID,
List<double[]> defaultValue)
Constructs a vector list parameter with the given name and description.
|
DoubleArrayListParameter(OptionID optionID,
ParameterConstraint<List<double[]>> constraint)
Constructs a vector list parameter with the given name and description.
|
DoubleArrayListParameter(OptionID optionID,
ParameterConstraint<List<double[]>> constraint,
boolean optional)
Constructs a vector list parameter with the given name and description.
|
DoubleArrayListParameter(OptionID optionID,
ParameterConstraint<List<double[]>> constraint,
List<double[]> defaultValue)
Constructs a vector list parameter with the given name and description.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getDefaultValueAsString()
Get the default value as string.
|
String |
getSyntax()
Returns a string representation of the parameter's type.
|
String |
getValueAsString()
Get the value as string.
|
protected List<double[]> |
parseValue(Object obj)
Parse a given value into the destination type.
|
int |
size()
Size of the list.
|
addConstraint, getDefaultValue, getFullDescription, getGivenValue, getName, getOptionID, getShortDescription, getValue, getValuesDescription, hasDefaultValue, hasValuesDescription, isDefined, isOptional, isValid, setDefaultValue, setOptional, setShortDescription, setValue, setValueInternal, tookDefaultValue, tryDefaultValue, useDefaultValue, validatepublic DoubleArrayListParameter(OptionID optionID, ParameterConstraint<List<double[]>> constraint, List<double[]> defaultValue)
optionID - Option IDconstraint - ConstraintdefaultValue - Default valuepublic DoubleArrayListParameter(OptionID optionID, ParameterConstraint<List<double[]>> constraint, boolean optional)
optionID - Option IDconstraint - Constraintoptional - Optional flagpublic DoubleArrayListParameter(OptionID optionID, ParameterConstraint<List<double[]>> constraint)
optionID - Option IDconstraint - Constraintpublic DoubleArrayListParameter(OptionID optionID, List<double[]> defaultValue)
optionID - Option IDdefaultValue - Default valuepublic DoubleArrayListParameter(OptionID optionID, boolean optional)
optionID - Option IDoptional - Optional flagpublic DoubleArrayListParameter(OptionID optionID)
optionID - Option IDpublic String getValueAsString()
ParameternullgetValueAsString in interface Parameter<List<double[]>>getValueAsString in class AbstractParameter<DoubleArrayListParameter,List<double[]>>public String getDefaultValueAsString()
ParametergetDefaultValueAsString in interface Parameter<List<double[]>>getDefaultValueAsString in class AbstractParameter<DoubleArrayListParameter,List<double[]>>protected List<double[]> parseValue(Object obj) throws ParameterException
AbstractParameterparseValue in class AbstractParameter<DoubleArrayListParameter,List<double[]>>obj - Object to parse (may be a string representation!)ParameterException - when the object cannot be parsed.public int size()
ListParametersize in class ListParameter<DoubleArrayListParameter,List<double[]>>public String getSyntax()
getSyntax in interface Parameter<List<double[]>>getSyntax in class AbstractParameter<DoubleArrayListParameter,List<double[]>>Copyright © 2015 ELKI Development Team, Lehr- und Forschungseinheit für Datenbanksysteme, Ludwig-Maximilians-Universität München. License information.