Uses of Class
org.ddogleg.nn.alg.KdTree.Node
-
Uses of KdTree.Node in org.ddogleg.nn.alg
Modifier and TypeFieldDescription@Nullable KdTree.Node
KdTree.Node.left
Branch ≤ point[split]KdTreeResult.node
@Nullable KdTree.Node
KdTree.Node.right
Branch ≥ point[split]@Nullable KdTree.Node
KdTree.root
Modifier and TypeFieldDescriptionprotected List<KdTree.Node>
KdTreeMemory.open
protected List<KdTree.Node>
KdTreeMemory.unusedNodes
Modifier and TypeMethodDescriptionprotected KdTree.Node
KdTreeConstructor.computeBranch
(List<P> points, @Nullable DogArray_I32 indexes) Given the data inside this particular node, select a point for the node and compute the node's childrenprotected KdTree.Node
KdTreeConstructor.computeChild
(List<P> points, @Nullable DogArray_I32 indexes) Creates a child by checking to see if it is a leaf or branch.KdTreeSearch1.findNeighbor
(P target) Searches for the nearest neighbor to the target.KdTreeMemory.requestNode()
Returns a new node.KdTreeMemory.requestNode
(P point, int index) Request a leaf node be returned. -
Uses of KdTree.Node in org.ddogleg.nn.alg.searches
Modifier and TypeMethodDescriptionKdTreeSearch1Bbf.findNeighbor
(P target) KdTreeSearch1Standard.findNeighbor
(P target) Finds the node which is closest to 'target'Modifier and TypeMethodDescriptionprotected void
KdTreeSearchBestBinFirst.addToQueue
(double closestDistanceSq, KdTree.Node node, P target) Adds a node to the priority queue.protected void
KdTreeSearch1Bbf.checkBestDistance
(KdTree.Node node, P target) Checks to see if the current node's point is the closet point found so farprotected abstract void
KdTreeSearchBestBinFirst.checkBestDistance
(KdTree.Node node, P target) Checks to see if the current node's point is the closet point found so farprotected void
KdTreeSearchNBbf.checkBestDistance
(KdTree.Node node, P target) Checks to see if the current node's point is the closet point found so farprotected void
KdTreeSearchBestBinFirst.searchNode
(P target, KdTree.Node n) Traverse a node down to a leaf.