# Generated by using Rcpp::compileAttributes() -> do not edit by hand
# Generator token: 10BE3573-1514-4C36-9D1C-5A225CD40393

annoy_version <- function() {
    .Call('_BiocNeighbors_annoy_version', PACKAGE = 'BiocNeighbors')
}

build_annoy <- function(mat, ntrees, fname, dtype) {
    .Call('_BiocNeighbors_build_annoy', PACKAGE = 'BiocNeighbors', mat, ntrees, fname, dtype)
}

build_hnsw <- function(mat, nlinks, ef_construct, fname, dtype) {
    .Call('_BiocNeighbors_build_hnsw', PACKAGE = 'BiocNeighbors', mat, nlinks, ef_construct, fname, dtype)
}

build_vptree <- function(Mat, dtype) {
    .Call('_BiocNeighbors_build_vptree', PACKAGE = 'BiocNeighbors', Mat, dtype)
}

find_annoy <- function(to_check, ndims, fname, search_mult, dtype, nn, get_index, get_distance, last) {
    .Call('_BiocNeighbors_find_annoy', PACKAGE = 'BiocNeighbors', to_check, ndims, fname, search_mult, dtype, nn, get_index, get_distance, last)
}

find_exhaustive <- function(to_check, X, dtype, nn, get_index, get_distance, last, warn_ties) {
    .Call('_BiocNeighbors_find_exhaustive', PACKAGE = 'BiocNeighbors', to_check, X, dtype, nn, get_index, get_distance, last, warn_ties)
}

range_find_exhaustive <- function(to_check, X, dtype, dist_thresh, get_index, get_distance) {
    .Call('_BiocNeighbors_range_find_exhaustive', PACKAGE = 'BiocNeighbors', to_check, X, dtype, dist_thresh, get_index, get_distance)
}

find_hnsw <- function(to_check, vals, fname, ef_search, dtype, nn, get_index, get_distance, last) {
    .Call('_BiocNeighbors_find_hnsw', PACKAGE = 'BiocNeighbors', to_check, vals, fname, ef_search, dtype, nn, get_index, get_distance, last)
}

find_kmknn <- function(to_check, X, clust_centers, clust_info, dtype, nn, get_index, get_distance, last, warn_ties) {
    .Call('_BiocNeighbors_find_kmknn', PACKAGE = 'BiocNeighbors', to_check, X, clust_centers, clust_info, dtype, nn, get_index, get_distance, last, warn_ties)
}

range_find_kmknn <- function(to_check, X, clust_centers, clust_info, dtype, dist_thresh, get_index, get_distance) {
    .Call('_BiocNeighbors_range_find_kmknn', PACKAGE = 'BiocNeighbors', to_check, X, clust_centers, clust_info, dtype, dist_thresh, get_index, get_distance)
}

find_mutual_nns <- function(left, right) {
    .Call('_BiocNeighbors_find_mutual_nns', PACKAGE = 'BiocNeighbors', left, right)
}

find_vptree <- function(to_check, X, nodes, dtype, nn, get_index, get_distance, last, warn_ties) {
    .Call('_BiocNeighbors_find_vptree', PACKAGE = 'BiocNeighbors', to_check, X, nodes, dtype, nn, get_index, get_distance, last, warn_ties)
}

range_find_vptree <- function(to_check, X, nodes, dtype, dist_thresh, get_index, get_distance) {
    .Call('_BiocNeighbors_range_find_vptree', PACKAGE = 'BiocNeighbors', to_check, X, nodes, dtype, dist_thresh, get_index, get_distance)
}

query_annoy <- function(query, ndims, fname, search_mult, dtype, nn, get_index, get_distance, last) {
    .Call('_BiocNeighbors_query_annoy', PACKAGE = 'BiocNeighbors', query, ndims, fname, search_mult, dtype, nn, get_index, get_distance, last)
}

query_exhaustive <- function(query, X, dtype, nn, get_index, get_distance, last, warn_ties) {
    .Call('_BiocNeighbors_query_exhaustive', PACKAGE = 'BiocNeighbors', query, X, dtype, nn, get_index, get_distance, last, warn_ties)
}

range_query_exhaustive <- function(query, X, dtype, dist_thresh, get_index, get_distance) {
    .Call('_BiocNeighbors_range_query_exhaustive', PACKAGE = 'BiocNeighbors', query, X, dtype, dist_thresh, get_index, get_distance)
}

query_hnsw <- function(query, vals, fname, ef_search, dtype, nn, get_index, get_distance, last) {
    .Call('_BiocNeighbors_query_hnsw', PACKAGE = 'BiocNeighbors', query, vals, fname, ef_search, dtype, nn, get_index, get_distance, last)
}

query_kmknn <- function(query, X, clust_centers, clust_info, dtype, nn, get_index, get_distance, last, warn_ties) {
    .Call('_BiocNeighbors_query_kmknn', PACKAGE = 'BiocNeighbors', query, X, clust_centers, clust_info, dtype, nn, get_index, get_distance, last, warn_ties)
}

range_query_kmknn <- function(query, X, clust_centers, clust_info, dtype, dist_thresh, get_index, get_distance) {
    .Call('_BiocNeighbors_range_query_kmknn', PACKAGE = 'BiocNeighbors', query, X, clust_centers, clust_info, dtype, dist_thresh, get_index, get_distance)
}

query_vptree <- function(query, X, nodes, dtype, nn, get_index, get_distance, last, warn_ties) {
    .Call('_BiocNeighbors_query_vptree', PACKAGE = 'BiocNeighbors', query, X, nodes, dtype, nn, get_index, get_distance, last, warn_ties)
}

range_query_vptree <- function(query, X, nodes, dtype, dist_thresh, get_index, get_distance) {
    .Call('_BiocNeighbors_range_query_vptree', PACKAGE = 'BiocNeighbors', query, X, nodes, dtype, dist_thresh, get_index, get_distance)
}

