testing.h
Go to the documentation of this file.
1 
40 #ifndef HIGH_PRECISION_PSO_FUNCTION_TESTING_H_
41 #define HIGH_PRECISION_PSO_FUNCTION_TESTING_H_
42 
43 #include "function/function.h"
44 
45 namespace highprecisionpso {
46 
56 class TestingFunction: public Function {
57 public:
77  mpf_t* Eval(const std::vector<mpf_t*> & pos);
78  std::string GetName();
79 };
80 
81 } // namespace highprecisionpso
82 
83 #endif /* HIGH_PRECISION_PSO_FUNCTION_TESTING_H_ */
This file contains abstract classes for function generation.
This class is generated for testing purpose.
Definition: testing.h:56
mpf_t * Eval(const std::vector< mpf_t * > &pos)
Calculates some function value.
std::string GetName()
Returns a string representation of this object.
TestingFunction()
The constructor.
This class is an abstract class. It supplies the interface for objective functions.
Definition: function.h:74
base namespace for this project.
Definition: absorption.h:45