Skip to content

Align random int range generation with 'prngine' library #175

Closed
@jenetics

Description

The prngine library has a different contract for generating random integers within a given range. The nextInt(int, int) method of the prngine library return a random integer in a half-open range and Jenetics in a closed range. Using a half-open range for the internal helper classes of Jenetics as well. The creation of IntegerGenes and LongGenes will not change.

Metadata

Assignees

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions