|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object jenes.stage.AbstractStage<T> jenes.stage.BreakPoint<T>
T
- The class chromosomes flowing across the stage.public class BreakPoint<T extends Chromosome>
Stage representing a break point.
It notifies its listeners when its process(Population, Population)
method is invocated.
The population isn't alterated so the output population is equals to the input one.
Nested Class Summary | |
---|---|
static class |
BreakPoint.Listener
Abstract class representing a break point listener. |
Field Summary |
---|
Fields inherited from class jenes.stage.AbstractStage |
---|
biggerIsBetter, ga |
Constructor Summary | |
---|---|
BreakPoint()
Constructs a new BreakPoint stage |
Method Summary | |
---|---|
void |
add(BreakPoint.Listener listener)
Adds the specified listener at this break point stage |
void |
process(Population<T> in,
Population<T> out)
Processes the input population and tranforms it into the output population. |
void |
remove(BreakPoint.Listener listener)
Removes the specified listener between the ones |
Methods inherited from class jenes.stage.AbstractStage |
---|
dispose, init, isBiggerBetter, setBiggerIsBetter, setBiggerIsBetter |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public BreakPoint()
Method Detail |
---|
public void add(BreakPoint.Listener listener)
listener
- the listener to notify when the break point process time occurs.public void remove(BreakPoint.Listener listener)
listener
- the listener to removepublic void process(Population<T> in, Population<T> out) throws StageException
AbstractStage
process
in class AbstractStage<T extends Chromosome>
in
- the input populationout
- the output population
StageException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |