|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object de.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 valuepublic VectorListParameter(OptionID optionID, List<ParameterConstraint<List<List<Double>>>> constraints, boolean optional)
optionID
- Option IDconstraints
- Constraintsoptional
- Optional flagpublic VectorListParameter(OptionID optionID, ParameterConstraint<List<List<Double>>> constraint, List<List<Double>> defaultValue)
optionID
- Option IDconstraint
- ConstraintdefaultValue
- Default valuepublic VectorListParameter(OptionID optionID, ParameterConstraint<List<List<Double>>> constraint, boolean optional)
optionID
- Option IDconstraint
- Constraintoptional
- Optional flagpublic VectorListParameter(OptionID optionID, ParameterConstraint<List<List<Double>>> constraint)
optionID
- Option IDconstraint
- Constraintpublic VectorListParameter(OptionID optionID, boolean optional)
optionID
- Option IDoptional
- Optional flagpublic VectorListParameter(OptionID optionID)
optionID
- Option IDMethod 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 |