edu.udo.cs.yale.operator.features
Class RedundanceRemoval

java.lang.Object
  extended by edu.udo.cs.yale.operator.features.RedundanceRemoval
All Implemented Interfaces:
PopulationOperator

public class RedundanceRemoval
extends java.lang.Object
implements PopulationOperator

Ensures that every individual appears only once.

Version:
$Id: RedundanceRemoval.java,v 2.8 2006/03/21 15:35:42 ingomierswa Exp $
Author:
Simon Fischer, Ingo Mierswa

Constructor Summary
RedundanceRemoval()
           
 
Method Summary
 void operate(Population pop)
          Modifies the population.
 boolean performOperation(int generation)
          The default implementation returns true for every generation.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RedundanceRemoval

public RedundanceRemoval()
Method Detail

performOperation

public boolean performOperation(int generation)
The default implementation returns true for every generation.

Specified by:
performOperation in interface PopulationOperator


operate

public void operate(Population pop)
Description copied from interface: PopulationOperator
Modifies the population.

Specified by:
operate in interface PopulationOperator



Copyright © 2001-2006