nextWeight static method
Implementation
static double nextWeight() {
var x = rng.nextDouble() * 0.8 + 0.2;
return rng.nextBool() ? x : -x;
}
static double nextWeight() {
var x = rng.nextDouble() * 0.8 + 0.2;
return rng.nextBool() ? x : -x;
}