13#if !defined(VITA_PROBLEM_H)
28 template<
class S,
class ...Args>
symbol *insert(Args &&...);
46template<
class S,
class ...Args>
symbol *problem::insert(Args &&... args)
48 return sset.
insert(std::make_unique<S>(std::forward<Args>(args)...));
Context object aggregating multiple related parameters into one structure.
Aggregates the problem-related data needed by an evolutionary program.
virtual bool is_valid() const
A container for the symbols used by the GP engine.
symbol * insert(std::unique_ptr< symbol >, double=1.0)
Adds a new symbol to the set.
Together functions and terminals are referred to as symbols.
The main namespace for the project.