public class Tournament extends Object implements ISelect
Tournament: Metoda turniejowa.| Constructor and Description |
|---|
Tournament() |
| Modifier and Type | Method and Description |
|---|---|
int |
getArity()
Pobierz liczbę chromosomów biorących udział w turnieju.
|
LinkedList<Chromosome> |
select(LinkedList<Chromosome> chromosomes)
Funkcja select.
|
void |
setArity(int arity)
Ustaw liczbę chromosomów biorących udział w turnieju.
|
public final LinkedList<Chromosome> select(LinkedList<Chromosome> chromosomes) throws GeneticAlgorithmException
select in interface ISelectchromosomes - Lista chromosomów.GeneticAlgorithmException - (chromosomes == null)
or (fitnessFunction == null)public int getArity()
public void setArity(int arity)
arity - Liczba chromosomów biorących udział w turnieju.Copyright © 2008–2015 Delhezi. All rights reserved.