es.udc.gii.common.eaf.algorithm.operator.selection
Class InheritExtintionOperator

java.lang.Object
  extended by es.udc.gii.common.eaf.algorithm.operator.selection.SelectionOperator
      extended by es.udc.gii.common.eaf.algorithm.operator.selection.ExtintionOperator
          extended by es.udc.gii.common.eaf.algorithm.operator.selection.InheritExtintionOperator
All Implemented Interfaces:
Operator, Configurable

public class InheritExtintionOperator
extends ExtintionOperator

Author:
ronin

Nested Class Summary
 
Nested classes/interfaces inherited from class es.udc.gii.common.eaf.algorithm.operator.selection.ExtintionOperator
ExtintionOperator.Wxy, ExtintionOperator.WxyMaximizing, ExtintionOperator.WxyMinimizing
 
Constructor Summary
InheritExtintionOperator()
           
 
Method Summary
 java.util.List<Individual> operate(EvolutionaryAlgorithm algorithm, java.util.List<Individual> individuals)
          Execute this operator over a group of individuals.
 
Methods inherited from class es.udc.gii.common.eaf.algorithm.operator.selection.ExtintionOperator
configure, select
 
Methods inherited from class es.udc.gii.common.eaf.algorithm.operator.selection.SelectionOperator
toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

InheritExtintionOperator

public InheritExtintionOperator()
Method Detail

operate

public java.util.List<Individual> operate(EvolutionaryAlgorithm algorithm,
                                          java.util.List<Individual> individuals)
                                   throws OperatorException
Description copied from interface: Operator
Execute this operator over a group of individuals. This method will be invoked by the current algorithm during its execution. It will be applied on a list of individuals and will return a list of modified individuals.

This method will recive two parameters. The current algorithm, to visit it if it is necessary, for example, to get some parameter of the current execution. And a list of individuals on wich we will apply this operator.

Specified by:
operate in interface Operator
Overrides:
operate in class ExtintionOperator
Parameters:
algorithm - the current algorithm, to visit when it is necessary.
individuals - list of individuals on wich we will apply the operator.
Returns:
the result of apply this operator to a individuals' lisr.
Throws:
OperatorException - when occurs some type of error during the execution of this operator.