Change logging
This commit is contained in:
@@ -227,9 +227,6 @@ function ended() {
|
|||||||
return d.y*MULTIPLIER;
|
return d.y*MULTIPLIER;
|
||||||
});
|
});
|
||||||
//}
|
//}
|
||||||
console.log("Post stress", d3.calculateStress(nodes, function (n, m) {
|
|
||||||
return distanceFunction(n, m, props, norm);
|
|
||||||
}));
|
|
||||||
|
|
||||||
if (p1 !== 0) {
|
if (p1 !== 0) {
|
||||||
// Performance time measurement
|
// Performance time measurement
|
||||||
@@ -243,6 +240,9 @@ function ended() {
|
|||||||
p1 = 0;
|
p1 = 0;
|
||||||
p2 = 0;
|
p2 = 0;
|
||||||
}
|
}
|
||||||
|
console.log("Post stress", d3.calculateStress(nodes, function (n, m) {
|
||||||
|
return distanceFunction(n, m, props, norm);
|
||||||
|
}));
|
||||||
}
|
}
|
||||||
|
|
||||||
function brushEnded() {
|
function brushEnded() {
|
||||||
|
|||||||
@@ -16,12 +16,13 @@ function startHybridSimulation() {
|
|||||||
let forceSample = d3.forceNeighbourSampling()
|
let forceSample = d3.forceNeighbourSampling()
|
||||||
.neighbourSize(NEIGHBOUR_SIZE)
|
.neighbourSize(NEIGHBOUR_SIZE)
|
||||||
.sampleSize(SAMPLE_SIZE)
|
.sampleSize(SAMPLE_SIZE)
|
||||||
.stableVelocity(0)
|
.stableVelocity(0.43)
|
||||||
.distance(distance)
|
.distance(distance)
|
||||||
|
|
||||||
let forceFull = d3.forceNeighbourSampling()
|
let forceFull = d3.forceNeighbourSampling()
|
||||||
.neighbourSize(FULL_NEIGHBOUR_SIZE)
|
.neighbourSize(FULL_NEIGHBOUR_SIZE)
|
||||||
.sampleSize(FULL_SAMPLE_SIZE)
|
.sampleSize(FULL_SAMPLE_SIZE)
|
||||||
|
.stableVelocity(0.6)
|
||||||
.distance(distance)
|
.distance(distance)
|
||||||
|
|
||||||
let hybridSimulation = d3.hybridSimulation(simulation, forceSample, forceFull)
|
let hybridSimulation = d3.hybridSimulation(simulation, forceSample, forceFull)
|
||||||
|
|||||||
Reference in New Issue
Block a user