Ignore:
Timestamp:
08/03/21 14:00:12 (3 years ago)
Author:
Maciej Komosinski
Message:

Cosmetic

File:
1 edited

Legend:

Unmodified
Added
Removed
  • framspy/evolalg/examples/standard.py

    r1140 r1146  
    88# TODO add comments to all examples in this directory
    99# 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 evolution
     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 evolution
    1111
    1212
     
    8080    ])
    8181
    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
    8383        [
    8484        FitnessStep(frams_lib, fields={"velocity": "fitness", "data->recording": "recording"},
    8585                    fields_defaults={"velocity": None, "data->recording": None})  # custom definitions and handling
    8686        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})
    8888        ]
    8989        +
Note: See TracChangeset for help on using the changeset viewer.