|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.anji.integration.LogEventListener
Writes log events to log4j framework.
Constructor Summary | |
LogEventListener(Configuration newConfig)
|
Method Summary | |
void |
geneticEventFired(GeneticEvent event)
Notify this GeneticEventListener that an event has been fired of a type to which this listener is subscribed. |
void |
init(Properties p)
no initialization parameters |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public LogEventListener(Configuration newConfig)
newConfig
- JGAP configuration.Method Detail |
public void init(Properties p)
init
in interface Configurable
p
- public void geneticEventFired(GeneticEvent event)
GeneticEventListener
geneticEventFired
in interface GeneticEventListener
event
- GeneticEvent.GENOTYPE_EVOLVED_EVENT
is the only event handled;
writes species count and stats of all fittest chromosomes.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |