|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.anji.integration.ConsoleLogEventListener
Writes log events to stdout.
Constructor Summary | |
ConsoleLogEventListener(Configuration newConfig)
|
|
ConsoleLogEventListener(Configuration newConfig,
java.io.PrintStream newOut)
|
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)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ConsoleLogEventListener(Configuration newConfig)
newConfig
- ConsoleLogEventListener(Configuration, PrintStream)
public ConsoleLogEventListener(Configuration newConfig, java.io.PrintStream newOut)
newConfig
- newOut
- Method Detail |
public void init(Properties p)
init
in interface Configurable
p
- configuration parameterspublic 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 fittest chromosome.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |