dLife Home Page

dlife.ga
Interface ParentSelector

All Superinterfaces:
Serializable
All Known Implementing Classes:
RouletteWheel, TournamentSelector

public interface ParentSelector
extends Serializable

This interface defines the method that must be implemented by any class that will be used to select parents for reproduction.

Version:
Jan 7, 2007
Author:
Grant Braught, Dickinson College

Method Summary
 Individual pickParent(Population pop)
          Choose an Individual from the specified Population to become a parent.
 

Method Detail

pickParent

Individual pickParent(Population pop)
Choose an Individual from the specified Population to become a parent.

Parameters:
pop - the Population.
Returns:
the Individual selected to become a Parent.

dLife Home Page