com.groovyj.jgprog
Class SelectionMethod

java.lang.Object
  |
  +--com.groovyj.jgprog.SelectionMethod
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
FitnessProportionateSelection, GreedyOverselection

public abstract class SelectionMethod
extends java.lang.Object
implements java.io.Serializable

Abstract class representing a method of selecting individuals for evolutionary operations. Classes extending this class must implement the select method.

Copyright (c) 2000 Robert Baruch. This code is released under the GNU General Public License (GPL).

Version:
$Id: SelectionMethod.java,v 1.2 2000/10/12 15:22:55 groovyjava Exp $
Author:
Robert Baruch (jgprog@sourceforge.net)
See Also:
Serialized Form

Constructor Summary
SelectionMethod()
           
 
Method Summary
abstract  Individual select(World world)
          Select an individual based on some method.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SelectionMethod

public SelectionMethod()
Method Detail

select

public abstract Individual select(World world)
Select an individual based on some method.
Parameters:
random - the random number generator to use
world - the World for the run
Returns:
the individual chosen from the world's population
Since:
1.0