Changeset 463


Ignore:
Timestamp:
02/03/16 23:21:11 (6 years ago)
Author:
Maciej Komosinski
Message:

Updated for a new official way of calling scripts with arguments

Location:
experiments/frams
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • experiments/frams/evolve-speed-vs-gravity/go-evol-water.cmd

    r248 r463  
    55for %%G in (1.0) do (
    66
    7 frams "ex standard" "Simulator.creatwarnfail=1;" "World.wrldwat=20;" "ExpParams.stagnation=30000;" "Populations[0].nnsim=Populations[0].enableperf=1;" "ExpParams.minfitness=0.00001;" "UserScripts.script_Evolve_for_speed_vs_gravity(%%G,100);" -q >exp-evol-speed\testwater_%%G_%%R.out
     7frams "ex standard" "Simulator.creatwarnfail=1;" "World.wrldwat=20;" "ExpParams.stagnation=30000;" "Populations[0].nnsim=Populations[0].enableperf=1;" "ExpParams.minfitness=0.00001;" "UserScripts.script_Evolve_for_speed_vs_gravity_args(%%G,100);" -q >exp-evol-speed\testwater_%%G_%%R.out
    88
    99)
  • experiments/frams/evolve-speed-vs-gravity/go-evol.cmd

    r249 r463  
    55for %%G in (0.2,0.4,0.6,0.8,1.0, 1.2,1.4,1.6,1.8,2.0) do (
    66
    7 frams "ex standard" "Simulator.creatwarnfail=1;" "ExpParams.stagnation=30000;" "ExpParams.minfitness=0.00001;" "UserScripts.script_Evolve_for_speed_vs_gravity(%%G,100);" -q >exp-evol-speed\test_%%G_%%R.out
     7frams "ex standard" "Simulator.creatwarnfail=1;" "ExpParams.stagnation=30000;" "ExpParams.minfitness=0.00001;" "UserScripts.script_Evolve_for_speed_vs_gravity_args(%%G,100);" -q >exp-evol-speed\test_%%G_%%R.out
    88
    99)
  • experiments/frams/multi-threading/test-mt.cmd

    r193 r463  
    11
    2 for %%C in (5,10,25,50,100,200) do (
    3 for %%T in (1,2,3,4,5,6) do (
     2for %%C in (5,10,25,50,100,200,400,600) do (
     3for %%T in (1,2,3,4,5,6,7,8,9,10,11,12,16,20) do (
    44
    55rem real task: maximize fitness=velocity
    6 rem frams "ex standard-mt" "ExpParams.threads=%%T;" "ExpParams.capacity=%%C;" "UserScripts.script_Multithreading_efficiency_test(0,120,10);" -q >exp-evol-speed\test_%%T_%%C.out
     6rem frams "ex standard-mt" "ExpParams.threads=%%T;" "ExpParams.capacity=%%C;" "UserScripts.script_Multithreading_efficiency_test_args(0,120,10);" -q >exp-evol-speed\test_%%T_%%C.out
    77
    88
     
    1212
    1313rem no mutation, no crossover, only cloning - so that the same genotype is always evaluated. Useful to measure "raw" efficiency of parallel computation
    14 frams "ex standard-mt" "ExpParams.threads=%%T;" "ExpParams.p_mut=0;" "ExpParams.p_xov=0;" "ExpParams.capacity=%%C;" "UserScripts.script_Multithreading_efficiency_test(0,6,10);" -q >exp-evol-speed-nochange\test_%%T_%%C.out
     14rem frams "ex standard-mt" "ExpParams.threads=%%T;" "ExpParams.p_mut=0;" "ExpParams.p_xov=0;" "ExpParams.capacity=%%C;" "UserScripts.script_Multithreading_efficiency_test_args(0,6,10);" -q >exp-evol-speed-nochange\test_%%T_%%C.out
    1515
    1616
    1717rem same as above but with a bigger genotype, so that the time spent on script processing is relatively shorter, and more time is used for pure simulation
    18 frams "ex standard-mt" "ExpParams.threads=%%T;" "ExpParams.p_mut=0;" "ExpParams.p_xov=0;" "ExpParams.capacity=%%C;" "UserScripts.script_Multithreading_efficiency_test(6,6,10);" -q >exp-evol-speed-nochange-biggeno\test_%%T_%%C.out
     18rem frams "ex standard-mt" "ExpParams.threads=%%T;" "ExpParams.p_mut=0;" "ExpParams.p_xov=0;" "ExpParams.capacity=%%C;" "UserScripts.script_Multithreading_efficiency_test_args(6,6,10);" -q >exp-evol-speed-nochange-biggeno\test_%%T_%%C.out
     19
     20
     21rem keep threads running and only cloning
     22frams "ex standard-mt" "ExpParams.threads=%%T;" "ExpParams.capacity=%%C;" "ExpParams.p_mut=0;" "ExpParams.p_xov=0;" "ExpParams.keep_threads_running=1;" "UserScripts.script_Multithreading_efficiency_test_args(3,50,10);" -q >exp-evol-speed-nochange-keeprunning\test_%%T_%%C.out
     23
    1924
    2025))
    21 
Note: See TracChangeset for help on using the changeset viewer.