Last change
on this file since 1277 was
1207,
checked in by Maciej Komosinski, 22 months ago
|
Examples made more friendly to shells that treat semicolon "as;a;command;separator" (like bash or powershell)
|
File size:
1.1 KB
|
Rev | Line | |
---|
[1161] | 1 | rem To learn about all available options of the .py algorithm below, add "-h" to its parameters.
|
---|
| 2 | rem Use the source code of the examples as a starting point for your customizations.
|
---|
| 3 | rem Example usage:
|
---|
| 4 |
|
---|
| 5 | set DIR_WITH_FRAMS_LIBRARY=.........................
|
---|
| 6 |
|
---|
| 7 |
|
---|
| 8 |
|
---|
| 9 |
|
---|
| 10 | rem simple one-criterion evolution, maximize the number of neurons
|
---|
[1207] | 11 | python FramsticksEvolution.py -path %DIR_WITH_FRAMS_LIBRARY% -sim "eval-allcriteria.sim" -opt numneurons
|
---|
[1161] | 12 |
|
---|
| 13 |
|
---|
| 14 | rem as above but "chaining" .sim files, subsequent files overwrite selected parameters
|
---|
[1207] | 15 | python FramsticksEvolution.py -path %DIR_WITH_FRAMS_LIBRARY% -sim "eval-allcriteria.sim;deterministic.sim;sample-period-longest.sim" -opt velocity
|
---|
[1161] | 16 |
|
---|
| 17 |
|
---|
| 18 | rem introducing hard limit on the number of Parts, using f9 genetic encoding and saving Hall of Fame
|
---|
| 19 | python FramsticksEvolution.py -path %DIR_WITH_FRAMS_LIBRARY% -opt velocity -max_numparts 6 -genformat 9 -hof_savefile HoF-f9.gen
|
---|
| 20 |
|
---|
| 21 |
|
---|
| 22 | rem two criteria
|
---|
| 23 | python FramsticksEvolution.py -path %DIR_WITH_FRAMS_LIBRARY% -popsize 40 -generations 10 -opt velocity,vertpos
|
---|
Note: See
TracBrowser
for help on using the repository browser.