as_algorithm

Attribute Macro as_algorithm 

Source
#[as_algorithm]
Expand description

This macro adds the following private fields to the struct defining an algorithm: problem, number_of_individuals, population, generation,stopping_condition, number_of_function_evaluations, start_time, export_history and parallel.

It also implements the Display trait.