alpaqa no-casadi-dep
Nonconvex constrained optimization
Loading...
Searching...
No Matches
Public Member Functions | Private Attributes | List of all members
Options Class Reference

#include </__w/alpaqa/alpaqa/src/alpaqa/src/driver/options.hpp>

Detailed Description

Definition at line 22 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 33 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
inline

Definition at line 57 of file options.hpp.

+ Here is the caller graph for this function:

◆ options()

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

Definition at line 60 of file options.hpp.

+ Here is the caller graph for this function:

◆ used()

std::span< unsigned > used ( )
inline

Definition at line 63 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 95 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 24 of file options.hpp.

◆ used_storage

std::vector<unsigned> used_storage
private

Definition at line 25 of file options.hpp.

◆ num_json

size_t num_json
private

Definition at line 26 of file options.hpp.


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