123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137 |
-
-
-
-
-
- #ifndef _PLOTTER_H_
- #define _PLOTTER_H_
- #include "core/optimization/blackbox/SimpleOptProblem.h"
- #include "AdaptiveDirectionRandomSearchOptimizer.h"
- namespace OPTIMIZATION
- {
-
- class Plotter
- {
- public:
-
-
-
- Plotter();
-
-
-
-
-
- Plotter(const Plotter &plotter);
-
-
-
- Plotter& operator=(const Plotter &plotter);
-
-
-
- ~Plotter();
-
-
-
-
-
- void setOptProblem(const SimpleOptProblem& optprob);
-
-
-
-
-
-
-
-
-
- void plot1D(int paramnum, const float from, const float to, const float stepwidth, const char* path);
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- void plot2D(int paramnum1, const float from1, const float to1, const float stepwidth1, int paramnum2, const float from2, const float to2, const float stepwidth2, const char* path);
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- void plot3D(int paramnum1, const float from1, const float to1, const float stepwidth1, int paramnum2, const float from2, const float to2, const float stepwidth2, int paramnum3, const float from3, const float to3, const float stepwidth3, const char* path);
-
-
-
-
- void setBoundInterpretationStatus(bool absolute);
-
-
-
-
- bool getBoundInterpretationStatus();
- protected:
-
- bool m_absoluteBounds;
-
- CostFunction* m_pCostfunc;
-
-
- const SimpleOptProblem* m_pOptprob;
- };
- }
- #endif
|