Refactor and comment hybrid simulation

This commit is contained in:
Pitchaya Boonsarngsuk
2018-01-31 16:01:54 +00:00
parent e700df5059
commit 3f21a875df
2 changed files with 76 additions and 52 deletions

View File

@@ -25,6 +25,5 @@ function startNeighbourSamplingSimulation() {
.on("end", ended)
.force(forceName, force);
// Restart the simulation.
console.log(simulation.force(forceName).neighbourSize(), simulation.force(forceName).sampleSize());
simulation.restart();
}