Simulates the evolution of Derps - creatures which wander about in search of food - using a genetic algorithm and probabilistic action sampling.
Run using DerpStart.bat, which automatically inputs worldgen parameters, allowing for tweaking of values without needing to recompile
Command line parameters for debug mode are set under project>properties>debug>DerpStart.bat is automatically copied into the build directory
An example set of parameters are: 128 96 25 "Fastest" 0.60 0.60 0.20 3 "Random" 0.50 "Clumped" "Nearby"
Argument explanations
- The width of the world in cells (int).
- The height of the world in cells (int).
- The number of pairs of derps in the world (int).
- The speed at which the world is simulated, as selected from a set of options (string).
- The probability of mutation for each genome (double).
- The probability of mutation for each codon (double).
- The probability that a given codon from the dominant partner will be selected over the subordinate partner's codon (double).
- The number of states in each derp's brain (int).
- The pattern in which derps spawn at the beginning of each generation, as selected from a set of options (string).
- The probability of a given plant respawning somewhere else in the world upon its consumption (double).
- The pattern in which plants spawn at the beginning of each generation, as selected from a set of options (string).
- The pattern in which plants respawn after being eaten, as selected from a set of options (string).
- The name of the file to which all logging data is written (optional string).