Evolvica Core API Version 0.6.2
Last Modified: June 29 2004

org.evolvica.core.recombine.string
Class StringRecombinator

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.string.StringRecombinator
All Implemented Interfaces:
IGeneticOperator, IOperator, IProcessor, java.io.Serializable
Direct Known Subclasses:
MultipointCrossover

public abstract class StringRecombinator
extends AbstractRecombinator

Abstract base class for a string recombinator.

Since:
0.4.0
Version:
$Revision: 1.5 $ $Date: 2004/05/26 11:58:17 $
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
StringRecombinator()
          Constructor.
 
Method Summary
 IIndividual[] recombine(IIndividual[] parents)
          Performes the recombination.
abstract  java.lang.String[] recombine(java.lang.String[] parents)
          Recombines strings.
 
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

StringRecombinator

public StringRecombinator()
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 java.lang.String[] recombine(java.lang.String[] parents)
Recombines strings.

Parameters:
parents - array of strings from parents
Returns:
array of strings 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