Ultra 0.9.4
Loading...
Searching...
No Matches
ultra::problem Struct Reference

#include <problem.h>

Inheritance diagram for ultra::problem:
ultra::de::problem ultra::ga::problem ultra::hga::problem ultra::src::problem

Public Member Functions

template<Symbol S, symbol_set::weight_t = symbol_set::default_weight, class ... Args>
requires std::constructible_from<S, Args...>
std::add_pointer_t< S > insert (Args &&...)
template<std::derived_from< function > F, symbol_set::weight_t W = symbol_set::default_weight, std::convertible_to< symbol::category_t > C = symbol::category_t>
std::add_pointer_t< F > insert (symbol::category_t, std::initializer_list< C >)
template<std::derived_from< function > F, symbol_set::weight_t W = symbol_set::default_weight, std::convertible_to< symbol::category_t > C = symbol::category_t>
std::add_pointer_t< F > insert (std::initializer_list< C >)
virtual bool is_valid () const

Public Attributes

parameters params {}
symbol_set sset {}

Detailed Description

Aggregates the problem-related data needed by an evolutionary program.

Examples
symbolic_regression03.cc.

Member Function Documentation

◆ is_valid()

bool ultra::problem::is_valid ( ) const
nodiscardvirtual
Returns
true if the object passes the internal consistency check

Reimplemented in ultra::src::problem.


The documentation for this struct was generated from the following files: