EnergyInterface.hpp

00001 // This file is part of the imaging2 class library.
00002 //
00003 // University of Innsbruck, Infmath Imaging, 2009.
00004 // http://infmath.uibk.ac.at
00005 //
00006 // All rights reserved.
00007 
00008 
00009 #ifndef MINIMIZE_ENERGYINTERFACE_H
00010 #define MINIMIZE_ENERGYINTERFACE_H
00011 
00012 #include <core/imaging2.hpp>
00013 
00014 namespace imaging
00015 {
00021   class EnergyInterface
00022   {
00023   public:
00024     virtual ~EnergyInterface() {}
00025   
00027     virtual ublas::vector<float_t> & current_argument() = 0;
00028     
00030     virtual void set_argument() = 0;
00031     
00033     virtual float_t current_energy() const = 0;
00034     
00036     virtual std::size_t dimension() const = 0;
00037   };
00038 }
00039 
00040 #endif

Generated on Tue Feb 10 10:01:30 2009 for imaging2 by  doxygen 1.5.5