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

Method reset

JSAT/src/jsat/utils/IndexTable.java:123–127  ·  view source on GitHub ↗

Resets the index table so that the returned indices are in linear order, meaning the original input would be returned in its original order instead of sorted order.

()

Source from the content-addressed store, hash-verified

121 * instead of sorted order.
122 */
123 public void reset()
124 {
125 for(int i = 0; i < index.size(); i++)
126 index.set(i, i);
127 }
128
129 /**
130 * Reverse the current index order

Callers 6

fitMethod · 0.95
writePointMethod · 0.80
finishMethod · 0.80
mainLoopMethod · 0.80

Calls 2

sizeMethod · 0.65
setMethod · 0.45

Tested by 2