alpaqa 1.0.0a13
Nonconvex constrained optimization
Loading...
Searching...
No Matches
Public Types | Public Member Functions | Public Attributes | List of all members
AlpaqaSolverWrapperStats< Conf > Struct Template Reference

#include </__w/alpaqa/alpaqa/src/alpaqa/src/driver/extra-stats.hpp>

Detailed Description

template<alpaqa::Config Conf>
struct AlpaqaSolverWrapperStats< Conf >

Definition at line 56 of file extra-stats.hpp.

+ Inheritance diagram for AlpaqaSolverWrapperStats< Conf >:
+ Collaboration diagram for AlpaqaSolverWrapperStats< Conf >:

Public Types

using collector_t = std::shared_ptr< const AlpaqaSolverStatsCollector< config_t > >
 

Public Member Functions

 AlpaqaSolverWrapperStats (solver_func_t run, collector_t collector)
 
bool has_statistics () const override
 
void write_statistics_to_stream (std::ostream &os) override
 

Public Attributes

collector_t collector
 
solver_func_t run
 

Member Typedef Documentation

◆ collector_t

template<alpaqa::Config Conf>
using collector_t = std::shared_ptr<const AlpaqaSolverStatsCollector<config_t> >

Definition at line 58 of file extra-stats.hpp.

Constructor & Destructor Documentation

◆ AlpaqaSolverWrapperStats()

template<alpaqa::Config Conf>
AlpaqaSolverWrapperStats ( solver_func_t  run,
collector_t  collector 
)
inline

Definition at line 60 of file extra-stats.hpp.

Member Function Documentation

◆ has_statistics()

template<alpaqa::Config Conf>
bool has_statistics ( ) const
inlineoverridevirtual

Reimplemented from SolverWrapper.

Definition at line 63 of file extra-stats.hpp.

◆ write_statistics_to_stream()

template<alpaqa::Config Conf>
void write_statistics_to_stream ( std::ostream &  os)
inlineoverridevirtual

Reimplemented from SolverWrapper.

Definition at line 66 of file extra-stats.hpp.

+ Here is the call graph for this function:

Member Data Documentation

◆ collector

template<alpaqa::Config Conf>
collector_t collector

Definition at line 62 of file extra-stats.hpp.

◆ run

solver_func_t run
inherited

Definition at line 15 of file solver-driver.hpp.


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