|
|
|||||||||||||||||||||
| 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.constraints.GlobalDistanceFunctionPatternConstraint<D>
D - Distance function type
@Deprecated public class GlobalDistanceFunctionPatternConstraint<D extends DistanceFunction<?,?>>
Global parameter constraint for testing if a given pattern parameter (
StringParameter) specifies a valid pattern for a given class
parameter (ClassParameter) defining a specific distance function.
| Field Summary | |
|---|---|
private StringParameter |
pattern
Deprecated. Pattern parameter to be checked for validity. |
private ClassParameter<D> |
restrictionClass
Deprecated. Class parameter whose restriction class is used to check the validity of the pattern parameter. |
| Constructor Summary | |
|---|---|
GlobalDistanceFunctionPatternConstraint(StringParameter pattern,
ClassParameter<D> restrClass)
Deprecated. Constructs a global parameter constraint for testing if a given pattern parameter is a valid argument for a given distance function of a class parameter. |
|
| Method Summary | |
|---|---|
String |
getDescription()
Deprecated. Returns a description of this global constraint. |
void |
test()
Deprecated. Tests if the pattern is valid for the distance function defined by the class parameter. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private ClassParameter<D extends DistanceFunction<?,?>> restrictionClass
private StringParameter pattern
| Constructor Detail |
|---|
public GlobalDistanceFunctionPatternConstraint(StringParameter pattern,
ClassParameter<D> restrClass)
pattern - the pattern parameterrestrClass - the class parameter defining a distance function| Method Detail |
|---|
public void test()
throws ParameterException
test in interface GlobalParameterConstraintParameterException - if the parameters don't satisfy the parameter constraint.public String getDescription()
GlobalParameterConstraint
getDescription in interface GlobalParameterConstraint
|
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||