moea.moga.selector
Class Selector

java.lang.Object
  extended by moea.moga.selector.Selector
Direct Known Subclasses:
TournamentSelector

public abstract class Selector
extends java.lang.Object


Field Summary
protected  java.util.Comparator<Entity> comparator
           
protected  Chromosome[] pool
           
 
Constructor Summary
Selector(java.util.Comparator<Entity> comparator)
           
 
Method Summary
 void initialize(Population<Chromosome> pop)
           
 Chromosome select()
           
abstract  void update(Population<Chromosome> pop)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

comparator

protected java.util.Comparator<Entity> comparator

pool

protected Chromosome[] pool
Constructor Detail

Selector

public Selector(java.util.Comparator<Entity> comparator)
Method Detail

update

public abstract void update(Population<Chromosome> pop)

initialize

public void initialize(Population<Chromosome> pop)

select

public Chromosome select()