alpaqa 1.1.0a1
Nonconvex constrained optimization
Loading...
Searching...
No Matches
Options Class Reference

#include </home/runner/work/alpaqa/alpaqa/src/alpaqa/src/driver/options.hpp>

Detailed Description

Definition at line 20 of file options.hpp.

Collaboration diagram for Options:

Public Member Functions

 Options (int argc, const char *const argv[])
std::span< const std::string_view > json_flags () const
std::span< const std::string_view > options () const
std::span< unsigned > used ()
template<class T>
void set_params (T &t, std::string_view prefix)

Private Attributes

std::vector< std::string_view > opts_storage
std::vector< unsigned > used_storage
size_t num_json

Constructor & Destructor Documentation

◆ Options()

Options ( int argc,
const char *const argv[] )
inline

Definition at line 31 of file options.hpp.

Here is the call graph for this function:

Member Function Documentation

◆ json_flags()

std::span< const std::string_view > json_flags ( ) const
inlinenodiscard

Definition at line 55 of file options.hpp.

Here is the caller graph for this function:

◆ options()

std::span< const std::string_view > options ( ) const
inlinenodiscard

Definition at line 58 of file options.hpp.

Here is the caller graph for this function:

◆ used()

std::span< unsigned > used ( )
inlinenodiscard

Definition at line 61 of file options.hpp.

Here is the caller graph for this function:

◆ set_params()

template<class T>
void set_params ( T & t,
std::string_view prefix )

Definition at line 93 of file options.hpp.

Here is the call graph for this function:
Here is the caller graph for this function:

Member Data Documentation

◆ opts_storage

std::vector<std::string_view> opts_storage
private

Definition at line 22 of file options.hpp.

◆ used_storage

std::vector<unsigned> used_storage
private

Definition at line 23 of file options.hpp.

◆ num_json

size_t num_json
private

Definition at line 24 of file options.hpp.


The documentation for this class was generated from the following file: