Namespaces | |
namespace | detail |
Typedefs | |
using | config_t = DefaultConfig |
template<class S> | |
using | attribute_table_t = std::map<std::string_view, attribute_accessor<S>> |
Dictionary that maps struct attribute names to type-erased functions that set those attributes. | |
template<class S> | |
using | attribute_alias_table_t = std::map<std::string_view, std::string_view> |
Dictionary that maps struct attribute names to type-erased functions that set those attributes. | |
template<class T, class S> | |
using | enum_table_t = std::map<std::string_view, enum_accessor<T, S>> |
Dictionary that maps enumerator names to their values and documentation. |
Functions | |
template<class T> requires requires { attribute_table<T, json>::table; } | |
void | set_param_default (T &t, const json &j) |
template<class T> requires requires { enum_table<T, json>::table; } | |
void | set_param_default (T &t, const json &j) |
template<class T> requires requires { enum_table<T, json>::table; } | |
void | get_param_default (const T &t, json &j) |
template<class T> requires requires { attribute_table<T, json>::table; } | |
void | get_param_default (const T &t, json &s) |
template<class T> | |
void | assert_key_empty (ParamString s) |
Throw a meaningful error when s.key is not empty, to indicate that the given type T is not of struct type and cannot be indexed into. | |
template<class T> | |
void | unsupported_type (T &, ParamString s) |
Throw a meaningful error to indicate that parameters of type T are not supported or implemented. | |
template<class T> requires requires { attribute_table<T, ParamString>::table; } | |
void | set_param_default (T &t, ParamString s) |
Use s to index into the struct type T and overwrite the attribute given by s.key . | |
template<class T> requires requires { enum_table<T, ParamString>::table; } | |
void | set_param_default (T &t, ParamString s) |
Set t to the value of s.value . | |
template<class T> | |
void | set_param (T &, const json &j) |
Update/overwrite the first argument based on the JSON object j . | |
template<class T> | |
void | get_param (const T &, json &j) |
Get the first argument as a JSON object j . | |
auto | split_key (std::string_view full, char tok='.') |
Split the string full on the first occurrence of tok . | |
template<class T> | |
void | set_param (T &, ParamString) |
Update/overwrite the first argument based on the option in s . | |
template<class T> | |
void | set_params (T &t, std::string_view prefix, std::span< const std::string_view > options, std::optional< std::span< unsigned > > used=std::nullopt) |
Overwrites t based on the options that start with prefix . | |
template<class T> | |
bool | is_leaf () |
template<class T> | |
Result | get_members (const MemberGetter &s) |
Catch-all. | |
template<class T> requires requires { attribute_table<T, MemberGetter>::table; } | |
Result | get_members (const MemberGetter &s) |
Struct types. | |
template<class T> requires requires { enum_table<T, MemberGetter>::table; } | |
Result | get_members (const MemberGetter &s) |
Enum types. | |
template<> | |
Result | get_members< bool > (const MemberGetter &s) |
True/false. | |
template<class Duration> requires is_duration<Duration> | |
void | set_param_default (Duration &t, const json &j) |
template<class Duration> requires is_duration<Duration> | |
void | get_param_default (const Duration &t, json &s) |
template<> | |
void | set_param (alpaqa::vec< config_t > &v, const json &j) |
template<> | |
void | set_param (vec_from_file< config_t > &v, const json &j) |
template<> | |
void | set_param (std::monostate &, const nlohmann::json &) |
template<> | |
void | set_param (bool &t, const nlohmann::json &j) |
template<> | |
void | set_param (std::string &t, const nlohmann::json &j) |
template<std::integral T> requires (!std::same_as<T, bool>) | |
void | set_param_default (T &t, const nlohmann::json &j) |
template<std::floating_point T> | |
void | set_param_default (T &t, const nlohmann::json &j) |
template<class T> requires (std::integral<T> || std::same_as<T, bool> || std::same_as<T, std::string>) | |
void | get_param_default (const T &t, nlohmann::json &j) |
template<std::floating_point T> | |
void | get_param_default (const T &t, nlohmann::json &j) |
template<class... Ts> | |
void | set_param (guanaqo::detail::dummy< Ts... > &, const json &) |
template<class... Ts> | |
void | get_param (const guanaqo::detail::dummy< Ts... > &, json &) |
template void | get_param (const guanaqo::possible_alias_t< std::string > &, json &) |
template void | get_param (const guanaqo::possible_alias_t< bool > &, json &) |
template void | set_param (guanaqo::possible_alias_t< float > &, const json &) |
template void | get_param (const guanaqo::possible_alias_t< float > &, json &) |
template void | set_param (guanaqo::possible_alias_t< double, float > &, const json &) |
template void | get_param (const guanaqo::possible_alias_t< double, float > &, json &) |
template void | set_param (guanaqo::possible_alias_t< long double, double, float > &, const json &) |
template void | get_param (const guanaqo::possible_alias_t< long double, double, float > &, json &) |
template void | set_param (guanaqo::possible_alias_t< int8_t > &, const json &) |
template void | get_param (const guanaqo::possible_alias_t< int8_t > &, json &) |
template void | set_param (guanaqo::possible_alias_t< uint8_t > &, const json &) |
template void | get_param (const guanaqo::possible_alias_t< uint8_t > &, json &) |
template void | set_param (guanaqo::possible_alias_t< int16_t > &, const json &) |
template void | get_param (const guanaqo::possible_alias_t< int16_t > &, json &) |
template void | set_param (guanaqo::possible_alias_t< uint16_t > &, const json &) |
template void | get_param (const guanaqo::possible_alias_t< uint16_t > &, json &) |
template void | set_param (guanaqo::possible_alias_t< int32_t > &, const json &) |
template void | get_param (const guanaqo::possible_alias_t< int32_t > &, json &) |
template void | set_param (guanaqo::possible_alias_t< int64_t > &, const json &) |
template void | get_param (const guanaqo::possible_alias_t< int64_t > &, json &) |
template void | set_param (guanaqo::possible_alias_t< uint32_t > &, const json &) |
template void | get_param (const guanaqo::possible_alias_t< uint32_t > &, json &) |
template void | set_param (guanaqo::possible_alias_t< uint64_t > &, const json &) |
template void | get_param (const guanaqo::possible_alias_t< uint64_t > &, json &) |
template void | set_param (guanaqo::possible_alias_t< short, int8_t, uint8_t, int16_t, uint16_t, int32_t, int64_t, uint32_t, uint64_t > &, const json &) |
template void | get_param (const guanaqo::possible_alias_t< short, int8_t, uint8_t, int16_t, uint16_t, int32_t, int64_t, uint32_t, uint64_t > &, json &) |
template void | set_param (guanaqo::possible_alias_t< int, short, int8_t, uint8_t, int16_t, uint16_t, int32_t, int64_t, uint32_t, uint64_t > &, const json &) |
template void | get_param (const guanaqo::possible_alias_t< int, short, int8_t, uint8_t, int16_t, uint16_t, int32_t, int64_t, uint32_t, uint64_t > &, json &) |
template void | set_param (guanaqo::possible_alias_t< long, int, short, int8_t, uint8_t, int16_t, uint16_t, int32_t, int64_t, uint32_t, uint64_t > &, const json &) |
template void | get_param (const guanaqo::possible_alias_t< long, int, short, int8_t, uint8_t, int16_t, uint16_t, int32_t, int64_t, uint32_t, uint64_t > &, json &) |
template void | set_param (guanaqo::possible_alias_t< long long, long, int, short, int8_t, uint8_t, int16_t, uint16_t, int32_t, int64_t, uint32_t, uint64_t > &, const json &) |
template void | get_param (const guanaqo::possible_alias_t< long long, long, int, short, int8_t, uint8_t, int16_t, uint16_t, int32_t, int64_t, uint32_t, uint64_t > &, json &) |
template void | set_param (guanaqo::possible_alias_t< ptrdiff_t, long long, long, int, short, int8_t, uint8_t, int16_t, uint16_t, int32_t, int64_t, uint32_t, uint64_t > &, const json &) |
template void | get_param (const guanaqo::possible_alias_t< ptrdiff_t, long long, long, int, short, int8_t, uint8_t, int16_t, uint16_t, int32_t, int64_t, uint32_t, uint64_t > &, json &) |
template void | set_param (guanaqo::possible_alias_t< unsigned short, int8_t, uint8_t, int16_t, uint16_t, int32_t, int64_t, uint32_t, uint64_t > &, const json &) |
template void | get_param (const guanaqo::possible_alias_t< unsigned short, int8_t, uint8_t, int16_t, uint16_t, int32_t, int64_t, uint32_t, uint64_t > &, json &) |
template void | set_param (guanaqo::possible_alias_t< unsigned int, unsigned short, int8_t, uint8_t, int16_t, uint16_t, int32_t, int64_t, uint32_t, uint64_t > &, const json &) |
template void | get_param (const guanaqo::possible_alias_t< unsigned int, unsigned short, int8_t, uint8_t, int16_t, uint16_t, int32_t, int64_t, uint32_t, uint64_t > &, json &) |
template void | set_param (guanaqo::possible_alias_t< unsigned long, unsigned int, unsigned short, int8_t, uint8_t, int16_t, uint16_t, int32_t, int64_t, uint32_t, uint64_t > &, const json &) |
template void | get_param (const guanaqo::possible_alias_t< unsigned long, unsigned int, unsigned short, int8_t, uint8_t, int16_t, uint16_t, int32_t, int64_t, uint32_t, uint64_t > &, json &) |
template void | set_param (guanaqo::possible_alias_t< unsigned long long, unsigned long, unsigned int, unsigned short, int8_t, uint8_t, int16_t, uint16_t, int32_t, int64_t, uint32_t, uint64_t > &, const json &) |
template void | get_param (const guanaqo::possible_alias_t< unsigned long long, unsigned long, unsigned int, unsigned short, int8_t, uint8_t, int16_t, uint16_t, int32_t, int64_t, uint32_t, uint64_t > &, json &) |
template void | set_param (guanaqo::possible_alias_t< size_t, unsigned long long, unsigned long, unsigned int, unsigned short, int8_t, uint8_t, int16_t, uint16_t, int32_t, int64_t, uint32_t, uint64_t > &, const json &) |
template void | get_param (const guanaqo::possible_alias_t< size_t, unsigned long long, unsigned long, unsigned int, unsigned short, int8_t, uint8_t, int16_t, uint16_t, int32_t, int64_t, uint32_t, uint64_t > &, json &) |
template void | set_param (guanaqo::possible_alias_t< std::chrono::nanoseconds > &, const json &) |
template void | get_param (const guanaqo::possible_alias_t< std::chrono::nanoseconds > &, json &) |
template void | set_param (guanaqo::possible_alias_t< std::chrono::microseconds > &, const json &) |
template void | get_param (const guanaqo::possible_alias_t< std::chrono::microseconds > &, json &) |
template void | set_param (guanaqo::possible_alias_t< std::chrono::milliseconds > &, const json &) |
template void | get_param (const guanaqo::possible_alias_t< std::chrono::milliseconds > &, json &) |
template void | set_param (guanaqo::possible_alias_t< std::chrono::seconds > &, const json &) |
template void | get_param (const guanaqo::possible_alias_t< std::chrono::seconds > &, json &) |
template void | set_param (guanaqo::possible_alias_t< std::chrono::minutes > &, const json &) |
template void | get_param (const guanaqo::possible_alias_t< std::chrono::minutes > &, json &) |
template void | set_param (guanaqo::possible_alias_t< std::chrono::hours > &, const json &) |
template void | get_param (const guanaqo::possible_alias_t< std::chrono::hours > &, json &) |
template void | set_param (guanaqo::possible_alias_t< PANOCStopCrit > &, const json &) |
template void | get_param (const guanaqo::possible_alias_t< PANOCStopCrit > &, json &) |
template void | set_param (guanaqo::possible_alias_t< LBFGSStepSize > &, const json &) |
template void | get_param (const guanaqo::possible_alias_t< LBFGSStepSize > &, json &) |
template void | set_param (guanaqo::possible_alias_t< guanaqo::DynamicLoadFlags > &, const json &) |
template void | get_param (const guanaqo::possible_alias_t< guanaqo::DynamicLoadFlags > &, json &) |
template void | set_param (guanaqo::possible_alias_t< CBFGSParams< config_t > > &, const json &) |
template void | get_param (const guanaqo::possible_alias_t< CBFGSParams< config_t > > &, json &) |
template void | set_param (guanaqo::possible_alias_t< LipschitzEstimateParams< config_t > > &, const json &) |
template void | get_param (const guanaqo::possible_alias_t< LipschitzEstimateParams< config_t > > &, json &) |
template void | set_param (guanaqo::possible_alias_t< PANOCParams< config_t > > &, const json &) |
template void | get_param (const guanaqo::possible_alias_t< PANOCParams< config_t > > &, json &) |
template void | set_param (guanaqo::possible_alias_t< FISTAParams< config_t > > &, const json &) |
template void | get_param (const guanaqo::possible_alias_t< FISTAParams< config_t > > &, json &) |
template void | set_param (guanaqo::possible_alias_t< ZeroFPRParams< config_t > > &, const json &) |
template void | get_param (const guanaqo::possible_alias_t< ZeroFPRParams< config_t > > &, json &) |
template void | set_param (guanaqo::possible_alias_t< PANTRParams< config_t > > &, const json &) |
template void | get_param (const guanaqo::possible_alias_t< PANTRParams< config_t > > &, json &) |
template void | set_param (guanaqo::possible_alias_t< LBFGSParams< config_t > > &, const json &) |
template void | get_param (const guanaqo::possible_alias_t< LBFGSParams< config_t > > &, json &) |
template void | set_param (guanaqo::possible_alias_t< AndersonAccelParams< config_t > > &, const json &) |
template void | get_param (const guanaqo::possible_alias_t< AndersonAccelParams< config_t > > &, json &) |
template void | set_param (guanaqo::possible_alias_t< LBFGSDirectionParams< config_t > > &, const json &) |
template void | get_param (const guanaqo::possible_alias_t< LBFGSDirectionParams< config_t > > &, json &) |
template void | set_param (guanaqo::possible_alias_t< AndersonDirectionParams< config_t > > &, const json &) |
template void | get_param (const guanaqo::possible_alias_t< AndersonDirectionParams< config_t > > &, json &) |
template void | set_param (guanaqo::possible_alias_t< StructuredLBFGSDirectionParams< config_t > > &, const json &) |
template void | get_param (const guanaqo::possible_alias_t< StructuredLBFGSDirectionParams< config_t > > &, json &) |
template void | set_param (guanaqo::possible_alias_t< NewtonTRDirectionParams< config_t > > &, const json &) |
template void | get_param (const guanaqo::possible_alias_t< NewtonTRDirectionParams< config_t > > &, json &) |
template void | set_param (guanaqo::possible_alias_t< SteihaugCGParams< config_t > > &, const json &) |
template void | get_param (const guanaqo::possible_alias_t< SteihaugCGParams< config_t > > &, json &) |
template void | set_param (guanaqo::possible_alias_t< StructuredNewtonRegularizationParams< config_t > > &, const json &) |
template void | get_param (const guanaqo::possible_alias_t< StructuredNewtonRegularizationParams< config_t > > &, json &) |
template void | set_param (guanaqo::possible_alias_t< StructuredNewtonDirectionParams< config_t > > &, const json &) |
template void | get_param (const guanaqo::possible_alias_t< StructuredNewtonDirectionParams< config_t > > &, json &) |
template void | set_param (guanaqo::possible_alias_t< ConvexNewtonRegularizationParams< config_t > > &, const json &) |
template void | get_param (const guanaqo::possible_alias_t< ConvexNewtonRegularizationParams< config_t > > &, json &) |
template void | set_param (guanaqo::possible_alias_t< ConvexNewtonDirectionParams< config_t > > &, const json &) |
template void | get_param (const guanaqo::possible_alias_t< ConvexNewtonDirectionParams< config_t > > &, json &) |
template void | set_param (guanaqo::possible_alias_t< ALMParams< config_t > > &, const json &) |
template void | get_param (const guanaqo::possible_alias_t< ALMParams< config_t > > &, json &) |
template void | set_param (guanaqo::possible_alias_t< PANOCOCPParams< config_t > > &, const json &) |
template void | get_param (const guanaqo::possible_alias_t< PANOCOCPParams< config_t > > &, json &) |
template<> | |
void | set_param (std::monostate &, ParamString) |
template<> | |
void | set_param (bool &b, ParamString s) |
template<> | |
void | set_param (std::string_view &v, ParamString s) |
template<> | |
void | set_param (std::string &v, ParamString s) |
template<class T> requires ((std::floating_point<T> || std::integral<T>) && !std::is_enum_v<T> && !std::is_same_v<T, bool>) | |
void | set_param_default (T &f, ParamString s) |
template<> | |
void | set_param (alpaqa::vec< config_t > &v, ParamString s) |
template<> | |
void | set_param (vec_from_file< config_t > &v, ParamString s) |
template<class Duration> requires is_duration<Duration> | |
void | set_param_default (Duration &t, ParamString s) |
template<class... Ts> | |
void | set_param (guanaqo::detail::dummy< Ts... > &, ParamString) |
template void | set_param (guanaqo::possible_alias_t< float > &, ParamString) |
template void | set_param (guanaqo::possible_alias_t< double, float > &, ParamString) |
template void | set_param (guanaqo::possible_alias_t< long double, double, float > &, ParamString) |
template void | set_param (guanaqo::possible_alias_t< int8_t > &, ParamString) |
template void | set_param (guanaqo::possible_alias_t< uint8_t > &, ParamString) |
template void | set_param (guanaqo::possible_alias_t< int16_t > &, ParamString) |
template void | set_param (guanaqo::possible_alias_t< uint16_t > &, ParamString) |
template void | set_param (guanaqo::possible_alias_t< int32_t > &, ParamString) |
template void | set_param (guanaqo::possible_alias_t< int64_t > &, ParamString) |
template void | set_param (guanaqo::possible_alias_t< uint32_t > &, ParamString) |
template void | set_param (guanaqo::possible_alias_t< uint64_t > &, ParamString) |
template void | set_param (guanaqo::possible_alias_t< short, int8_t, uint8_t, int16_t, uint16_t, int32_t, int64_t, uint32_t, uint64_t > &, ParamString) |
template void | set_param (guanaqo::possible_alias_t< int, short, int8_t, uint8_t, int16_t, uint16_t, int32_t, int64_t, uint32_t, uint64_t > &, ParamString) |
template void | set_param (guanaqo::possible_alias_t< long, int, short, int8_t, uint8_t, int16_t, uint16_t, int32_t, int64_t, uint32_t, uint64_t > &, ParamString) |
template void | set_param (guanaqo::possible_alias_t< long long, long, int, short, int8_t, uint8_t, int16_t, uint16_t, int32_t, int64_t, uint32_t, uint64_t > &, ParamString) |
template void | set_param (guanaqo::possible_alias_t< ptrdiff_t, long long, long, int, short, int8_t, uint8_t, int16_t, uint16_t, int32_t, int64_t, uint32_t, uint64_t > &, ParamString) |
template void | set_param (guanaqo::possible_alias_t< unsigned short, int8_t, uint8_t, int16_t, uint16_t, int32_t, int64_t, uint32_t, uint64_t > &, ParamString) |
template void | set_param (guanaqo::possible_alias_t< unsigned int, unsigned short, int8_t, uint8_t, int16_t, uint16_t, int32_t, int64_t, uint32_t, uint64_t > &, ParamString) |
template void | set_param (guanaqo::possible_alias_t< unsigned long, unsigned int, unsigned short, int8_t, uint8_t, int16_t, uint16_t, int32_t, int64_t, uint32_t, uint64_t > &, ParamString) |
template void | set_param (guanaqo::possible_alias_t< unsigned long long, unsigned long, unsigned int, unsigned short, int8_t, uint8_t, int16_t, uint16_t, int32_t, int64_t, uint32_t, uint64_t > &, ParamString) |
template void | set_param (guanaqo::possible_alias_t< size_t, unsigned long long, unsigned long, unsigned int, unsigned short, int8_t, uint8_t, int16_t, uint16_t, int32_t, int64_t, uint32_t, uint64_t > &, ParamString) |
template void | set_param (guanaqo::possible_alias_t< std::chrono::nanoseconds > &, ParamString) |
template void | set_param (guanaqo::possible_alias_t< std::chrono::microseconds > &, ParamString) |
template void | set_param (guanaqo::possible_alias_t< std::chrono::milliseconds > &, ParamString) |
template void | set_param (guanaqo::possible_alias_t< std::chrono::seconds > &, ParamString) |
template void | set_param (guanaqo::possible_alias_t< std::chrono::minutes > &, ParamString) |
template void | set_param (guanaqo::possible_alias_t< std::chrono::hours > &, ParamString) |
template void | set_param (guanaqo::possible_alias_t< PANOCStopCrit > &, ParamString) |
template void | set_param (guanaqo::possible_alias_t< LBFGSStepSize > &, ParamString) |
template void | set_param (guanaqo::possible_alias_t< guanaqo::DynamicLoadFlags > &, ParamString) |
template void | set_param (guanaqo::possible_alias_t< PANOCParams< config_t > > &, ParamString) |
template void | set_param (guanaqo::possible_alias_t< FISTAParams< config_t > > &, ParamString) |
template void | set_param (guanaqo::possible_alias_t< ZeroFPRParams< config_t > > &, ParamString) |
template void | set_param (guanaqo::possible_alias_t< PANTRParams< config_t > > &, ParamString) |
template void | set_param (guanaqo::possible_alias_t< LBFGSParams< config_t > > &, ParamString) |
template void | set_param (guanaqo::possible_alias_t< AndersonAccelParams< config_t > > &, ParamString) |
template void | set_param (guanaqo::possible_alias_t< LBFGSDirectionParams< config_t > > &, ParamString) |
template void | set_param (guanaqo::possible_alias_t< AndersonDirectionParams< config_t > > &, ParamString) |
template void | set_param (guanaqo::possible_alias_t< StructuredLBFGSDirectionParams< config_t > > &, ParamString) |
template void | set_param (guanaqo::possible_alias_t< NewtonTRDirectionParams< config_t > > &, ParamString) |
template void | set_param (guanaqo::possible_alias_t< SteihaugCGParams< config_t > > &, ParamString) |
template void | set_param (guanaqo::possible_alias_t< StructuredNewtonRegularizationParams< config_t > > &, ParamString) |
template void | set_param (guanaqo::possible_alias_t< StructuredNewtonDirectionParams< config_t > > &, ParamString) |
template void | set_param (guanaqo::possible_alias_t< ConvexNewtonRegularizationParams< config_t > > &, ParamString) |
template void | set_param (guanaqo::possible_alias_t< ConvexNewtonDirectionParams< config_t > > &, ParamString) |
template void | set_param (guanaqo::possible_alias_t< ALMParams< config_t > > &, ParamString) |
template void | set_param (guanaqo::possible_alias_t< PANOCOCPParams< config_t > > &, ParamString) |
template<> | |
void | set_param (Ipopt::IpoptApplication &, const json &j) |
template<> | |
void | get_param (const Ipopt::IpoptApplication &, json &j) |
template<class T> | |
static auto | possible_keys (const T &tbl) |
template<> | |
void | set_param (Ipopt::IpoptApplication &app, ParamString s) |
template<> | |
void | set_param (lbfgsb::LBFGSBSolver::Params &t, const json &j) |
template<> | |
void | get_param (const lbfgsb::LBFGSBSolver::Params &t, json &j) |
template<> | |
void | set_param (lbfgsb::LBFGSBSolver::Params &t, ParamString s) |
template<> | |
void | set_param (qpalm::Settings &t, const json &j) |
template<> | |
void | get_param (const qpalm::Settings &t, json &j) |
template<> | |
void | set_param (qpalm::Settings &t, ParamString s) |
Variables | |
template<class T> | |
constexpr bool | is_duration = false |
template<class Rep, class Period> | |
constexpr bool | is_duration< std::chrono::duration< Rep, Period > > = true |
struct alpaqa::params::attribute_accessor |
struct alpaqa::params::attribute_alias_table |
struct alpaqa::params::attribute_table |
struct alpaqa::params::enum_accessor |
struct alpaqa::params::enum_table |
struct alpaqa::params::MemberGetter |
struct alpaqa::params::ParamString |
struct alpaqa::params::Result |
Class Members | ||
---|---|---|
bool | leaf | |
string_view | prefix | |
vector< Member > | members |
struct alpaqa::params::RootOpts |
struct alpaqa::params::Struct |
struct alpaqa::params::Value |
struct alpaqa::params::vec_from_file |
using config_t = DefaultConfig |
using attribute_table_t = std::map<std::string_view, attribute_accessor<S>> |
Dictionary that maps struct attribute names to type-erased functions that set those attributes.
Definition at line 16 of file structs.hpp.
using attribute_alias_table_t = std::map<std::string_view, std::string_view> |
Dictionary that maps struct attribute names to type-erased functions that set those attributes.
Definition at line 50 of file structs.hpp.
using enum_table_t = std::map<std::string_view, enum_accessor<T, S>> |
Dictionary that maps enumerator names to their values and documentation.
Definition at line 85 of file structs.hpp.
void set_param_default | ( | T & | t, |
const json & | j ) |
void set_param_default | ( | T & | t, |
const json & | j ) |
void get_param_default | ( | const T & | t, |
json & | j ) |
void get_param_default | ( | const T & | t, |
json & | s ) |
void assert_key_empty | ( | ParamString | s | ) |
Throw a meaningful error when s.key is not empty, to indicate that the given type T
is not of struct type and cannot be indexed into.
Definition at line 15 of file params.tpp.
void unsupported_type | ( | T & | , |
ParamString | s ) |
Throw a meaningful error to indicate that parameters of type T
are not supported or implemented.
Definition at line 25 of file params.tpp.
void set_param_default | ( | T & | t, |
ParamString | s ) |
Use s
to index into the struct type T
and overwrite the attribute given by s.key
.
Definition at line 71 of file params.tpp.
void set_param_default | ( | T & | t, |
ParamString | s ) |
Set t
to the value of s.value
.
Definition at line 88 of file params.tpp.
void set_param | ( | T & | t, |
const json & | j ) |
void get_param | ( | const T & | t, |
json & | j ) |
|
inline |
Split the string full
on the first occurrence of tok
.
Returns (s, "") if tok was not found.
Definition at line 32 of file params.hpp.
void set_param | ( | T & | t, |
ParamString | s ) |
Update/overwrite the first argument based on the option in s
.
Definition at line 169 of file params.cpp.
void set_params | ( | T & | t, |
std::string_view | prefix, | ||
std::span< const std::string_view > | options, | ||
std::optional< std::span< unsigned > > | used = std::nullopt ) |
Overwrites t
based on the options
that start with prefix
.
If used
is not nullopt, sets corresponding flag of the options that were used.
Definition at line 49 of file params.hpp.
bool is_leaf | ( | ) |
Result get_members | ( | const MemberGetter & | s | ) |
Catch-all.
Definition at line 47 of file param-complete.cpp.
Result get_members | ( | const MemberGetter & | s | ) |
Struct types.
Definition at line 55 of file param-complete.cpp.
Result get_members | ( | const MemberGetter & | s | ) |
Enum types.
Definition at line 84 of file param-complete.cpp.
Result get_members< bool > | ( | const MemberGetter & | s | ) |
True/false.
Definition at line 103 of file param-complete.cpp.
void set_param_default | ( | Duration & | t, |
const json & | j ) |
void get_param_default | ( | const Duration & | t, |
json & | s ) |
void set_param | ( | alpaqa::vec< config_t > & | v, |
const json & | j ) |
void set_param | ( | vec_from_file< config_t > & | v, |
const json & | j ) |
void set_param | ( | std::monostate & | , |
const nlohmann::json & | ) |
void set_param | ( | bool & | t, |
const nlohmann::json & | j ) |
void set_param | ( | std::string & | t, |
const nlohmann::json & | j ) |
void set_param_default | ( | T & | t, |
const nlohmann::json & | j ) |
void set_param_default | ( | T & | t, |
const nlohmann::json & | j ) |
void get_param_default | ( | const T & | t, |
nlohmann::json & | j ) |
void get_param_default | ( | const T & | t, |
nlohmann::json & | j ) |
void set_param | ( | guanaqo::detail::dummy< Ts... > & | , |
const json & | ) |
void get_param | ( | const guanaqo::detail::dummy< Ts... > & | , |
json & | ) |
template void get_param | ( | const guanaqo::possible_alias_t< std::string > & | , |
json & | ) |
template void get_param | ( | const guanaqo::possible_alias_t< bool > & | , |
json & | ) |
template void set_param | ( | guanaqo::possible_alias_t< float > & | , |
const json & | ) |
template void get_param | ( | const guanaqo::possible_alias_t< float > & | , |
json & | ) |
template void set_param | ( | guanaqo::possible_alias_t< double, float > & | , |
const json & | ) |
template void get_param | ( | const guanaqo::possible_alias_t< double, float > & | , |
json & | ) |
template void set_param | ( | guanaqo::possible_alias_t< long double, double, float > & | , |
const json & | ) |
template void get_param | ( | const guanaqo::possible_alias_t< long double, double, float > & | , |
json & | ) |
template void set_param | ( | guanaqo::possible_alias_t< int8_t > & | , |
const json & | ) |
template void get_param | ( | const guanaqo::possible_alias_t< int8_t > & | , |
json & | ) |
template void set_param | ( | guanaqo::possible_alias_t< uint8_t > & | , |
const json & | ) |
template void get_param | ( | const guanaqo::possible_alias_t< uint8_t > & | , |
json & | ) |
template void set_param | ( | guanaqo::possible_alias_t< int16_t > & | , |
const json & | ) |
template void get_param | ( | const guanaqo::possible_alias_t< int16_t > & | , |
json & | ) |
template void set_param | ( | guanaqo::possible_alias_t< uint16_t > & | , |
const json & | ) |
template void get_param | ( | const guanaqo::possible_alias_t< uint16_t > & | , |
json & | ) |
template void set_param | ( | guanaqo::possible_alias_t< int32_t > & | , |
const json & | ) |
template void get_param | ( | const guanaqo::possible_alias_t< int32_t > & | , |
json & | ) |
template void set_param | ( | guanaqo::possible_alias_t< int64_t > & | , |
const json & | ) |
template void get_param | ( | const guanaqo::possible_alias_t< int64_t > & | , |
json & | ) |
template void set_param | ( | guanaqo::possible_alias_t< uint32_t > & | , |
const json & | ) |
template void get_param | ( | const guanaqo::possible_alias_t< uint32_t > & | , |
json & | ) |
template void set_param | ( | guanaqo::possible_alias_t< uint64_t > & | , |
const json & | ) |
template void get_param | ( | const guanaqo::possible_alias_t< uint64_t > & | , |
json & | ) |
template void set_param | ( | guanaqo::possible_alias_t< short, int8_t, uint8_t, int16_t, uint16_t, int32_t, int64_t, uint32_t, uint64_t > & | , |
const json & | ) |
template void get_param | ( | const guanaqo::possible_alias_t< short, int8_t, uint8_t, int16_t, uint16_t, int32_t, int64_t, uint32_t, uint64_t > & | , |
json & | ) |
template void set_param | ( | guanaqo::possible_alias_t< int, short, int8_t, uint8_t, int16_t, uint16_t, int32_t, int64_t, uint32_t, uint64_t > & | , |
const json & | ) |
template void get_param | ( | const guanaqo::possible_alias_t< int, short, int8_t, uint8_t, int16_t, uint16_t, int32_t, int64_t, uint32_t, uint64_t > & | , |
json & | ) |
template void set_param | ( | guanaqo::possible_alias_t< long, int, short, int8_t, uint8_t, int16_t, uint16_t, int32_t, int64_t, uint32_t, uint64_t > & | , |
const json & | ) |
template void get_param | ( | const guanaqo::possible_alias_t< long, int, short, int8_t, uint8_t, int16_t, uint16_t, int32_t, int64_t, uint32_t, uint64_t > & | , |
json & | ) |
template void set_param | ( | guanaqo::possible_alias_t< long long, long, int, short, int8_t, uint8_t, int16_t, uint16_t, int32_t, int64_t, uint32_t, uint64_t > & | , |
const json & | ) |
template void get_param | ( | const guanaqo::possible_alias_t< long long, long, int, short, int8_t, uint8_t, int16_t, uint16_t, int32_t, int64_t, uint32_t, uint64_t > & | , |
json & | ) |
template void set_param | ( | guanaqo::possible_alias_t< ptrdiff_t, long long, long, int, short, int8_t, uint8_t, int16_t, uint16_t, int32_t, int64_t, uint32_t, uint64_t > & | , |
const json & | ) |
template void get_param | ( | const guanaqo::possible_alias_t< ptrdiff_t, long long, long, int, short, int8_t, uint8_t, int16_t, uint16_t, int32_t, int64_t, uint32_t, uint64_t > & | , |
json & | ) |
template void set_param | ( | guanaqo::possible_alias_t< unsigned short, int8_t, uint8_t, int16_t, uint16_t, int32_t, int64_t, uint32_t, uint64_t > & | , |
const json & | ) |
template void get_param | ( | const guanaqo::possible_alias_t< unsigned short, int8_t, uint8_t, int16_t, uint16_t, int32_t, int64_t, uint32_t, uint64_t > & | , |
json & | ) |
template void set_param | ( | guanaqo::possible_alias_t< unsigned int, unsigned short, int8_t, uint8_t, int16_t, uint16_t, int32_t, int64_t, uint32_t, uint64_t > & | , |
const json & | ) |
template void get_param | ( | const guanaqo::possible_alias_t< unsigned int, unsigned short, int8_t, uint8_t, int16_t, uint16_t, int32_t, int64_t, uint32_t, uint64_t > & | , |
json & | ) |
template void set_param | ( | guanaqo::possible_alias_t< unsigned long, unsigned int, unsigned short, int8_t, uint8_t, int16_t, uint16_t, int32_t, int64_t, uint32_t, uint64_t > & | , |
const json & | ) |
template void get_param | ( | const guanaqo::possible_alias_t< unsigned long, unsigned int, unsigned short, int8_t, uint8_t, int16_t, uint16_t, int32_t, int64_t, uint32_t, uint64_t > & | , |
json & | ) |
template void set_param | ( | guanaqo::possible_alias_t< unsigned long long, unsigned long, unsigned int, unsigned short, int8_t, uint8_t, int16_t, uint16_t, int32_t, int64_t, uint32_t, uint64_t > & | , |
const json & | ) |
template void get_param | ( | const guanaqo::possible_alias_t< unsigned long long, unsigned long, unsigned int, unsigned short, int8_t, uint8_t, int16_t, uint16_t, int32_t, int64_t, uint32_t, uint64_t > & | , |
json & | ) |
template void set_param | ( | guanaqo::possible_alias_t< size_t, unsigned long long, unsigned long, unsigned int, unsigned short, int8_t, uint8_t, int16_t, uint16_t, int32_t, int64_t, uint32_t, uint64_t > & | , |
const json & | ) |
template void get_param | ( | const guanaqo::possible_alias_t< size_t, unsigned long long, unsigned long, unsigned int, unsigned short, int8_t, uint8_t, int16_t, uint16_t, int32_t, int64_t, uint32_t, uint64_t > & | , |
json & | ) |
template void set_param | ( | guanaqo::possible_alias_t< std::chrono::nanoseconds > & | , |
const json & | ) |
template void get_param | ( | const guanaqo::possible_alias_t< std::chrono::nanoseconds > & | , |
json & | ) |
template void set_param | ( | guanaqo::possible_alias_t< std::chrono::microseconds > & | , |
const json & | ) |
template void get_param | ( | const guanaqo::possible_alias_t< std::chrono::microseconds > & | , |
json & | ) |
template void set_param | ( | guanaqo::possible_alias_t< std::chrono::milliseconds > & | , |
const json & | ) |
template void get_param | ( | const guanaqo::possible_alias_t< std::chrono::milliseconds > & | , |
json & | ) |
template void set_param | ( | guanaqo::possible_alias_t< std::chrono::seconds > & | , |
const json & | ) |
template void get_param | ( | const guanaqo::possible_alias_t< std::chrono::seconds > & | , |
json & | ) |
template void set_param | ( | guanaqo::possible_alias_t< std::chrono::minutes > & | , |
const json & | ) |
template void get_param | ( | const guanaqo::possible_alias_t< std::chrono::minutes > & | , |
json & | ) |
template void set_param | ( | guanaqo::possible_alias_t< std::chrono::hours > & | , |
const json & | ) |
template void get_param | ( | const guanaqo::possible_alias_t< std::chrono::hours > & | , |
json & | ) |
template void set_param | ( | guanaqo::possible_alias_t< PANOCStopCrit > & | , |
const json & | ) |
template void get_param | ( | const guanaqo::possible_alias_t< PANOCStopCrit > & | , |
json & | ) |
template void set_param | ( | guanaqo::possible_alias_t< LBFGSStepSize > & | , |
const json & | ) |
template void get_param | ( | const guanaqo::possible_alias_t< LBFGSStepSize > & | , |
json & | ) |
template void set_param | ( | guanaqo::possible_alias_t< guanaqo::DynamicLoadFlags > & | , |
const json & | ) |
template void get_param | ( | const guanaqo::possible_alias_t< guanaqo::DynamicLoadFlags > & | , |
json & | ) |
template void set_param | ( | guanaqo::possible_alias_t< CBFGSParams< config_t > > & | , |
const json & | ) |
template void get_param | ( | const guanaqo::possible_alias_t< CBFGSParams< config_t > > & | , |
json & | ) |
template void set_param | ( | guanaqo::possible_alias_t< LipschitzEstimateParams< config_t > > & | , |
const json & | ) |
template void get_param | ( | const guanaqo::possible_alias_t< LipschitzEstimateParams< config_t > > & | , |
json & | ) |
template void set_param | ( | guanaqo::possible_alias_t< PANOCParams< config_t > > & | , |
const json & | ) |
template void get_param | ( | const guanaqo::possible_alias_t< PANOCParams< config_t > > & | , |
json & | ) |
template void set_param | ( | guanaqo::possible_alias_t< FISTAParams< config_t > > & | , |
const json & | ) |
template void get_param | ( | const guanaqo::possible_alias_t< FISTAParams< config_t > > & | , |
json & | ) |
template void set_param | ( | guanaqo::possible_alias_t< ZeroFPRParams< config_t > > & | , |
const json & | ) |
template void get_param | ( | const guanaqo::possible_alias_t< ZeroFPRParams< config_t > > & | , |
json & | ) |
template void set_param | ( | guanaqo::possible_alias_t< PANTRParams< config_t > > & | , |
const json & | ) |
template void get_param | ( | const guanaqo::possible_alias_t< PANTRParams< config_t > > & | , |
json & | ) |
template void set_param | ( | guanaqo::possible_alias_t< LBFGSParams< config_t > > & | , |
const json & | ) |
template void get_param | ( | const guanaqo::possible_alias_t< LBFGSParams< config_t > > & | , |
json & | ) |
template void set_param | ( | guanaqo::possible_alias_t< AndersonAccelParams< config_t > > & | , |
const json & | ) |
template void get_param | ( | const guanaqo::possible_alias_t< AndersonAccelParams< config_t > > & | , |
json & | ) |
template void set_param | ( | guanaqo::possible_alias_t< LBFGSDirectionParams< config_t > > & | , |
const json & | ) |
template void get_param | ( | const guanaqo::possible_alias_t< LBFGSDirectionParams< config_t > > & | , |
json & | ) |
template void set_param | ( | guanaqo::possible_alias_t< AndersonDirectionParams< config_t > > & | , |
const json & | ) |
template void get_param | ( | const guanaqo::possible_alias_t< AndersonDirectionParams< config_t > > & | , |
json & | ) |
template void set_param | ( | guanaqo::possible_alias_t< StructuredLBFGSDirectionParams< config_t > > & | , |
const json & | ) |
template void get_param | ( | const guanaqo::possible_alias_t< StructuredLBFGSDirectionParams< config_t > > & | , |
json & | ) |
template void set_param | ( | guanaqo::possible_alias_t< NewtonTRDirectionParams< config_t > > & | , |
const json & | ) |
template void get_param | ( | const guanaqo::possible_alias_t< NewtonTRDirectionParams< config_t > > & | , |
json & | ) |
template void set_param | ( | guanaqo::possible_alias_t< SteihaugCGParams< config_t > > & | , |
const json & | ) |
template void get_param | ( | const guanaqo::possible_alias_t< SteihaugCGParams< config_t > > & | , |
json & | ) |
template void set_param | ( | guanaqo::possible_alias_t< StructuredNewtonRegularizationParams< config_t > > & | , |
const json & | ) |
template void get_param | ( | const guanaqo::possible_alias_t< StructuredNewtonRegularizationParams< config_t > > & | , |
json & | ) |
template void set_param | ( | guanaqo::possible_alias_t< StructuredNewtonDirectionParams< config_t > > & | , |
const json & | ) |
template void get_param | ( | const guanaqo::possible_alias_t< StructuredNewtonDirectionParams< config_t > > & | , |
json & | ) |
template void set_param | ( | guanaqo::possible_alias_t< ConvexNewtonRegularizationParams< config_t > > & | , |
const json & | ) |
template void get_param | ( | const guanaqo::possible_alias_t< ConvexNewtonRegularizationParams< config_t > > & | , |
json & | ) |
template void set_param | ( | guanaqo::possible_alias_t< ConvexNewtonDirectionParams< config_t > > & | , |
const json & | ) |
template void get_param | ( | const guanaqo::possible_alias_t< ConvexNewtonDirectionParams< config_t > > & | , |
json & | ) |
template void set_param | ( | guanaqo::possible_alias_t< PANOCOCPParams< config_t > > & | , |
const json & | ) |
template void get_param | ( | const guanaqo::possible_alias_t< PANOCOCPParams< config_t > > & | , |
json & | ) |
void set_param | ( | std::monostate & | , |
ParamString | ) |
Definition at line 33 of file params.cpp.
void set_param | ( | bool & | b, |
ParamString | s ) |
void set_param | ( | std::string_view & | v, |
ParamString | s ) |
Definition at line 53 of file params.cpp.
void set_param | ( | std::string & | v, |
ParamString | s ) |
void set_param_default | ( | T & | f, |
ParamString | s ) |
void set_param | ( | alpaqa::vec< config_t > & | v, |
ParamString | s ) |
void set_param | ( | vec_from_file< config_t > & | v, |
ParamString | s ) |
void set_param_default | ( | Duration & | t, |
ParamString | s ) |
void set_param | ( | guanaqo::detail::dummy< Ts... > & | , |
ParamString | ) |
Definition at line 174 of file params.cpp.
template void set_param | ( | guanaqo::possible_alias_t< float > & | , |
ParamString | ) |
template void set_param | ( | guanaqo::possible_alias_t< double, float > & | , |
ParamString | ) |
template void set_param | ( | guanaqo::possible_alias_t< long double, double, float > & | , |
ParamString | ) |
template void set_param | ( | guanaqo::possible_alias_t< int8_t > & | , |
ParamString | ) |
template void set_param | ( | guanaqo::possible_alias_t< uint8_t > & | , |
ParamString | ) |
template void set_param | ( | guanaqo::possible_alias_t< int16_t > & | , |
ParamString | ) |
template void set_param | ( | guanaqo::possible_alias_t< uint16_t > & | , |
ParamString | ) |
template void set_param | ( | guanaqo::possible_alias_t< int32_t > & | , |
ParamString | ) |
template void set_param | ( | guanaqo::possible_alias_t< int64_t > & | , |
ParamString | ) |
template void set_param | ( | guanaqo::possible_alias_t< uint32_t > & | , |
ParamString | ) |
template void set_param | ( | guanaqo::possible_alias_t< uint64_t > & | , |
ParamString | ) |
template void set_param | ( | guanaqo::possible_alias_t< short, int8_t, uint8_t, int16_t, uint16_t, int32_t, int64_t, uint32_t, uint64_t > & | , |
ParamString | ) |
template void set_param | ( | guanaqo::possible_alias_t< int, short, int8_t, uint8_t, int16_t, uint16_t, int32_t, int64_t, uint32_t, uint64_t > & | , |
ParamString | ) |
template void set_param | ( | guanaqo::possible_alias_t< long, int, short, int8_t, uint8_t, int16_t, uint16_t, int32_t, int64_t, uint32_t, uint64_t > & | , |
ParamString | ) |
template void set_param | ( | guanaqo::possible_alias_t< long long, long, int, short, int8_t, uint8_t, int16_t, uint16_t, int32_t, int64_t, uint32_t, uint64_t > & | , |
ParamString | ) |
template void set_param | ( | guanaqo::possible_alias_t< ptrdiff_t, long long, long, int, short, int8_t, uint8_t, int16_t, uint16_t, int32_t, int64_t, uint32_t, uint64_t > & | , |
ParamString | ) |
template void set_param | ( | guanaqo::possible_alias_t< unsigned short, int8_t, uint8_t, int16_t, uint16_t, int32_t, int64_t, uint32_t, uint64_t > & | , |
ParamString | ) |
template void set_param | ( | guanaqo::possible_alias_t< unsigned int, unsigned short, int8_t, uint8_t, int16_t, uint16_t, int32_t, int64_t, uint32_t, uint64_t > & | , |
ParamString | ) |
template void set_param | ( | guanaqo::possible_alias_t< unsigned long, unsigned int, unsigned short, int8_t, uint8_t, int16_t, uint16_t, int32_t, int64_t, uint32_t, uint64_t > & | , |
ParamString | ) |
template void set_param | ( | guanaqo::possible_alias_t< unsigned long long, unsigned long, unsigned int, unsigned short, int8_t, uint8_t, int16_t, uint16_t, int32_t, int64_t, uint32_t, uint64_t > & | , |
ParamString | ) |
template void set_param | ( | guanaqo::possible_alias_t< size_t, unsigned long long, unsigned long, unsigned int, unsigned short, int8_t, uint8_t, int16_t, uint16_t, int32_t, int64_t, uint32_t, uint64_t > & | , |
ParamString | ) |
template void set_param | ( | guanaqo::possible_alias_t< std::chrono::nanoseconds > & | , |
ParamString | ) |
template void set_param | ( | guanaqo::possible_alias_t< std::chrono::microseconds > & | , |
ParamString | ) |
template void set_param | ( | guanaqo::possible_alias_t< std::chrono::milliseconds > & | , |
ParamString | ) |
template void set_param | ( | guanaqo::possible_alias_t< std::chrono::seconds > & | , |
ParamString | ) |
template void set_param | ( | guanaqo::possible_alias_t< std::chrono::minutes > & | , |
ParamString | ) |
template void set_param | ( | guanaqo::possible_alias_t< std::chrono::hours > & | , |
ParamString | ) |
template void set_param | ( | guanaqo::possible_alias_t< PANOCStopCrit > & | , |
ParamString | ) |
template void set_param | ( | guanaqo::possible_alias_t< LBFGSStepSize > & | , |
ParamString | ) |
template void set_param | ( | guanaqo::possible_alias_t< guanaqo::DynamicLoadFlags > & | , |
ParamString | ) |
template void set_param | ( | guanaqo::possible_alias_t< PANOCParams< config_t > > & | , |
ParamString | ) |
template void set_param | ( | guanaqo::possible_alias_t< FISTAParams< config_t > > & | , |
ParamString | ) |
template void set_param | ( | guanaqo::possible_alias_t< ZeroFPRParams< config_t > > & | , |
ParamString | ) |
template void set_param | ( | guanaqo::possible_alias_t< PANTRParams< config_t > > & | , |
ParamString | ) |
template void set_param | ( | guanaqo::possible_alias_t< LBFGSParams< config_t > > & | , |
ParamString | ) |
template void set_param | ( | guanaqo::possible_alias_t< AndersonAccelParams< config_t > > & | , |
ParamString | ) |
template void set_param | ( | guanaqo::possible_alias_t< LBFGSDirectionParams< config_t > > & | , |
ParamString | ) |
template void set_param | ( | guanaqo::possible_alias_t< AndersonDirectionParams< config_t > > & | , |
ParamString | ) |
template void set_param | ( | guanaqo::possible_alias_t< StructuredLBFGSDirectionParams< config_t > > & | , |
ParamString | ) |
template void set_param | ( | guanaqo::possible_alias_t< NewtonTRDirectionParams< config_t > > & | , |
ParamString | ) |
template void set_param | ( | guanaqo::possible_alias_t< SteihaugCGParams< config_t > > & | , |
ParamString | ) |
template void set_param | ( | guanaqo::possible_alias_t< StructuredNewtonRegularizationParams< config_t > > & | , |
ParamString | ) |
template void set_param | ( | guanaqo::possible_alias_t< StructuredNewtonDirectionParams< config_t > > & | , |
ParamString | ) |
template void set_param | ( | guanaqo::possible_alias_t< ConvexNewtonRegularizationParams< config_t > > & | , |
ParamString | ) |
template void set_param | ( | guanaqo::possible_alias_t< ConvexNewtonDirectionParams< config_t > > & | , |
ParamString | ) |
template void set_param | ( | guanaqo::possible_alias_t< ALMParams< config_t > > & | , |
ParamString | ) |
template void set_param | ( | guanaqo::possible_alias_t< PANOCOCPParams< config_t > > & | , |
ParamString | ) |
void set_param | ( | Ipopt::IpoptApplication & | , |
const json & | j ) |
Definition at line 10 of file ipopt-json.cpp.
void get_param | ( | const Ipopt::IpoptApplication & | , |
json & | j ) |
Definition at line 17 of file ipopt-json.cpp.
|
static |
void set_param | ( | Ipopt::IpoptApplication & | app, |
ParamString | s ) |
void set_param | ( | lbfgsb::LBFGSBSolver::Params & | t, |
const json & | j ) |
Definition at line 9 of file lbfgsb-json.cpp.
void get_param | ( | const lbfgsb::LBFGSBSolver::Params & | t, |
json & | j ) |
void set_param | ( | lbfgsb::LBFGSBSolver::Params & | t, |
ParamString | s ) |
Definition at line 9 of file lbfgsb-params.cpp.
void set_param | ( | qpalm::Settings & | t, |
const json & | j ) |
void get_param | ( | const qpalm::Settings & | t, |
json & | j ) |
void set_param | ( | qpalm::Settings & | t, |
ParamString | s ) |
|
inlineconstexpr |