public class EmptyParameterization extends AbstractParameterization
errors
Constructor and Description |
---|
EmptyParameterization() |
Modifier and Type | Method and Description |
---|---|
Parameterization |
descend(Object option)
Descend parameterization tree into sub-option.
|
boolean |
hasUnusedParameters()
Check for unused parameters
|
boolean |
setValueForOption(Parameter<?,?> opt)
Perform the actual parameter assignment.
|
checkConstraint, clearErrors, failOnErrors, finalize, getErrors, grab, hasErrors, logAndClearReportedErrors, reportError, reportInternalParameterizationErrors, tryInstantiate, tryInstantiate
public boolean hasUnusedParameters()
Parameterization
true
if at least one parameter was not consumedpublic boolean setValueForOption(Parameter<?,?> opt) throws ParameterException
AbstractParameterization
setValueForOption
in interface Parameterization
setValueForOption
in class AbstractParameterization
opt
- Option to be setParameterException
- on assignment errors.public Parameterization descend(Object option)
ClassParameter.instantiateClass(de.lmu.ifi.dbs.elki.utilities.optionhandling.parameterization.Parameterization)
.
You only need to call this when you want to expose the tree structure
without offering a class choice as parameter.
Default implementation, for flat parameterizations.option
- Option subtree