;copy this into a file named "redrace.dat" ; "redrace.dat" is a parameter file modeled after ga_war.cfg ; It sets parameters for the program redrace written by Dave Hillis ; contact at dbhillis@erols.com or hillis@arl.army.mil ; create_new_population=0 ; if 1, create new population and hill, if 0, read in the old population_size=100 max_instructions=12 mutation_rate=2 insertion_rate=1 removal_rate=1 resurrection_rate=1 P_SWAP=1 P_CR=70 ; prob of using crossover vs just mutation P_long_ref=20 ; Prob. of making a not-necessarily-local reference ; set to zero if you don't want to use crossover do_random_start=1 ; if 1, ignore starting cycle and start at a random location ; in the ring. starting_cycle=0 ; Start at this location in the ring author_name=Dave Hillis <dbhillis@erols.com> ; put your name above num_tests=8 ; size of the HILL ROULETTE=0 ; if 1, use proportional selection - if 0, use tournament T_SIZE=2 ; tournament size (should be > 1, ; but much smaller than the population size) number_of_battles=50 ; number of battles between warriors (pick even numbers) num_S_battles=200 ; number of battles for scoring round (getting onto hill) RINGSIZE=50 ; number of warriors in Valhalla number_of_cycles=50000 ; number of generations Take_Benchmark=1 ; calculate a benchmark score (e.g. WILKIES) Verbose=0 ; store more info in log file? (it can grow very large) FL_BASED=0 ; if 1, always write current warrior into temp.red. GEN_GAP=40 ; wait this many generations before resurrecting STATIC_HILL=0 ; if 1, never change the hill NUMBER_OF_SPECIES=1 NUMBER_OF_BENCHMARKS=10 CORESIZE=800 ; MAXwSIZE=20 ; maximum warrior length MINwDIST=20 ; minimum distance between wariors NUMBERofCYCLES=8000 ; cycles in pmars before a tie is declared