Interpolation expose ending refinement interations to othre fn

This commit is contained in:
Pitchaya Boonsarngsuk
2018-01-31 16:04:19 +00:00
parent 7bb1cd755b
commit 0b0cd6d545
3 changed files with 11 additions and 9 deletions

View File

@@ -32,6 +32,7 @@ export default function(sampleSet, remainderSet, distanceFn) {
if (index !== -1)
sampleSubsetDistanceCache[index] = dist;
}
placeNearToNearestNeighbour(node, nearestSample, minDist, sampleSubset, sampleSubsetDistanceCache);
placeNearToNearestNeighbour(node, nearestSample, minDist, sampleSubset, sampleSubsetDistanceCache, endingIts);
}
}