elitism
object elitism
Type members
Types
Value members
Concrete methods
def keepHighestRanked[I, K](population: Vector[I], ranks: Vector[K], mu: Int, rng: Random)(implicit KO: Order[K]): Vector[I]
Returns the mu individuals with the highest ranks.
Returns the mu individuals with the highest ranks.
def keepOnFirstFront[I](population: Vector[I], fitness: I => Vector[Double], mu: Int, random: Random): Vector[I]
def mergeHistories[G, I, P](genome: I => G, history: Lens[I, Vector[P]], historyAge: Lens[I, Long], historySize: Int): (Vector[I], Vector[I]) => Vector[I]
def nicheElitism[I, N](population: Vector[I], keep: Vector[I] => Vector[I], niche: I => N): Vector[I]