Details
-
Improvement
-
Status: Closed
-
Trivial
-
Resolution: Fixed
-
3.2
-
None
-
None
Description
The classes RandomDataGenerator and UniformIntegerDistribution use different codes for providing random integers in a range.
The version from RandomDataGenerator should be moved to the "sample()" method of UniformIntegerDistribution (cf. this post).
Then, RandomDataGenerator could eventually call that method in order to avoid code duplication.