Rename cuckoo search's --max-generations option to --iteration-number #24
Labels
cuckoo search
Issues related to the cucoo search algorithm
discussion
(design) discussions
engineering
Under the hood enhancements
help wanted
Community contribution is heavily appreciated
Description
The cuckoo search is the only algorithm whose amount of iterations is indicated by the
--max-generations
flag. All other algorithms use a flag--iteration-number
to indicate that. Originally this naming was chosen to stick as close as possible to the paper's wording.Pros
However, this causes that every algorithm must specify in its
main.py
its own option--iteration-number
. Renaming the cuckoo search's option to--iteration-number
enables us to move this option from an algorithm level to the top level of the CLI (swarm -i 15 wolves 12
instead ofswarm wolves -i 15 12
). In my opinion this is somewhat cleaner from a developer's point of view.Cons
On the other hand, renaming the cuckoo search's option removes some of the algorithm's explanations and could make it less accessible to users. This is in contrast to swarmlib's overall goal: Making it easier to get into swarm optimization.
Summary
With this issue we want to discuss the trade-off of cleaner code vs. user accessibility.
Input and opinions from the community are heavily appreciated.
The text was updated successfully, but these errors were encountered: