alpaqa pantr
Nonconvex constrained optimization
Loading...
Searching...
No Matches
Classes | Namespaces | Macros | Functions
results.hpp File Reference
#include <alpaqa/config/config.hpp>
#include <alpaqa/problem/kkt-error.hpp>
#include <alpaqa/problem/ocproblem-counters.hpp>
#include <alpaqa/problem/problem-counters.hpp>
#include <alpaqa/util/print.hpp>
#include <bit>
#include <charconv>
#include <chrono>
#include <iomanip>
#include <map>
#include <numeric>
#include <string_view>
#include <variant>
#include "problem.hpp"
+ Include dependency graph for results.hpp:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  SolverResults
 
struct  BenchmarkResults
 
struct  overloaded< Ts >
 

Namespaces

namespace  detail
 

Macros

#define EVAL(name)   dict_elem(#name, evals.name)
 
#define EVAL(name)   dict_elem(#name, evals.name)
 

Functions

std::string random_hex_string (auto &&rng)
 
template<class Clk >
auto timestamp_ms ()
 
void write_evaluations (std::ostream &os, const alpaqa::EvalCounter &evals)
 
void write_evaluations (std::ostream &os, const alpaqa::OCPEvalCounter &evals)
 
template<class... Ts>
 overloaded (Ts...) -> overloaded< Ts... >
 
void print_results (std::ostream &os, const BenchmarkResults &results)
 
void write_results (std::ostream &os, const BenchmarkResults &results)
 

Macro Definition Documentation

◆ EVAL [1/2]

#define EVAL (   name)    dict_elem(#name, evals.name)

◆ EVAL [2/2]

#define EVAL (   name)    dict_elem(#name, evals.name)

Function Documentation

◆ random_hex_string()

std::string random_hex_string ( auto &&  rng)
inline

Definition at line 51 of file results.hpp.

+ Here is the caller graph for this function:

◆ timestamp_ms()

auto timestamp_ms ( )

Definition at line 60 of file results.hpp.

◆ write_evaluations() [1/2]

void write_evaluations ( std::ostream &  os,
const alpaqa::EvalCounter evals 
)
inline

Definition at line 67 of file results.hpp.

◆ write_evaluations() [2/2]

void write_evaluations ( std::ostream &  os,
const alpaqa::OCPEvalCounter evals 
)
inline

Definition at line 95 of file results.hpp.

◆ print_results()

void print_results ( std::ostream &  os,
const BenchmarkResults results 
)
inline

Definition at line 134 of file results.hpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ write_results()

void write_results ( std::ostream &  os,
const BenchmarkResults results 
)
inline

Definition at line 179 of file results.hpp.