nextWeight static method

double nextWeight()

Implementation

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