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
16
#include "
Optimist/TestSet/Booth.hh
"
17
#include "
Optimist/TestSet/Brown.hh
"
18
#include "
Optimist/TestSet/Cos.hh
"
19
#include "
Optimist/TestSet/Cosh.hh
"
20
#include "
Optimist/TestSet/EllipticParaboloid.hh
"
21
#include "
Optimist/TestSet/Linear.hh
"
22
#include "
Optimist/TestSet/Quadratic.hh
"
23
#include "
Optimist/TestSet/Rosenbrock.hh
"
24
#include "
Optimist/TestSet/Schaffer2.hh
"
25
#include "
Optimist/TestSet/Sin.hh
"
26
#include "
Optimist/TestSet/Sinh.hh
"
27
28
namespace
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
Booth.hh
Brown.hh
Cos.hh
Cosh.hh
EllipticParaboloid.hh
Linear.hh
Quadratic.hh
Rosenbrock.hh
Schaffer2.hh
Sin.hh
Sinh.hh
Optimist::TestSet
Namespace for the Optimist library test set functions.
Definition
TestSet.hh:42
Optimist::TestSet::SCALAR_FUNCTIONS
static const std::vector< std::string > SCALAR_FUNCTIONS
Definition
TestSet.hh:54
Optimist::TestSet::VECTOR_FUNCTIONS
static const std::vector< std::string > VECTOR_FUNCTIONS
Definition
TestSet.hh:60
Optimist::TestSet::COST_FUNCTIONS
static const std::vector< std::string > COST_FUNCTIONS
Definition
TestSet.hh:47
Optimist
Namespace for the Optimist library.
Definition
Optimist.hh:90
core
include
Optimist
TestSet.hh
Generated by
1.16.1