A.I.M.S algorithms


Optimizer< T, D > Class Template Reference

#include <aims/optimization/optimizer.h>

Inheritance diagram for Optimizer< T, D >:
Collaboration diagram for Optimizer< T, D >:

Public Member Functions

 Optimizer (const ObjectiveFunc< T, D > &func, T error, OptimizerProbe< T, D > *probe=0)
 
virtual ~Optimizer ()
 
virtual AimsVector< T, D > doit (const AimsVector< T, D > &, const AimsVector< T, D > &)
 
void setProbe (OptimizerProbe< T, D > *probe)
 

Protected Attributes

const ObjectiveFunc< T, D > & _func
 
_error
 
OptimizerProbe< T, D > * _probe
 

Detailed Description

template<class T, int D>
class Optimizer< T, D >

Definition at line 65 of file optimizer.h.

Constructor & Destructor Documentation

template<class T , int D>
Optimizer< T, D >::Optimizer ( const ObjectiveFunc< T, D > &  func,
error,
OptimizerProbe< T, D > *  probe = 0 
)
inline

Definition at line 68 of file optimizer.h.

References Optimizer< T, D >::_probe.

template<class T , int D>
virtual Optimizer< T, D >::~Optimizer ( )
inlinevirtual

Definition at line 78 of file optimizer.h.

Member Function Documentation

template<class T , int D>
virtual AimsVector<T,D> Optimizer< T, D >::doit ( const AimsVector< T, D > &  ,
const AimsVector< T, D > &   
)
inlinevirtual

Reimplemented in PowellOptimizer< T, D >, DetermOptimizer< T, D >, and SingleOptimizer< T, D >.

Definition at line 80 of file optimizer.h.

template<class T , int D>
void Optimizer< T, D >::setProbe ( OptimizerProbe< T, D > *  probe)
inline

Definition at line 84 of file optimizer.h.

References Optimizer< T, D >::_probe, and OptimizerProbe< T, D >::clone().

Member Data Documentation

template<class T , int D>
T Optimizer< T, D >::_error
protected

Definition at line 89 of file optimizer.h.

template<class T , int D>
const ObjectiveFunc< T , D >& Optimizer< T, D >::_func
protected

Definition at line 88 of file optimizer.h.

template<class T , int D>
OptimizerProbe<T,D>* Optimizer< T, D >::_probe
protected

Definition at line 91 of file optimizer.h.

Referenced by Optimizer< T, D >::Optimizer(), and Optimizer< T, D >::setProbe().


The documentation for this class was generated from the following file: