Last change
on this file since 1329 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.4 KB
|
Rev | Line | |
---|
[1149] | 1 | rem To learn about all available options of each .py algorithm below, add "-h" to its parameters.
|
---|
[1113] | 2 | rem Use the source code of the examples as a starting point for your customizations.
|
---|
| 3 | rem Example usage:
|
---|
| 4 |
|
---|
[1117] | 5 | set DIR_WITH_FRAMS_LIBRARY=............
|
---|
[1113] | 6 |
|
---|
| 7 |
|
---|
[1149] | 8 |
|
---|
[1158] | 9 |
|
---|
| 10 | rem simple one-criterion evolution from minimalistic example source (examples.standard)
|
---|
[1185] | 11 | python -m evolalg_steps.examples.standard -path %DIR_WITH_FRAMS_LIBRARY% -opt numneurons
|
---|
[1113] | 12 |
|
---|
[1149] | 13 |
|
---|
[1158] | 14 | rem as above but "chaining" .sim files, subsequent files overwrite selected parameters
|
---|
[1207] | 15 | python -m evolalg_steps.examples.standard -path %DIR_WITH_FRAMS_LIBRARY% -sim "eval-allcriteria.sim;deterministic.sim;sample-period-longest.sim" -opt velocity
|
---|
[1149] | 16 |
|
---|
| 17 |
|
---|
[1182] | 18 | rem simple one-criterion evolution but more options available in examples.niching_novelty, here: hard limit on the number of Parts and debugging messages
|
---|
[1185] | 19 | python -m evolalg_steps.examples.niching_novelty -path %DIR_WITH_FRAMS_LIBRARY% -opt velocity -max_numparts 6 -debug
|
---|
[1145] | 20 |
|
---|
[1149] | 21 |
|
---|
| 22 | rem "local" niching
|
---|
[1185] | 23 | python -m evolalg_steps.examples.niching_novelty -path %DIR_WITH_FRAMS_LIBRARY% -opt vertpos -fit knn_niching -knn 3 -max_numjoints 8 -popsize 10 -generations 30
|
---|
[1147] | 24 |
|
---|
[1149] | 25 |
|
---|
| 26 | rem two criteria, '-dissim ...' can also be used to include dissimilarity as one of the criteria
|
---|
[1185] | 27 | python -m evolalg_steps.examples.multicriteria -path %DIR_WITH_FRAMS_LIBRARY% -popsize 40 -generations 10 -opt velocity,vertpos
|
---|
Note: See
TracBrowser
for help on using the repository browser.