alpaqa 1.0.0a17
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 61 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 63 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 65 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 68 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 71 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 67 of file extra-stats.hpp.

◆ run

solver_func_t run
inherited

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


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