public static final class ShortNearestNeighboursKDTree.Factory extends Object implements NearestNeighboursFactory<ShortNearestNeighboursKDTree,short>
|Constructor and Description|
Construct the factory the default number of trees and checks.
Construct the factory the given number of trees and checks.
|Modifier and Type||Method and Description|
public Factory(int ntrees, int nchecks)
ntrees- the number of trees
nchecks- the number of checks during search
public ShortNearestNeighboursKDTree create(short data)
NearestNeighboursobject that works over the provided data.