net.openai.ai.ga.selection.common
Class SelectNone

java.lang.Object
  |
  +--net.openai.ai.ga.selection.common.SelectNone
All Implemented Interfaces:
SelectionAlgorithm

public class SelectNone
extends java.lang.Object
implements SelectionAlgorithm

SelectNone is a SelectionAlgorithm that will returns a clone of the passed Population, but with no members.

Since:
JDK1.3
Version:
%I%, %G%
Author:
Jared Grubb

Constructor Summary
SelectNone()
          Creates a new SelectNone object.
 
Method Summary
 Population selectFromPopulation(Population pop)
          Returns a Population that is a clone of the specified Population but has no members.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SelectNone

public SelectNone()
Creates a new SelectNone object.

Method Detail

selectFromPopulation

public Population selectFromPopulation(Population pop)
Returns a Population that is a clone of the specified Population but has no members.

Specified by:
selectFromPopulation in interface SelectionAlgorithm
Parameters:
pop - the Population to choose from
Returns:
an empty cloned Population


Copyright - 2001 OpenAI Labs. All Rights Reserved.