|
OPTK
0.1.2
Toolkit for global optimisation algorithms
|
#include <benchmark.hpp>
Public Member Functions | |
| benchmark_set (const std::string &n) | |
| virtual | ~benchmark_set () |
| virtual void | run (optk::optimisers *opts, optk::ctx_t *ctx)=0 |
| std::string | get_name () |
Private Attributes | |
| std::string | m_name |
A benchmark set contains a collection of one or more optk::benckmark and a single evaluation function (run), which runs the entire benchmark set. This captures the idea that different benchmarks need to be run in different ways or with different configurations.
|
inline |
The constructor for a benchmark set
| n | The name should capture the commonalities between the benchmarks in this set. |
|
virtual |
Virtual destructor allows derived classes to be deleted correctly.
|
pure virtual |
This is used to run all the optimisers in the set on the benchmarks.
| The | optimiser(s) to run on each benchmark. |
Implemented in syn::synthetic_benchmark.
1.8.13