Changeset 1146 for framspy/evolalg/examples/standard.py
- Timestamp:
- 08/03/21 14:00:12 (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
framspy/evolalg/examples/standard.py
r1140 r1146 8 8 # TODO add comments to all examples in this directory 9 9 # TODO add to standard.py and steadystate.py evaluating each genotype in HOF N (configurable, default 20) times when the evolution ends, as it is in niching_novelty.py 10 # TODO "- -debug" mode, indent nested steps (pre++, post-- of a static counter?) and print their arguments so it is easy to see what happens during evolution10 # TODO "-debug" mode, indent nested steps (pre++, post-- of a static counter?) and print their arguments so it is easy to see what happens during evolution 11 11 12 12 … … 80 80 ]) 81 81 82 fitness_remove = UnionStep( 82 fitness_remove = UnionStep( # evaluate performance and fitness, rename some of the fields, and remove some performance fields that we get from Framsticks, but we don't need them here 83 83 [ 84 84 FitnessStep(frams_lib, fields={"velocity": "fitness", "data->recording": "recording"}, 85 85 fields_defaults={"velocity": None, "data->recording": None}) # custom definitions and handling 86 86 if EVAL_LIFESPAN_BEHAVIOR else 87 FitnessStep(frams_lib, fields={parsed_args.opt: "fitness" ,}, fields_defaults={parsed_args.opt: None})87 FitnessStep(frams_lib, fields={parsed_args.opt: "fitness"}, fields_defaults={parsed_args.opt: None}) 88 88 ] 89 89 +
Note: See TracChangeset
for help on using the changeset viewer.