aibasel / machetli

GNU General Public License v3.0
6 stars 3 forks source link

Replace search functions for local and grid search with a single function #25

Closed galerykaeser closed 2 years ago

galerykaeser commented 3 years ago

This would reduce code redundancy. The passed environment object would then control whether the grid functions are invoked.
It might also be a good idea to rename the function from first_choice_hill_climbing to search, because this is simpler and currently, first-choice hill-climbing is the only implemented search algorithm for the Minimizer.