diff options
author | Benji Dial <benji@benjidial.net> | 2024-06-07 11:27:40 -0400 |
---|---|---|
committer | Benji Dial <benji@benjidial.net> | 2024-06-07 11:27:40 -0400 |
commit | 84bfb2d3617e981605267bdd8b114ed3bba3a500 (patch) | |
tree | 7aa32228860b8c0368e7fba983b313679795bbfa /readme.txt | |
parent | 9778e5c1298c8888214725f968badcbab516ea82 (diff) | |
download | lib94-84bfb2d3617e981605267bdd8b114ed3bba3a500.tar.gz |
new tabulator, remove evolver
Diffstat (limited to 'readme.txt')
-rw-r--r-- | readme.txt | 19 |
1 files changed, 2 insertions, 17 deletions
@@ -30,22 +30,7 @@ To open bench, just run bin/bench after building as above. The "tabulator" program runs every possible pairing of warriors from a selection against each other with every possible separation and turn order, and then shows the number of wins of each warrior against each other warrior in a table format. The column header -is the winner, and the row header is the loser. This program uses MPI to run batches of these rounds in different processes, and -communicate the results back to a head process. +is the winner, and the row header is the loser. This program uses MPI to run this across multiple processes. To run all of the included warriors against each other, run - mpirun bin/tabulator-mpi warriors/*.red - -Note that tabulator expects at least two processes (one head process and at least one worker). If you only have one core, you may run - mpirun -np 2 --oversubscribe bin/tabulator-mpi warriors/*.red - -=== evolver === - -The experimental "evolver" program attempts to create warriors who are good against a particular other -warrior via a process similar to genetic evolution. I may or may not attempt to improve it in the future. - -The evolver takes an arbitrary number of input warriors as "seeds". To evolve a warrior against Dwarf, using -all of the included warriors as seeds, and storing the outputs from each round in a directory named output, run - mpirun bin/evolver warriors/dwarf.red output warriors/*.red - -As with tabulator, evolver requires at least two processes, and you will have to oversubscribe if you only have one core. + mpirun bin/tabulator warriors/*.red |