Added a frequency parameter to eoPopStat (dump pop every N gen)

This commit is contained in:
evomarc 2001-05-25 16:27:59 +00:00
commit 45f61a0e0b

View file

@ -296,9 +296,10 @@ void main_function(int argc, char **argv)
monitor.add(SecondStat);
monitor.add(fdcStat);
// test de eoPopStat and/or eoSortedPopStat
// eoSortedPopStat<Indi> popStat("Dump of whole population");
eoPopStat<Indi> popStat("Dump of whole population");
// test de eoPopStat and/or eoSortedPopStat.
// Dumps the whole pop every 10 gen.
// eoSortedPopStat<Indi> popStat(10, "Dump of whole population");
eoPopStat<Indi> popStat(10, "Dump of whole population");
checkpoint.add(popStat);
monitor.add(popStat);