org.jgap.event
Interface GeneticEventListener


public interface GeneticEventListener

Represents objects that process genetic events. Once subscribed to an event type with the EventManager, an object implementing this interface will be notified each time a genetic event of that type is fired (until it is unsubscribed).

Since:
1.0
Author:
Neil Rotstan, Klaus Meffert

Field Summary
static java.lang.String CVS_REVISION
          String containing the CVS revision.
 
Method Summary
 void geneticEventFired(GeneticEvent a_firedEvent)
          Notify this GeneticEventListener that an event has been fired of a type to which this listener is subscribed.
 

Field Detail

CVS_REVISION

public static final java.lang.String CVS_REVISION
String containing the CVS revision. Read out via reflection!

See Also:
Constant Field Values
Method Detail

geneticEventFired

public void geneticEventFired(GeneticEvent a_firedEvent)
Notify this GeneticEventListener that an event has been fired of a type to which this listener is subscribed.

Parameters:
a_firedEvent - The event object that was fired. The type of event can be determined by the GeneticEvent's name.
Since:
1.0