rosenbrock.h
Go to the documentation of this file.
1 
40 #ifndef HIGH_PRECISION_PSO_FUNCTION_ROSENBROCK_H_
41 #define HIGH_PRECISION_PSO_FUNCTION_ROSENBROCK_H_
42 
43 #include "function/function.h"
44 
45 namespace highprecisionpso {
46 
50 class Rosenbrock: public Function {
51 public:
55  Rosenbrock();
65  mpf_t* Eval(const std::vector<mpf_t*> & pos);
66  std::string GetName();
67 };
68 
72 class MovedRosenbrock: public Function {
73 public:
89  mpf_t* Eval(const std::vector<mpf_t*> & pos);
90  std::string GetName();
91 };
92 
93 } // namespace highprecisionpso
94 
95 #endif /* HIGH_PRECISION_PSO_FUNCTION_ROSENBROCK_H_ */
This file contains abstract classes for function generation.
This class represents the well known test function rosenbrock.
Definition: rosenbrock.h:50
mpf_t * Eval(const std::vector< mpf_t * > &pos)
Returns the evaluation of the rosenbrock function evaluated at the given position.
std::string GetName()
Returns a string representation of this object.
This class is an abstract class. It supplies the interface for objective functions.
Definition: function.h:74
Rosenbrock()
The constructor.
This class represents a moved version of the well known test function rosenbrock, where the optimal v...
Definition: rosenbrock.h:72
base namespace for this project.
Definition: absorption.h:45