D
- Distance type@Reference(authors="M. Ester, H.-P. Kriegel, J. Sander, and X. Xu", title="A Density-Based Algorithm for Discovering Clusters in Large Spatial Databases with Noise", booktitle="Proc. 2nd Int. Conf. on Knowledge Discovery and Data Mining (KDD \'96), Portland, OR, 1996", url="http://citeseerx.ist.psu.edu/viewdoc/summary?doi=10.1.1.71.1980") public class EpsilonNeighborPredicate<O,D extends Distance<D>> extends Object implements NeighborPredicate
Reference:
M. Ester, H.-P. Kriegel, J. Sander, and X. Xu: A Density-Based Algorithm for
Discovering Clusters in Large Spatial Databases with Noise.
In Proc. 2nd Int. Conf. on Knowledge Discovery and Data Mining (KDD '96),
Portland, OR, 1996.
Modifier and Type | Class and Description |
---|---|
static class |
EpsilonNeighborPredicate.Instance<D extends Distance<D>>
Instance for a particular data set.
|
static class |
EpsilonNeighborPredicate.Parameterizer<O,D extends Distance<D>>
Parameterization class
|
Modifier and Type | Field and Description |
---|---|
(package private) DistanceFunction<O,D> |
distFunc
Distance function to use
|
(package private) D |
epsilon
Range to query with
|
Constructor and Description |
---|
EpsilonNeighborPredicate(D epsilon,
DistanceFunction<O,D> distFunc)
Full constructor.
|
Modifier and Type | Method and Description |
---|---|
TypeInformation |
getInputTypeRestriction()
Input data type restriction.
|
SimpleTypeInformation<?>[] |
getOutputType()
Output data type information.
|
<T> NeighborPredicate.Instance<T> |
instantiate(Database database,
SimpleTypeInformation<?> type)
Instantiate for a database.
|
DistanceFunction<O,D extends Distance<D>> distFunc
public EpsilonNeighborPredicate(D epsilon, DistanceFunction<O,D> distFunc)
epsilon
- Epsilon valuedistFunc
- Distance function to usepublic <T> NeighborPredicate.Instance<T> instantiate(Database database, SimpleTypeInformation<?> type)
NeighborPredicate
instantiate
in interface NeighborPredicate
database
- Database to instantiate forpublic SimpleTypeInformation<?>[] getOutputType()
NeighborPredicate
getOutputType
in interface NeighborPredicate
public TypeInformation getInputTypeRestriction()
NeighborPredicate
getInputTypeRestriction
in interface NeighborPredicate