jenes.stage
Class BreakPoint.Listener

java.lang.Object
  extended by jenes.stage.BreakPoint.Listener
Enclosing class:
BreakPoint<T extends Chromosome>

public abstract static class BreakPoint.Listener
extends java.lang.Object

Abstract class representing a break point listener. When the process method of a break point stage is inciked by a Genetic Algorithm the onBreak(int, long) method of each registred listener is invoked.

Since:
1.0
Version:
1.2
Author:
Luigi Troiano, Pierpaolo Lombardi, Giuseppe Pascale, Thierry Bodhuin
See Also:
AbstractStage

Constructor Summary
BreakPoint.Listener()
           
 
Method Summary
abstract  void onBreak(int generation, long time)
          Notify a break point time
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BreakPoint.Listener

public BreakPoint.Listener()
Method Detail

onBreak

public abstract void onBreak(int generation,
                             long time)
Notify a break point time

Parameters:
generation - the current number generation
time - the break point time