Neighbor sampling remove distance threshold

This commit is contained in:
Pitchaya Boonsarngsuk
2018-01-24 21:19:56 +00:00
parent 918275ce45
commit 36ddbd13c4
2 changed files with 3 additions and 13 deletions

View File

@@ -3,7 +3,7 @@
*/
function startNeighbourSamplingSimulation() {
console.log("startNeighbourSamplingSimulation");
springForce = true;
//springForce = true;
simulation.stop();
p1 = performance.now();
@@ -14,7 +14,6 @@ function startNeighbourSamplingSimulation() {
.neighbourSize(NEIGHBOUR_SIZE)
.sampleSize(SAMPLE_SIZE)
// .freeness(0.5)
.distanceRange(SELECTED_DISTANCE)
// The distance function that will be used to calculate distances
// between nodes.
.distance(function (s, t) {