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

Method addAll

JSAT/src/jsat/linear/vectorcollection/VectorArray.java:85–93  ·  view source on GitHub ↗
(Collection<? extends V> c)

Source from the content-addressed store, hash-verified

83 }
84
85 @Override
86 public boolean addAll(Collection<? extends V> c)
87 {
88 boolean toRet = super.addAll(c);
89 if(this.distCache != null)
90 for(V v : c)
91 this.distCache.addAll(this.distanceMetric.getQueryInfo(v));
92 return toRet;
93 }
94
95 @Override
96 public V remove(int index)

Callers 11

testSearch_Vec_doubleMethod · 0.95
simpleInsertMethod · 0.45
descendantsMethod · 0.45
nextMethod · 0.45
addMethod · 0.45
searchMethod · 0.45
splitNodeMethod · 0.45
insertMethod · 0.45
allNearestNeighborsMethod · 0.45
allEpsNeighborsMethod · 0.45
insertMethod · 0.45

Calls 1

getQueryInfoMethod · 0.65

Tested by 1

testSearch_Vec_doubleMethod · 0.76