Added a frequency parameter to eoPopStat (dump pop every N gen)
This commit is contained in:
parent
73157edba6
commit
45f61a0e0b
1 changed files with 4 additions and 3 deletions
|
|
@ -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);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue