Closed luleyleo closed 1 year ago
https://github.com/mahf-opt/mahf/blob/e7a520afd5b16d7b15ac13ddff463df791429080/src/problems/individual.rs#L79-L84
This function should take an FnMut. Otherwise, you can't use it to evaluate problems where the evaluation function mutates the evaluator.
FnMut
Resolved with #178.
https://github.com/mahf-opt/mahf/blob/e7a520afd5b16d7b15ac13ddff463df791429080/src/problems/individual.rs#L79-L84
This function should take an
FnMut
. Otherwise, you can't use it to evaluate problems where the evaluation function mutates the evaluator.