Changeset 949


Ignore:
Timestamp:
06/12/20 15:57:09 (4 years ago)
Author:
Maciej Komosinski
Message:

Fixed the choice of single/multiple-criteria selection method

File:
1 edited

Legend:

Unmodified
Added
Removed
  • framspy/FramsticksEvolution.py

    r948 r949  
    6262        toolbox.register("mate", frams_crossover, frams_cli)
    6363        toolbox.register("mutate", frams_mutate, frams_cli)
    64         if len(OPTIMIZATION_CRITERIA) > 1:
     64        if len(OPTIMIZATION_CRITERIA) <= 1:
    6565                toolbox.register("select", tools.selTournament, tournsize=5)
    6666        else:
Note: See TracChangeset for help on using the changeset viewer.