jakobbossek / smoof

Single- and Multi-Objective Optimization Test Functions
http://jakobbossek.github.io/smoof/
Other
36 stars 16 forks source link

Speed up function evaluation #148

Closed jakobbossek closed 1 year ago

jakobbossek commented 1 year ago

Currently every smoof function does a sanity check on the input via checkmate::assertNumeric(). While the checkmate implementation is very fast it slows down the overall evaluation process considerably if the function is called millions of times.

Add a logical package option smoof.do_input_sanity_checks that defaults to TRUE. If set to FALSE the sanity checks are deactivated.

jakobbossek commented 1 year ago

Done via 3fa490b