9 #ifndef MKNN_PREDEFINED_INDEX_H_
10 #define MKNN_PREDEFINED_INDEX_H_
16 #include "../metricknn_c.h"
79 int64_t knn,
double range, int64_t max_threads);
90 int64_t knn, int64_t max_threads);
121 int64_t knn,
double range, int64_t max_threads);
132 int64_t knn,
double range, int64_t max_threads,
133 double approximation_percentage);
164 int64_t knn,
double range, int64_t max_threads);
217 int64_t key_size, int64_t multi_probe_level);
230 double target_precision,
double build_weight,
double memory_weight,
231 double sample_fraction);
241 int64_t knn, int64_t max_threads);
253 int64_t knn, int64_t max_threads, int64_t num_checks);
MknnResolverParams * mknn_predefIndex_LinearScan_resolverExactFarthestNeighbors(int64_t knn, int64_t max_threads)
Creates a new resolver for exact search of the K farthest neighbors using the linear scan index...
Definition: predefined_index.c:28
MknnResolverParams * mknn_predefIndex_Laesa_resolverExactNearestNeighbors(int64_t knn, double range, int64_t max_threads)
Creates a new resolver for exact search using the LAESA index.
Definition: predefined_index.c:45
MknnIndexParams * mknn_predefIndex_LinearScan_indexParams()
Resolves searches using the linear scan algorithm.
Definition: predefined_index.c:11
MknnIndexParams * mknn_predefIndex_FlannLSH_indexParams(int64_t table_number, int64_t key_size, int64_t multi_probe_level)
Resolves searches using FLANN's implementation of Local Sensitive Hashing.
Definition: predefined_index.c:111
MknnIndexParams * mknn_predefIndex_FlannKmeansTree_indexParams(int64_t branching, int64_t iterations)
Resolves searches using FLANN's implementation of k-means tree.
Definition: predefined_index.c:103
MknnIndexParams * mknn_predefIndex_SnakeTable_indexParams(int64_t num_pivots)
Resolves searches using a Snake Table.
Definition: predefined_index.c:72
bool mknn_predefIndex_testIndexId(const char *id_index)
Tests whether the given string references a valid pre-defined index.
Definition: index.c:70
MknnIndexParams * mknn_predefIndex_FlannLinearScan_indexParams()
Resolves searches using the FLANN's implementation of linear scan algorithm.
Definition: predefined_index.c:91
MknnIndexParams * mknn_predefIndex_FlannAutoIndex_indexParams(double target_precision, double build_weight, double memory_weight, double sample_fraction)
Resolves searches using FLANN's automatic selection of the best algorithm.
Definition: predefined_index.c:120
MknnResolverParams * mknn_predefIndex_SnakeTable_resolverExactNearestNeighbors(int64_t knn, double range, int64_t max_threads)
Creates a new resolver for exact search using the SnakeTable index.
Definition: predefined_index.c:79
MknnResolverParams * mknn_predefIndex_Flann_resolverExactNearestNeighbors(int64_t knn, int64_t max_threads)
Creates a new resolver for exact searches using FLANN's indexes.
Definition: predefined_index.c:132
Definition: parameters.c:23
void mknn_predefIndex_helpListIndexes()
Lists to standard output all pre-defined indexes.
Definition: index.c:93
MknnResolverParams * mknn_predefIndex_Laesa_resolverApproximateNearestNeighbors(int64_t knn, double range, int64_t max_threads, double approximation_percentage)
Definition: predefined_index.c:56
void mknn_predefIndex_helpPrintIndex(const char *id_index)
Prints to standard output the help for a index.
Definition: index.c:88
MknnResolverParams * mknn_predefIndex_Flann_resolverApproximateNearestNeighbors(int64_t knn, int64_t max_threads, int64_t num_checks)
Creates a new resolver for approximate searches using FLANN's indexes.
Definition: predefined_index.c:142
Definition: parameters.c:28
MknnIndexParams * mknn_predefIndex_Laesa_indexParams(int64_t num_pivots)
Resolves searches using the LAESA algorithm.
Definition: predefined_index.c:39
MknnIndexParams * mknn_predefIndex_FlannKdTree_indexParams(int64_t num_trees)
Resolves searches using FLANN's implementation of kd-tree.
Definition: predefined_index.c:97
MknnResolverParams * mknn_predefIndex_LinearScan_resolverExactNearestNeighbors(int64_t knn, double range, int64_t max_threads)
Creates a new resolver for exact search of the K nearest neighbors using the linear scan index...
Definition: predefined_index.c:16