Print

Print


1. See section 2.5 of the manual.

2. Assuming you want to keep using a SimpleStatistics subclass, you could create a subclass and override setup() like this:

    public void setup(final EvolutionState state, final Parameter base)
        {
	state.parameters.set(P_STATISTICS_FILE, "myfilename.out");
        super.setup(state,base);
	}

Sean

On May 13, 2014, at 1:20 PM, Catalina Obando <[log in to unmask]> wrote:

> Hi all,
> 
> I want to run ECJ sequentially several times for a specific problem, and obviously I 
> want different output files for each run and not overwrite it.  At the moment my 
> ECJ problem outputs two files, the usual out.stat and another file fitness.stat. 
> How can I change the name of the output files that is not from the parameter 
> file? Say I want to run ECJ n times, I would like to obtain something like 
> out1.stat,...,outn.stat and fitness1.stat,...,fitnessn.stat.
> 
> Thanks in advance for the help.
> 
> Catalina