protected function generateRandomWeight() : float { return 1 / rand(5, 25) * (rand(0, 1) ? -1 : 1); }