Eric B wrote:
> I'm using ECJ for the AI of the game Connect-Four. After I run everything
> once I'd like to run a "battle of best" between the 10 best individuals of
> the last run, the best individual overall (for some reason this individual
> seems to be really bad) and the best individuals of the last couple of runs.
> For this I need to be able to access the objects of the individuals instead
> of their printouts and then give the new .params file that need to be used
> if any parameter should be changed.
> So somewhere these individuals should be written to a file. Where best to do
If by "run" you mean evolutionary run, I'd suggest making a Statistics
subclass and doing it in FinalStatistics, or else writing a Finalizer.
If you mean generation, then you could do it in postEvaluationStatistics.
> I'd also like to give a tip for the next version of ECJ, it's nothing much
> but it would be good if the total run time was shown.
Considered. But not as easy as you might imagine: what about
BTW, though it's not what you're looking for, if you turn gather-full
on, KozaShortStatistics provides a bunch of additional gizmos.