v8.0.0
Improvements
- Java 21 is used for building and using the library.
- #878: Allow Virtual-Threads evaluating the fitness function. Must be enabled when creating an
Engine(see code snippet below), the previous behaviour has been preserverd.
final Engine<DoubleGene, Double> engine = Engine.builder(ff)
.fitnessExecutor(BatchExecutor.ofVirtualThreads())
.build();
- #880: Replace code examples in Javadoc with JEP 413.
- #886: Improve
CharStoresort. - #894: New genetic operators:
ShiftMutator,ShuffleMutatorandUniformOrderBasedCrossover. - #895: Improve default
RandomGeneratorselection. The usedRandomGeneratoris selected in the following order:- Check if the
io.jenetics.util.defaultRandomGeneratorstart parameter is set. If so, take this generator. - Check if the
L64X256MixRandomgenerator is available. If so, take this generator. - Find the best available random generator according to the
RandomGeneratorFactory.stateBits()value. - Use the
Randomgenerator if no best generator can be found. This generator is guaranteed to be available on every platform.
- Check if the