
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()