Skip to content

v4.0.0

Compare
Choose a tag to compare
@jenetics jenetics released this 16 Nov 20:29
· 4625 commits to master since this release

Improvements

  • #28: Immutable population class. The original Population class has been replaced by Seq<Phenotype<G, C>>. This points to a more functional implementation of the library.
  • #119: Chromosome implementations are now fully immutable. This is an internal change only.
  • #121: Mutator class is easier now to extend. It has been extended with additional mutate methods which serves as extension points for onw Mutator implementations.
  • #123: Chromosome with variable number of genes: Most chromosomes can now be created with a variable number of genes. DoubleChromosome.of(0.0, 1.0, IntRange.of(5, 16)).
  • #172: io.jenetics.prngine library replaces the existing PRNG implementations in the io.jenetics.base module.
  • #175: Align random int range generation with io.jenetics.prngine library. This is an internal change only.
  • #180: Change library namespace from org.jenetics to io.jenetics. This is the most invasive change of this release. Users have to adopt the imports in all their code.
  • #183: Change copyright email address to ...@gmail.com
  • #200: Implementation of gene convergence termination: A termination method that stops the evolution when a user-specified percentage of the genes that make up a Genotype are deemed as converged. A gene is deemed as converged when the average value of that gene across all of the genotypes in the current population is less than a user-specified percentage away from the maximum gene value across the genotypes.
  • #253: Removal of deprecated code and classes: mainly JAXB marshalling and the LCG64ShiftRandom class.
  • #260: Clean room implementation of internal subset function. This method was a port from the C++ source written by John Burkardt. The original source has been published under the LGPL licence, which is not compatible to tha Apache 2 licence. To avoid legal issues, the affected method has been reimplemented using the Clean Room method, based on the original book, Combinatorial Algorithms for Computers and Calculators, by Albert Nijenhuis and Herbert Wilf. The io.jenetics.internal.math.comb.subset method is now fully compatible with the Apache 2 licence.
  • #262: Filter for duplicate individuals: It is now possible to intercept the stream of EvolutionResults of the evolution Engine:
final Engine<DoubleGene, Integer> engine = Engine.builder(problem)
	.mapping(EvolutionResult.toUniquePopulation())
	.build();
  • #264: Upgrade Gradle to version 4.3.
  • #266: The Seq serialization should be more robust in the case of implementation changes.
  • #268: Implementation of an EliteSelector.
  • #269: Cleanup of internal, mathematical helper functions.
  • #272: Obey Java naming convention. Two helper classes have been renamed to obey the Java naming conventions. codecs -> Codecs and limits -> Limits.
  • #279: Additional MSeq.swap method.

Bugs

  • #247: Fix the classpath of the jrun helper script.
  • #256: Buggy type signature of AnyChromosome.of method.