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

Method VPLeaf

JSAT/src/jsat/linear/vectorcollection/VPTree.java:650–659  ·  view source on GitHub ↗
(List<Pair<Double, Integer>> points)

Source from the content-addressed store, hash-verified

648 DoubleList bounds;
649
650 public VPLeaf(List<Pair<Double, Integer>> points)
651 {
652 this.points = new IntList(points.size());
653 this.bounds = new DoubleList(points.size());
654 for(int i = 0; i < points.size(); i++)
655 {
656 this.points.add(points.get(i).getSecondItem());
657 this.bounds.add(points.get(i).getFirstItem());
658 }
659 }
660
661 public VPLeaf(VPLeaf toCopy)
662 {

Callers

nothing calls this directly

Calls 5

sizeMethod · 0.65
addMethod · 0.45
getSecondItemMethod · 0.45
getMethod · 0.45
getFirstItemMethod · 0.45

Tested by

no test coverage detected