
O - The input object typeI - Index type producedpublic static interface SharedNearestNeighborIndex.Factory<O,I extends SharedNearestNeighborIndex<O>> extends IndexFactory<O,I>
| Modifier and Type | Method and Description |
|---|---|
int |
getNumberOfNeighbors()
Get the number of neighbors
|
I |
instantiate(Relation<O> database)
Instantiate the index for a given database.
|
getInputTypeRestrictionI instantiate(Relation<O> database)
instantiate in interface IndexFactory<O,I extends SharedNearestNeighborIndex<O>>database - Database typeint getNumberOfNeighbors()
Copyright © 2015 ELKI Development Team, Lehr- und Forschungseinheit für Datenbanksysteme, Ludwig-Maximilians-Universität München. License information.