Class KdTreeSearchBestBinFirst
- java.lang.Object
-
- org.ddogleg.nn.alg.KdTreeSearchBestBinFirst
-
- Direct Known Subclasses:
- KdTreeSearch1Bbf, KdTreeSearchNBbf
public abstract class KdTreeSearchBestBinFirst extends java.lang.ObjectApproximate search for
K-D Treesusing the best-bin-first method [1] that supports multiple trees. A priority queue is created where nodes that are more likely to contain points close to the target are given higher priority. It is approximate since only predetermined number of nodes are considered.Searches are initialized by searching each tree at least once down to a leaf. As these searches are performed, unexplored regions are added to the priority queue. Searching multiple trees is in response to [2], which proposes using a set of random trees to improve search performance and take better advantage of structure found in the data.
[1] Beis, Jeffrey S. and Lowe, David G, "Shape Indexing Using Approximate Nearest-Neighbour Search in High-Dimensional Spaces" CVPR 1997
[2] Silpa-Anan, C. and Hartley, R. "Optimised KD-trees for fast image descriptor matching" CVPR 2008
-
-
Constructor Summary
Constructors Constructor and Description KdTreeSearchBestBinFirst(int maxNodesSearched)Configures the search
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description void_findClosest(double[] target)voidsetMaxDistance(double maxDistance)voidsetTree(KdTree tree)voidsetTrees(KdTree[] trees)
-
DataMelt 3.0 © DataMelt by jWork.ORG