alpaqa 0.0.1
Nonconvex constrained optimization
Public Member Functions | Public Attributes | Static Private Member Functions | List of all members
ProblemWithCounters< ProblemT > Class Template Reference

#include <alpaqa/util/problem.hpp>

Detailed Description

template<class ProblemT>
class alpaqa::ProblemWithCounters< ProblemT >

Definition at line 219 of file include/alpaqa/util/problem.hpp.

+ Inheritance diagram for ProblemWithCounters< ProblemT >:
+ Collaboration diagram for ProblemWithCounters< ProblemT >:

Public Member Functions

 ProblemWithCounters (ProblemT &&p)
 
 ProblemWithCounters (const ProblemT &p)
 
 ProblemWithCounters (const ProblemWithCounters &)=delete
 
ProblemWithCountersoperator= (const ProblemWithCounters &)=delete
 
 ProblemWithCounters (ProblemWithCounters &&)=default
 
ProblemWithCountersoperator= (ProblemWithCounters &&)=default
 

Public Attributes

std::shared_ptr< EvalCounterevaluations = std::make_shared<EvalCounter>()
 

Static Private Member Functions

static void attach_counters (ProblemWithCounters &)
 

Constructor & Destructor Documentation

◆ ProblemWithCounters() [1/4]

ProblemWithCounters ( ProblemT &&  p)
inline

Definition at line 221 of file include/alpaqa/util/problem.hpp.

+ Here is the call graph for this function:

◆ ProblemWithCounters() [2/4]

ProblemWithCounters ( const ProblemT &  p)
inline

Definition at line 224 of file include/alpaqa/util/problem.hpp.

+ Here is the call graph for this function:

◆ ProblemWithCounters() [3/4]

ProblemWithCounters ( const ProblemWithCounters< ProblemT > &  )
delete

◆ ProblemWithCounters() [4/4]

ProblemWithCounters ( ProblemWithCounters< ProblemT > &&  )
default

Member Function Documentation

◆ operator=() [1/2]

ProblemWithCounters & operator= ( const ProblemWithCounters< ProblemT > &  )
delete

◆ operator=() [2/2]

ProblemWithCounters & operator= ( ProblemWithCounters< ProblemT > &&  )
default

◆ attach_counters()

void attach_counters ( ProblemWithCounters< ProblemT > &  )
staticprivate

Definition at line 241 of file include/alpaqa/util/problem.hpp.

+ Here is the caller graph for this function:

Member Data Documentation

◆ evaluations

std::shared_ptr<EvalCounter> evaluations = std::make_shared<EvalCounter>()

Definition at line 234 of file include/alpaqa/util/problem.hpp.


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