|
Evolvica Core API Version 0.6.3 Last Modified: July 20 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.OrderCrossover
Order Crossover (OX) for arrays. This operator requires two parents and produces two descendants.
| Field Summary | |
protected int[] |
intersectionPoints
Exchange interval. |
| Fields inherited from class org.evolvica.core.recombine.AbstractRecombinator |
builder |
| Fields inherited from class org.evolvica.engine.AbstractOperator |
descriptor, element, id, name |
| Constructor Summary | |
OrderCrossover()
Constructor. |
|
OrderCrossover(int[] intersectionPoints)
Constructor with intersection points. |
|
| 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 int[] intersectionPoints
| Constructor Detail |
public OrderCrossover()
public OrderCrossover(int[] intersectionPoints)
intersectionPoints - array with intersection points| Method Detail |
protected int[][] recombine(int[][] parents)
IntegerArrayRecombinator
recombine in class IntegerArrayRecombinatorparents - array of integer arrays from parents
IntegerArrayRecombinator.recombine(int[][])public int getProducedChildren()
AbstractRecombinator
getProducedChildren in class AbstractRecombinatorAbstractRecombinator.getProducedChildren()public int getRequiredParents()
AbstractRecombinator
getRequiredParents in class AbstractRecombinatorAbstractRecombinator.getRequiredParents()
|
Evolvica Core API Version 0.6.3 Last Modified: July 20 2004 |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||