IOptimizable.h 470 B

1234567891011121314151617181920
  1. #ifndef IOPTIMIZABLE_H
  2. #define IOPTIMIZABLE_H
  3. #include <vector>
  4. #include "IUnique.h"
  5. namespace mdd {
  6. class IOptimizable : public IUnique
  7. {
  8. public:
  9. virtual const std::vector<double>& getValue() = 0;
  10. virtual std::vector<double>& setValue() = 0;
  11. virtual state setValue(const std::vector<double>& val) = 0;
  12. virtual bool isOptimizable() = 0;
  13. virtual void setOptimizability(bool state) = 0;
  14. virtual ~IOptimizable() = default;
  15. };
  16. }
  17. #endif // !IOPTIMIZABLE_H