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

Method contains

JSAT/src/jsat/linear/vectorcollection/RTree.java:403–409  ·  view source on GitHub ↗
(Vec point)

Source from the content-addressed store, hash-verified

401 }
402
403 boolean contains(Vec point)
404 {
405 for(int i = 0; i < uB.length(); i++)
406 if(this.uB.get(i) < point.get(i) || this.lB.get(i) > point.get(i))
407 return false;
408 return true;
409 }
410
411 void adjustToContain(Vec point)
412 {

Callers 6

RNodeMethod · 0.95
splitNodeMethod · 0.95
searchMethod · 0.45
minDistMethod · 0.45
minMaxDistMethod · 0.45
maxDistMethod · 0.45

Calls 7

lengthMethod · 0.95
setMethod · 0.95
sizeMethod · 0.65
lengthMethod · 0.45
getMethod · 0.45
maxMethod · 0.45
minMethod · 0.45

Tested by

no test coverage detected