Recombination

This package contains implementations of recombination strategies.

Diagram Overview

IRecombinePopulation

IRecombinePopulation<S extends ISolution> is the root interface of this package. It defines a strategy for recombining a population.

Its currently sole implementation is PairedRecombinedPopulation, which recombines solutions pair by pair, with some probability, using a IRecombine<S> strategy to perform the actual recombination

IRecombine

IRecombine<S extends ISolution> is the strategy that actually performs the recombination of two given solutions.

Current implementations are:

  • ContinuousRecombine - for each pair of genes, new values are taken somewhere continuously between the old ones
  • UniformRecombine - each pair of genes is swapped with a probability of 0.5
  • OnePointRecombine - a point is chosen at random, and all pair of genes beyond that point are swapped

Attachments: