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, Mattia Piazza and Enrico Bertolazzi. *
3 * *
4 * The Optimist project is distributed under the BSD 2-Clause License. *
5 * *
6 * Davide Stocco Mattia Piazza Enrico Bertolazzi *
7 * University of Trento University of Trento University of Trento *
8 * davide.stocco@unitn.it mattia.piazza@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
16#include "Optimist.hh"
17#include "Optimist/Function.hh"
18
19namespace Optimist
20{
21 /*\
22 | _____ _ ____ _
23 | |_ _|__ ___| |_/ ___| ___| |_
24 | | |/ _ \/ __| __\___ \ / _ \ __|
25 | | | __/\__ \ |_ ___) | __/ |_
26 | |_|\___||___/\__|____/ \___|\__|
27 |
28 \*/
29
33 namespace TestSet
34 {
35
39 static const std::vector<std::string> COST_FUNCTIONS = {
40 "Schaffer2"
41 };
42
46 static const std::vector<std::string> SCALAR_FUNCTIONS = {
47 "Sin",
48 "Cos",
49 "Cosh"
50 };
51
55 static const std::vector<std::string> VECTOR_FUNCTIONS = {
56 "Booth",
57 "Brown",
58 "Rosenbrock",
59 };
60
61 } // namespace TestSet
62
63} // namespace Optimist
64
65#endif // INCLUDE_OPTIMIST_TESTSET_HH
Namespace for the Optimist library test set functions.
Definition TestSet.hh:34
static const std::vector< std::string > SCALAR_FUNCTIONS
Definition TestSet.hh:46
static const std::vector< std::string > VECTOR_FUNCTIONS
Definition TestSet.hh:55
static const std::vector< std::string > COST_FUNCTIONS
Definition TestSet.hh:39
Namespace for the Optimist library.
Definition Optimist.hh:87