Refactor: Extract getStress

This commit is contained in:
Pitchaya Boonsarngsuk
2018-01-19 10:56:30 +00:00
parent 8ed4500280
commit 816a086ebd
6 changed files with 30 additions and 53 deletions

View File

@@ -1,5 +1,5 @@
import { pointOnCircle, takeSampleFrom } from "./helpers";
import { placeNearToNearestNeighbour } from "./interpCommon";
import {pointOnCircle, takeSampleFrom} from "./helpers";
import {placeNearToNearestNeighbour} from "./interpCommon";
export default function(sampleSet, remainderSet, distanceFn) {
// var distance = calculateEuclideanDistance;