|
eaLib API Docs Last Modified : January 7 2002 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--mss.ea.core.GeneticOperator | +--mss.ea.rec.Recombination | +--mss.ea.rec.ChromosomeRecombination | +--mss.ea.rec.IntegerRecombination | +--mss.ea.rec.DiscreteIntegerRecombination
Discrete recombination between two integers. This operator creates a single chromosome by choosing randomly one of the parent chromosomes.
Fields inherited from class mss.ea.rec.IntegerRecombination |
rand |
Fields inherited from class mss.ea.rec.Recombination |
quantity, required |
Fields inherited from class mss.ea.core.GeneticOperator |
description, ID, name |
Constructor Summary | |
DiscreteIntegerRecombination()
Constructor. |
Method Summary | |
Chromosome[] |
recombine(Chromosome[] cra)
Performs the recombination. |
Methods inherited from class mss.ea.rec.Recombination |
getQuantity, getRequired |
Methods inherited from class mss.ea.core.GeneticOperator |
getDescription, getID, getName, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public DiscreteIntegerRecombination()
Method Detail |
public Chromosome[] recombine(Chromosome[] cra) throws RecombinationException
recombine
in class ChromosomeRecombination
cra
- array with parent chromosomesRecombinationException
- thrown if recombination fails
|
eaLib API Docs Last Modified : January 7 2002 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |