Ignore:
Timestamp:
03/25/16 17:44:20 (9 years ago)
Author:
sz
Message:

experiment scripts updated to match the upcoming Framsticks version (ExpParams? ==> ExpProperties?, Fields ==> NeuroProperties?, prop: ==> property)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • experiments/frams/multi-threading/data/scripts/test-mt.script

    r462 r480  
    55function main_args(complexify_geno,timeinterval,intervals)
    66{
    7         // ExpParams.mix_period (percentage of the gene pool capacity) is kept at the default value (1000%)
     7        // ExpProperties.mix_period (percentage of the gene pool capacity) is kept at the default value (1000%)
    88
    99        Math.randomize();
    1010        //Simulator.expdef="standard-mt"; //set multithreaded experiment; this is done by the shell script
    1111       
    12         ExpParams.initialgen="XX[|,1:1][N,1:1,2:1][T][G]";
     12        ExpProperties.initialgen="XX[|,1:1][N,1:1,2:1][T][G]";
    1313        for(var i=0;i<complexify_geno;i++) //make a big genotype by doubling the simple one above. Note: exponential!
    14                 ExpParams.initialgen=ExpParams.initialgen+ExpParams.initialgen;
     14                ExpProperties.initialgen=ExpProperties.initialgen+ExpProperties.initialgen;
    1515       
    1616        Simulator.init();
     
    2626                if (iter==(intervals-1))
    2727                    Simulator.stop();
    28                 Simulator.print("iter=%d, simsteps=%d, evals=%d, migrations=%d, gen_count=%d, avg_numparts=%g, fit_avg=%g, fit_max=%g, time=%f, migration_time=%f, T=%d, C=%d" % iter % Simulator.stepNumber % ExpState.totaltests % ExpState.migrations % stats.gen_count % stats.st_avg_numparts % stats.st_avg_fit % stats.st_max_fit % (Math.time-t0) % ExpState.migration_time % ExpParams.threads % ExpParams.capacity);
     28                Simulator.print("iter=%d, simsteps=%d, evals=%d, migrations=%d, gen_count=%d, avg_numparts=%g, fit_avg=%g, fit_max=%g, time=%f, migration_time=%f, T=%d, C=%d" % iter % Simulator.stepNumber % ExpState.totaltests % ExpState.migrations % stats.gen_count % stats.st_avg_numparts % stats.st_avg_fit % stats.st_max_fit % (Math.time-t0) % ExpState.migration_time % ExpProperties.threads % ExpProperties.capacity);
    2929                Simulator.print(GenePools[0].best().genotype);
    3030        }
Note: See TracChangeset for help on using the changeset viewer.