JGAP

org.jgap.audit
Interface IEvolutionMonitor

All Known Implementing Classes:
ChainedMonitors, FitnessImprovementMonitor, TimedMonitor

public interface IEvolutionMonitor

Monitors the evolution and decides when to stop the evolution cycle.

Since:
3.4.4

Field Summary
static java.lang.String CVS_REVISION
          String containing the CVS revision.
 
Method Summary
 boolean nextCycle(Population a_pop, java.util.List<java.lang.String> a_messages)
          Called after another evolution cycle has been executed.
 void start(Configuration a_config)
          Called just before the evolution starts.
 

Field Detail

CVS_REVISION

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

See Also:
Constant Field Values
Method Detail

start

void start(Configuration a_config)
Called just before the evolution starts. Setup your monitor here.

Parameters:
a_config - the configuration used
Since:
3.4.4

nextCycle

boolean nextCycle(Population a_pop,
                  java.util.List<java.lang.String> a_messages)
Called after another evolution cycle has been executed.

Parameters:
a_pop - the currently evolved population
a_messages - the monitor can append messages here to indicate why it asks evolution to stop
Returns:
true: continue with the evolution; false: stop evolution
Since:
3.4.4

JGAP