MCPcopy Create free account
hub / github.com/EdwardRaff/JSAT / size

Method size

JSAT/src/jsat/linear/vectorcollection/RTree.java:228–234  ·  view source on GitHub ↗

If this node is a leaf, it returns the number of vectors contained by it. Otherwise, it returns the number of children nodes this node contains @return the number of elements contained by this noe

()

Source from the content-addressed store, hash-verified

226 * @return the number of elements contained by this noe
227 */
228 private int size()
229 {
230 if(isLeaf())
231 return points.size();
232 else
233 return children.size();
234 }
235
236 @Override
237 protected RNode<V> clone()

Callers 2

addMethod · 0.95
splitNodeMethod · 0.95

Calls 2

isLeafMethod · 0.95
sizeMethod · 0.65

Tested by

no test coverage detected