org.jgap.event
Interface GeneticEventListener

All Known Implementing Classes:
ConsoleLogEventListener, LogEventListener, PersistenceEventListener, PresentationEventListener, Run

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).


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.
 

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.