alpaqa guanaqo
Nonconvex constrained optimization
Loading...
Searching...
No Matches
problem-counters.cpp File Reference
#include <alpaqa/problem/problem-counters.hpp>
#include <iomanip>
#include <iostream>
Include dependency graph for problem-counters.cpp:

Go to the source code of this file.

Classes

struct  CountResult

Namespaces

namespace  alpaqa
namespace  alpaqa::anonymous_namespace{problem-counters.cpp}

Macros

#define ALPAQA_STRINGIFY(a)
#define ALPAQA_STRINGIFY_IMPL(a)
#define ALPAQA_PRINT_EVAL(x)

Functions

std::ostream & operator<< (std::ostream &os, const CountResult &t)
std::ostream & operator<< (std::ostream &, const EvalCounter &)

Class Documentation

◆ alpaqa::anonymous_namespace{problem-counters.cpp}::CountResult

struct alpaqa::anonymous_namespace{problem-counters.cpp}::CountResult
Collaboration diagram for CountResult:
Class Members
unsigned count
nanoseconds time

Macro Definition Documentation

◆ ALPAQA_STRINGIFY

#define ALPAQA_STRINGIFY ( a)
Value:
#define ALPAQA_STRINGIFY_IMPL(a)

Definition at line 32 of file problem-counters.cpp.

◆ ALPAQA_STRINGIFY_IMPL

#define ALPAQA_STRINGIFY_IMPL ( a)
Value:
#a

Definition at line 33 of file problem-counters.cpp.

◆ ALPAQA_PRINT_EVAL

#define ALPAQA_PRINT_EVAL ( x)
Value:
do { \
os << std::setw(53) << ALPAQA_STRINGIFY(x) ":" \
<< CountResult{c.x, c.time.x}; \
} while (false)
#define ALPAQA_STRINGIFY(a)

Definition at line 34 of file problem-counters.cpp.