00001
00002
00003
00004
00005
00006
00007
00008
00009 #ifndef CORE_DIFFERENTIABLEFUNCTIONALINTERFACE_H
00010 #define CORE_DIFFERENTIABLEFUNCTIONALINTERFACE_H
00011
00012 #include <core/FunctionalInterface.hpp>
00013
00014 namespace imaging
00015 {
00018 class DifferentiableFunctionalInterface : public FunctionalInterface
00019 {
00020 public:
00021 using FunctionalInterface::operator();
00022
00023 virtual float_t operator()(const ublas::vector<float_t> & x, ublas::vector<float_t> & gradient) = 0;
00024 };
00025 }
00026
00027 #endif