Skip to content

Commit

Permalink
add a small population fast evolve script for testing
Browse files Browse the repository at this point in the history
  • Loading branch information
windo committed Jul 29, 2010
1 parent dd3ffa4 commit fb73add
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions src/evolve_test.lua
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
dofile("evolve/evolib.lua")
dofile("evolve/GA.lua")
conf = dofile("evolve/GA_default.lua")
conf.moves = 15
conf.popSize = 10
conf.get_fitness = evolib.get_fitness.lazy
conf.popFile = nil
conf.bestFile = nil
conf.statFile = "test-stat.txt"
conf.mod = "judo.tbm"
run_GA(conf)

0 comments on commit fb73add

Please sign in to comment.