CASToR  1.1
Tomographic Reconstruction (PET/SPECT)
 All Classes Files Functions Variables Typedefs Macros Groups Pages
Classes | Macros
vOptimizer.hh File Reference

Declaration of class vOptimizer. More...

#include "gVariables.hh"
#include "oImageDimensionsAndQuantification.hh"
#include "oImageSpace.hh"
#include "vDataFile.hh"
#include "oProjectionLine.hh"

Go to the source code of this file.

Classes

class  vOptimizer
 This class is designed to generically described any iterative optimizer. More...
 

Macros

#define FUNCTION_OPTIMIZER(CLASS)   static vOptimizer *make_optimizer() { return new CLASS(); };
 
#define CLASS_OPTIMIZER(NAME, CLASS)
 

Detailed Description

Declaration of class vOptimizer.

Definition in file vOptimizer.hh.

Macro Definition Documentation

#define CLASS_OPTIMIZER (   NAME,
  CLASS 
)
Value:
class NAME##OptimizerCreator \
{ \
public: \
NAME##OptimizerCreator() \
{ sAddonManager::GetInstance()->mp_listOfOptimizers[#NAME] = CLASS::make_optimizer; } \
}; \
static NAME##OptimizerCreator OptimizerCreator##NAME;
static sAddonManager * GetInstance()
std::map< string, maker_optimizer > mp_listOfOptimizers

Definition at line 623 of file vOptimizer.hh.

#define FUNCTION_OPTIMIZER (   CLASS)    static vOptimizer *make_optimizer() { return new CLASS(); };

Definition at line 619 of file vOptimizer.hh.