Evolvica Core API Version 0.6.2
Last Modified: June 29 2004

org.evolvica.core.recombine.Int
Class IntegerRecombinator

java.lang.Object
  extended byorg.evolvica.engine.AbstractOperator
      extended byorg.evolvica.core.common.AbstractGeneticOperator
          extended byorg.evolvica.core.recombine.AbstractRecombinator
              extended byorg.evolvica.core.recombine.Int.IntegerRecombinator
All Implemented Interfaces:
IGeneticOperator, IOperator, IProcessor, java.io.Serializable
Direct Known Subclasses:
DiscreteRecombinator, LineRecombinator

public abstract class IntegerRecombinator
extends AbstractRecombinator

Abstract base class for integer recombinators.

Since:
0.4.0
Version:
$Revision: 1.5 $ $Date: 2004/05/26 11:58:14 $
Author:
Andreas Rummler
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.evolvica.core.recombine.AbstractRecombinator
builder
 
Fields inherited from class org.evolvica.engine.AbstractOperator
descriptor, element, id, name
 
Constructor Summary
IntegerRecombinator()
          Constructor.
 
Method Summary
 IIndividual[] recombine(IIndividual[] parents)
          Performes the recombination.
abstract  int[] recombine(int[] parents)
          Recombines integer numbers.
 
Methods inherited from class org.evolvica.core.recombine.AbstractRecombinator
getBuilder, getProducedChildren, getRequiredParents, process, setBuilder
 
Methods inherited from class org.evolvica.engine.AbstractOperator
attachDescriptor, attachElement, descriptor, element, getId, getName, setId, setName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.evolvica.engine.IOperator
attachDescriptor, attachElement, descriptor, element, getId, getName, setId, setName
 

Constructor Detail

IntegerRecombinator

public IntegerRecombinator()
Constructor.

Method Detail

recombine

public IIndividual[] recombine(IIndividual[] parents)
Description copied from class: AbstractRecombinator
Performes the recombination.

Specified by:
recombine in class AbstractRecombinator
Parameters:
parents - the parent individuals
Returns:
array of child individuals
See Also:
AbstractRecombinator.recombine(org.evolvica.core.IIndividual[])

recombine

public abstract int[] recombine(int[] parents)
Recombines integer numbers.

Parameters:
parents - array of integer values from parents
Returns:
array of integer values for the children

Evolvica Core API Version 0.6.2
Last Modified: June 29 2004

Copyright © 2000-2004 Technical University of Ilmenau, Department Electronic Circuits and Systems