Null algorithm#

struct null_algorithm#

Null algorithm.

This algorithm is used to implement the default constructors of pagmo::algorithm and of the meta-algorithms.

Public Functions

population evolve(const population&) const#

Evolve method.

In the null algorithm, the evolve method just returns the input population.

Parameters

pop – input population.

Returns

a copy of the input population.

inline std::string get_name() const#

Algorithm name.

Returns

"Null algorithm".