gtopt::AmplParamKey struct

Key: (class_name, attribute) — same dispatcher serves every element of the class. Element identity is supplied at call time via the element_uid argument to the function pointer.

Public variables

std::string_view attribute
e.g. "pmax", "tcost"
std::string_view class_name
e.g. "generator", "line"

Friends

auto operator<=>(const AmplParamKey&, const AmplParamKey&) -> auto defaulted noexcept