org.vizzini.ai.geneticalgorithm
Class RandomSelector

java.lang.Object
  extended by org.vizzini.ai.geneticalgorithm.AbstractSelector
      extended by org.vizzini.ai.geneticalgorithm.RandomSelector
All Implemented Interfaces:
ISelector

public class RandomSelector
extends AbstractSelector

Provides a chromosome selector which simply randomly selects from the population.

Since:
v0.3
Version:
v0.3
Author:
Jeffrey M. Thompson

Constructor Summary
RandomSelector()
           
 
Method Summary
 IChromosome selectNext()
          Select the next chromosome from the population.
 
Methods inherited from class org.vizzini.ai.geneticalgorithm.AbstractSelector
checkState, getLastIndex, getPopulation, init, setLastIndex, setPopulation
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RandomSelector

public RandomSelector()
Method Detail

selectNext

public IChromosome selectNext()
Select the next chromosome from the population.

Since:
v0.3


Copyright 2007 Vizzini.org. All Rights Reserved. 2007.12.25.03.00.02