IOptimizer.h 354 B

123456789101112131415161718
  1. #ifndef IOPTIMIZER_H
  2. #define IOPTIMIZER_H
  3. #include "json.hpp"
  4. #include <IModule.h>
  5. #include "IManager.h"
  6. namespace mdd {
  7. class IOptimizer
  8. : public IManager
  9. {
  10. public:
  11. virtual bool connect(std::shared_ptr<IModule> module) = 0;
  12. virtual bool setEvaluation(std::string func) = 0;
  13. virtual double update() = 0;
  14. };
  15. }
  16. #endif // !IOPTIMIZER_H