evSOLve.JEvolution
Class NoSelection

java.lang.Object
  |
  +--evSOLve.JEvolution.NoSelection
All Implemented Interfaces:
Selection

public class NoSelection
extends java.lang.Object
implements Selection

All parents are selected into the next geneneration, i.e., there is no selection pressure (JEvolution native selection).

Version:
0.4
Author:
Helmut A. Mayer

Constructor Summary
NoSelection()
          Default constructor.
 
Method Summary
 void doSelect(Population parents, Population offspring)
          Simply copies parents to offspring without any selection.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NoSelection

public NoSelection()
Default constructor.
Method Detail

doSelect

public void doSelect(Population parents,
                     Population offspring)
Simply copies parents to offspring without any selection.
Specified by:
doSelect in interface Selection
Parameters:
parents - the Population of parents
offspring - the Population of survivors (in this case all parents)