Optimist  0.0.0
A C++ library for optimization
Loading...
Searching...
No Matches
TestSet.hh
Go to the documentation of this file.
1/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *\
2 * Copyright (c) 2025, Davide Stocco and Enrico Bertolazzi. *
3 * *
4 * The Optimist project is distributed under the BSD 2-Clause License. *
5 * *
6 * Davide Stocco Enrico Bertolazzi *
7 * University of Trento University of Trento *
8 * davide.stocco@unitn.it enrico.bertolazzi@unitn.it *
9\* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
10
11#pragma once
12
13#ifndef INCLUDE_OPTIMIST_TESTSET_HH
14#define INCLUDE_OPTIMIST_TESTSET_HH
15
27
28namespace Optimist {
29
30 /*\
31 | _____ _ ____ _
32 | |_ _|__ ___| |_/ ___| ___| |_
33 | | |/ _ \/ __| __\___ \ / _ \ __|
34 | | | __/\__ \ |_ ___) | __/ |_
35 | |_|\___||___/\__|____/ \___|\__|
36 |
37 \*/
38
42 namespace TestSet {
43
47 static const std::vector<std::string> COST_FUNCTIONS = {
48 "EllipticParaboloid",
49 "Schaffer2"};
50
54 static const std::vector<std::string> SCALAR_FUNCTIONS =
55 {"Linear", "Quadratic", "Sin", "Cos", "Sinh", "Cosh"};
56
60 static const std::vector<std::string> VECTOR_FUNCTIONS = {
61 "Booth",
62 "Brown",
63 "Rosenbrock",
64 };
65
66 } // namespace TestSet
67
68} // namespace Optimist
69
70#endif // INCLUDE_OPTIMIST_TESTSET_HH
Namespace for the Optimist library test set functions.
Definition TestSet.hh:42
static const std::vector< std::string > SCALAR_FUNCTIONS
Definition TestSet.hh:54
static const std::vector< std::string > VECTOR_FUNCTIONS
Definition TestSet.hh:60
static const std::vector< std::string > COST_FUNCTIONS
Definition TestSet.hh:47
Namespace for the Optimist library.
Definition Optimist.hh:90