O - The input object typepublic static interface SharedNearestNeighborIndex.Factory<O> extends IndexFactory<O>
| Modifier and Type | Method and Description |
|---|---|
int |
getNumberOfNeighbors()
Get the number of neighbors
|
SharedNearestNeighborIndex<O> |
instantiate(Relation<O> database)
Instantiate the index for a given database.
|
getInputTypeRestrictionSharedNearestNeighborIndex<O> instantiate(Relation<O> database)
instantiate in interface IndexFactory<O>database - Database typeint getNumberOfNeighbors()
Copyright © 2019 ELKI Development Team. License information.