public class RouletteWheelEffectiveImplementation extends Object implements ISelect
RouletteWheelEffectiveImplementation: Metoda ruletki
implementacja efektywna;
Koszt stały + liniowy koszt inicjacji tablic zależny od wielkości
populacji.
M. D. Vose, A Linear Algorithm For Generating Random Numbers With a
Given Distribution, IEEE Transactions on Software Engineering,
vol. 17, no. 9, september 1991
Metoda ruletki - (odmiana reprodukcji proporcjonalnej. W reprodukcji
proporcjonalnej prawdopodobieństwo wyboru osobnika do puli rodzicielskiej
zależne jest od wartości funkcji przystosowania danego osobnika;)| Constructor and Description |
|---|
RouletteWheelEffectiveImplementation() |
| Modifier and Type | Method and Description |
|---|---|
LinkedList<Chromosome> |
select(LinkedList<Chromosome> chromosomes)
Funkcja selekcji.
|
public RouletteWheelEffectiveImplementation()
public final LinkedList<Chromosome> select(LinkedList<Chromosome> chromosomes) throws GeneticAlgorithmException
chromosomes - Lista chromosomów.GeneticAlgorithmException - (chromosomes == null)
or (fitnessFunction == null)Copyright © 2008–2015 Delhezi. All rights reserved.