|
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectde.lmu.ifi.dbs.elki.utilities.optionhandling.parameters.Parameter<List<T>,List<T>>
de.lmu.ifi.dbs.elki.utilities.optionhandling.parameters.ListParameter<List<Double>>
de.lmu.ifi.dbs.elki.utilities.optionhandling.parameters.VectorListParameter
public class VectorListParameter

Parameter class for a parameter specifying a list of vectors.
| Field Summary |
|---|
| Fields inherited from class de.lmu.ifi.dbs.elki.utilities.optionhandling.parameters.ListParameter |
|---|
LIST_SEP, SPLIT, VECTOR_SEP, VECTOR_SPLIT |
| Fields inherited from class de.lmu.ifi.dbs.elki.utilities.optionhandling.parameters.Parameter |
|---|
constraints, defaultValue, givenValue, optionalParameter, optionid, shortDescription |
| Constructor Summary | |
|---|---|
VectorListParameter(OptionID optionID)
Constructs a vector list parameter with the given name and description. |
|
VectorListParameter(OptionID optionID,
boolean optional)
Constructs a vector list parameter with the given name 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. |
|
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. |
|
| Method Summary | |
|---|---|
String |
getSyntax()
Returns a string representation of the parameter's type. |
String |
getValueAsString()
Get the value as string. |
protected List<List<Double>> |
parseValue(Object obj)
Parse a given value into the destination type. |
| Methods inherited from class de.lmu.ifi.dbs.elki.utilities.optionhandling.parameters.ListParameter |
|---|
asString, getListSize |
| Methods inherited from class de.lmu.ifi.dbs.elki.utilities.optionhandling.parameters.Parameter |
|---|
addConstraint, getDefaultValue, getDefaultValueAsString, getFullDescription, getGivenValue, getName, getOptionID, getShortDescription, getValue, getValuesDescription, hasDefaultValue, hasValuesDescription, isDefined, isOptional, isValid, setDefaultValue, setOptional, setShortDescription, setValue, setValueInternal, tookDefaultValue, tryDefaultValue, useDefaultValue, validate |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public VectorListParameter(OptionID optionID,
List<ParameterConstraint<List<List<Double>>>> constraints,
List<List<Double>> defaultValue)
optionID - Option IDconstraints - ConstraintdefaultValue - Default value
public VectorListParameter(OptionID optionID,
List<ParameterConstraint<List<List<Double>>>> constraints,
boolean optional)
optionID - Option IDconstraints - Constraintsoptional - Optional flag
public VectorListParameter(OptionID optionID,
ParameterConstraint<List<List<Double>>> constraint,
List<List<Double>> defaultValue)
optionID - Option IDconstraint - ConstraintdefaultValue - Default value
public VectorListParameter(OptionID optionID,
ParameterConstraint<List<List<Double>>> constraint,
boolean optional)
optionID - Option IDconstraint - Constraintoptional - Optional flag
public VectorListParameter(OptionID optionID,
ParameterConstraint<List<List<Double>>> constraint)
optionID - Option IDconstraint - Constraint
public VectorListParameter(OptionID optionID,
boolean optional)
optionID - Option IDoptional - Optional flagpublic VectorListParameter(OptionID optionID)
optionID - Option ID| Method Detail |
|---|
public String getValueAsString()
null
getValueAsString in class Parameter<List<List<Double>>,List<List<Double>>>
protected List<List<Double>> parseValue(Object obj)
throws ParameterException
parseValue in class Parameter<List<List<Double>>,List<List<Double>>>obj - Object to parse (may be a string representation!)
ParameterException - when the object cannot be parsed.public String getSyntax()
getSyntax in class Parameter<List<List<Double>>,List<List<Double>>>
|
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||