neat.STree.getNearestNeighbours¶
-
STree.
getNearestNeighbours
(node, nodes)[source]¶ Find the nearest neighbours of
node
innodes
. Ifnodes
containsnode
, it is excluded from the search.When a node in the up-direction is a bifurcation node and in
nodes
, nodes in its other subtree are excluded from the search!!! Untested
- Parameters
node (neat.SNode) – node for which the nearest neighbours are sought
nodes (list of neat.SNode) – list in which nearest neighbours of
node
are sought