|
Evolvica Core API Version 0.6.2 Last Modified: June 29 2004 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.evolvica.engine.AbstractOperator
org.evolvica.core.common.AbstractGeneticOperator
org.evolvica.core.recombine.AbstractRecombinator
org.evolvica.core.recombine.iarray.IntegerArrayRecombinator
org.evolvica.core.recombine.iarray.UniformOrderBasedCrossover
Uniform Order Based Crossover (UOBX) for arrays. This operator requires two parents and produces two descendants.
Field Summary | |
protected BitVector |
bitvector
Exchange bit vector. |
Fields inherited from class org.evolvica.core.recombine.AbstractRecombinator |
builder |
Fields inherited from class org.evolvica.engine.AbstractOperator |
descriptor, element, id, name |
Constructor Summary | |
UniformOrderBasedCrossover()
Constructor. |
|
UniformOrderBasedCrossover(BitVector bitvector)
Constructor with bit vector for exchange. |
Method Summary | |
int |
getProducedChildren()
Return the number of produced children. |
int |
getRequiredParents()
Returns the number of required parents for a valid recombination. |
protected int[][] |
recombine(int[][] parents)
Recombines integer arrays. |
Methods inherited from class org.evolvica.core.recombine.iarray.IntegerArrayRecombinator |
recombine |
Methods inherited from class org.evolvica.core.recombine.AbstractRecombinator |
getBuilder, 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 |
Field Detail |
protected BitVector bitvector
Constructor Detail |
public UniformOrderBasedCrossover()
public UniformOrderBasedCrossover(BitVector bitvector)
bitvector
- bit vector for exchangeMethod Detail |
protected int[][] recombine(int[][] parents)
IntegerArrayRecombinator
recombine
in class IntegerArrayRecombinator
parents
- array of integer arrays from parents
IntegerArrayRecombinator.recombine(int[][])
public int getProducedChildren()
AbstractRecombinator
getProducedChildren
in class AbstractRecombinator
AbstractRecombinator.getProducedChildren()
public int getRequiredParents()
AbstractRecombinator
getRequiredParents
in class AbstractRecombinator
AbstractRecombinator.getRequiredParents()
|
Evolvica Core API Version 0.6.2 Last Modified: June 29 2004 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |