Orbital library

orbital.algorithm.evolutionary
Class Selectors

java.lang.Object
  extended by orbital.algorithm.evolutionary.Selectors

public class Selectors
extends java.lang.Object

Selection schemes for evolutionary genetic algorithms. Selectors select a parent from the genomes.

Author:
André Platzer
See Also:
Setops, Callback, GeneticAlgorithm.setSelection(Function)
Stereotype:
Module

Method Summary
static Function likelyBetter()
          Better genomes will more likely be selected.
static Function rank()
          One of the best genomes will be selected, randomly.
static Function rouletteWheel()
          Better genomes will more likely be selected.
static Function tournament()
          Pick the better one of two genomes selected with roulette wheel.
static Function uniform()
          All genomes will be selected with uniform probability 1/n.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

rouletteWheel

public static final Function rouletteWheel()
Better genomes will more likely be selected. Weighted roulette wheel selector.

See Also:
likelyBetter()
Preconditions:
requires either strictly negative or strictly positive fitness values.

likelyBetter

public static final Function likelyBetter()
Better genomes will more likely be selected. Unconstrained but less accurate version of roulette wheel. Uses a Las Vegas loop.

See Also:
rouletteWheel()

tournament

public static final Function tournament()
Pick the better one of two genomes selected with roulette wheel. Tournament selector returns slightly better genomes than roulette wheel.


rank

public static final Function rank()
One of the best genomes will be selected, randomly. Rank selector.


uniform

public static final Function uniform()
All genomes will be selected with uniform probability 1/n. Uniform selector.


Orbital library
1.3.0: 11 Apr 2009

Copyright © 1996-2009 André Platzer
All Rights Reserved.