|
JGAP | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.jgap.audit.ChainedMonitors
public class ChainedMonitors
A meta monitor that chains together given monitors and executes them subsequently.
| Constructor Summary | |
|---|---|
ChainedMonitors(java.util.List<IEvolutionMonitor> a_monitors,
int a_positiveMonitorsRequired)
|
|
| 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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ChainedMonitors(java.util.List<IEvolutionMonitor> a_monitors,
int a_positiveMonitorsRequired)
a_monitors - sequence of monitors to usea_positiveMonitorsRequired - number of monitors that must return true
in nextCycle in order to let the evolution continue. If this parameter
equals one, it means we have an or-operation, if it equals the number of
monitors, we have an and-operation.| Method Detail |
|---|
public boolean nextCycle(Population a_pop,
java.util.List<java.lang.String> a_messages)
nextCycle in interface IEvolutionMonitora_pop - the currently evolved populationa_messages - the monitor can append messages here to indicate why
it asks evolution to stop
public void start(Configuration a_config)
start in interface IEvolutionMonitora_config - the configuration used
|
JGAP | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||