|
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.ins.Reinsertion | +--mss.ea.ins.PureReinsertion
Pure Reinsertion. This operator will discard every individual in an individual gate and replace it with individuals from the given individual stream. The values for generation gap and reinsertion rate can be set, but will be ignored.
Fields inherited from class mss.ea.ins.Reinsertion |
gate, generationGap, pool, reinsertionRate |
Fields inherited from class mss.ea.core.GeneticOperator |
description, ID, name |
Constructor Summary | |
PureReinsertion()
Constructor. |
|
PureReinsertion(IndividualGate gate)
Constructor with individual gate. |
Method Summary | |
boolean |
filter(Individual i)
Executes the internal filter on the given individual. |
IndividualStream |
reinsert(IndividualStream is)
Filters the individual stream. |
Methods inherited from class mss.ea.ins.Reinsertion |
filter, getGap, getGapSize, getRate, getRateSize, getRateSize, getRateSize, setGap, setGate, setRate |
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 PureReinsertion()
public PureReinsertion(IndividualGate gate)
gate
- individual gate for insertionMethod Detail |
public IndividualStream reinsert(IndividualStream is) throws ReinsertionException
reinsert
in class Reinsertion
is
- individual stream to filterpublic boolean filter(Individual i)
filter
in class Reinsertion
i
- individual to check for insertion
|
eaLib API Docs Last Modified : January 7 2002 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |