impl_algorithm_trait_items

Attribute Macro impl_algorithm_trait_items 

Source
#[impl_algorithm_trait_items]
Expand description

This macro adds common items when the Algorithm trait is implemented for a new algorithm struct. This adds the following items: Algorithm::name(), Algorithm::stopping_condition() Algorithm::start_time(), Algorithm::problem(), Algorithm::population(), Algorithm::generation(), Algorithm::number_of_function_evaluations() and Algorithm::export_history().