Last change
on this file since 1316 was
1207,
checked in by Maciej Komosinski, 21 months ago
|
Examples made more friendly to shells that treat semicolon "as;a;command;separator" (like bash or powershell)
|
File size:
1.4 KB
|
Line | |
---|
1 | rem To learn about all available options of each .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 from minimalistic example source (examples.standard)
|
---|
11 | python -m evolalg_steps.examples.standard -path %DIR_WITH_FRAMS_LIBRARY% -opt numneurons
|
---|
12 |
|
---|
13 |
|
---|
14 | rem as above but "chaining" .sim files, subsequent files overwrite selected parameters
|
---|
15 | python -m evolalg_steps.examples.standard -path %DIR_WITH_FRAMS_LIBRARY% -sim "eval-allcriteria.sim;deterministic.sim;sample-period-longest.sim" -opt velocity
|
---|
16 |
|
---|
17 |
|
---|
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
|
---|
19 | python -m evolalg_steps.examples.niching_novelty -path %DIR_WITH_FRAMS_LIBRARY% -opt velocity -max_numparts 6 -debug
|
---|
20 |
|
---|
21 |
|
---|
22 | rem "local" niching
|
---|
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
|
---|
24 |
|
---|
25 |
|
---|
26 | rem two criteria, '-dissim ...' can also be used to include dissimilarity as one of the criteria
|
---|
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.