add missing annotations

This commit is contained in:
Jonathan Shook 2023-12-07 21:23:50 -06:00
parent a347605911
commit 83812ef8d3

View File

@ -16,12 +16,18 @@
package io.nosqlbench.virtdata.library.basics.shared.vectors.dnn;
import io.nosqlbench.virtdata.api.annotations.Categories;
import io.nosqlbench.virtdata.api.annotations.Category;
import io.nosqlbench.virtdata.api.annotations.ThreadSafeMapper;
import java.util.function.IntFunction;
/**
* Compute the indices of the neighbors of a given v using DNN mapping.
* To avoid ambiguity on equidistant neighbors, odd neighborhood sizes are preferred.
*/
@ThreadSafeMapper
@Categories(Category.experimental)
public class DNN_euclidean_neighbors implements IntFunction<int[]> {
private final int D;