mahf-opt / mahf

A framework for modular construction and evaluation of metaheuristics.
GNU General Public License v3.0
10 stars 0 forks source link

It's easy to forget .evaluate_sequential() and .update_best_individual(). #115

Open luleyleo opened 2 years ago

luleyleo commented 2 years ago

It is easy to forget

.evaluate_sequential()
.update_best_individual()

when constructing a heuristic. (See #114)

Maybe we can warn the user and/or make it easier to include them.

Something like

Configuration::builder()
        .do_with_eval_(initialization::RandomSpread::new_init(
            params.initial_population_size,
        ))

might be nice.