KDTree { public boolean isLeaf() { return this.loChild == null && this.hiChild == null; } KDTree(List<Datum> data, int leafCapacity); RealVector[] getMinMaxDistanceVectors(Datum queryDatum); double[] estimateL2DistanceSquared(Datum queryDatum); boolean isInsideBoundaries(Datum queryDatum); List<Datum> getItems(); RealVector getMean(); double[][] getBoundaries(); KDTree getLoChild(); KDTree getHiChild(); boolean isLeaf(); int getnBelow(); int getSplitDimension(); String toString(int indent); String toString();  }
@Test public void testPooledCovariance() throws Exception { this.setUpSimpleCsv(); KDTree node; node = new KDTree(data, 200); assertTrue(node.isLeaf()); }