diff options
author | Benji Dial <benji@benjidial.net> | 2024-06-07 01:11:49 -0400 |
---|---|---|
committer | Benji Dial <benji@benjidial.net> | 2024-06-07 01:11:49 -0400 |
commit | 9778e5c1298c8888214725f968badcbab516ea82 (patch) | |
tree | ea23ea5d4a8f504b3aeb6861bb5cf5073492a4be /readme.txt | |
parent | 0d44b60612ffb6d44c15e3defc043f6179540979 (diff) | |
download | lib94-9778e5c1298c8888214725f968badcbab516ea82.tar.gz |
redo evolver, add warrior serialization / deserialization to library
Diffstat (limited to 'readme.txt')
-rw-r--r-- | readme.txt | 11 |
1 files changed, 7 insertions, 4 deletions
@@ -41,8 +41,11 @@ Note that tabulator expects at least two processes (one head process and at leas === evolver === -The "evolver" program attempts to create warriors who are good against a particular other warrior via a process similar to genetic -evolution. It is highly experimental and does not always work. I may or may not attempt to improve it in the future. +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. -To evolve a warrior against the included Epson warrior, with the outputs from each round stored in a directory named output, run - bin/evolver warriors/epson.red output +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. |