Class KdTree<T extends KdTree.KdNode>
java.lang.Object
org.episteme.core.mathematics.structures.KdTree<T>
- Type Parameters:
T- The type of object stored, must carry coordinates.
Generic K-d Tree implementation for organizing points in a k-dimensional space.
Useful for nearest neighbor searches.
- Since:
- 1.0
- Author:
- Silvere Martin-Michiellot, Gemini AI (Google DeepMind)
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
KdTree
public KdTree(int k)
-
-
Method Details
-
insert
-
findNearest
-
rebuild
-