
Algorithm::Evolutionary::Op::Selector - Abstract base class for population selectors

package My::Selector;
use base ' Algorithm::Evolutionary::Op::Selector';

Algorithm::Evolutionary::Op::Base

Abstract base class for population selectors; defines a few instance variables and interface elements

Creates a new selector which outputs a fixed amount of individuals. This goes to the base class, since all selectors must know in advance how many they need to generate
Applies the tournament selection to a population, returning another of the set size. This is an abstract method that should be implemented by descendants.


This file is released under the GPL. See the LICENSE file included in this distribution, or go to http://www.fsf.org/licenses/gpl.txt CVS Info: $Date: 2009/07/24 08:46:59 $ $Header: /cvsroot/opeal/Algorithm-Evolutionary/lib/Algorithm/Evolutionary/Op/Selector.pm,v 3.0 2009/07/24 08:46:59 jmerelo Exp $ $Author: jmerelo $