Variables | |
nns = NearestNeighbourSearch(x) | |
q = np.array([[1.1, 2.]]) | |
res = nns.knn(q, 2, 0, SearchOptionFlags.ALLOW_SELF_MATCH) | |
x = np.array([[0.,3.], [1,2], [4,5]]) | |
test.nns = NearestNeighbourSearch(x) |
test.res = nns.knn(q, 2, 0, SearchOptionFlags.ALLOW_SELF_MATCH) |