aimsalgo  5.0.5
Neuroimaging image processing
PowellOptimizer< T, D > Class Template Reference

#include <aims/optimization/powell.h>

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

Public Member Functions

 PowellOptimizer (const ObjectiveFunc< T, D > &func, T error)
 
virtual ~PowellOptimizer ()
 
AimsVector< T, D > doit (const AimsVector< T, D > &pinit, const AimsVector< T, D > &deltaP)
 
const AimsVector< T, D > & getDirection (int which) const
 
const T & getOptCost () const
 
const std::list< T > & getCostEvolution () const
 
- Public Member Functions inherited from Optimizer< T, D >
 Optimizer (const ObjectiveFunc< T, D > &func, T error, OptimizerProbe< T, D > *probe=0)
 
virtual ~Optimizer ()
 
void setProbe (OptimizerProbe< T, D > *probe)
 

Additional Inherited Members

- Protected Attributes inherited from Optimizer< T, D >
const ObjectiveFunc< T, D > & _func
 
_error
 
OptimizerProbe< T, D > * _probe
 

Detailed Description

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

Definition at line 61 of file powell.h.

Constructor & Destructor Documentation

◆ PowellOptimizer()

template<class T , int D>
PowellOptimizer< T, D >::PowellOptimizer ( const ObjectiveFunc< T, D > &  func,
error 
)
inline

Definition at line 93 of file powell.h.

◆ ~PowellOptimizer()

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

Definition at line 105 of file powell.h.

Member Function Documentation

◆ doit()

template<class T , int D>
AimsVector< T, D > PowellOptimizer< T, D >::doit ( const AimsVector< T, D > &  pinit,
const AimsVector< T, D > &  deltaP 
)
inlinevirtual

Reimplemented from Optimizer< T, D >.

Definition at line 116 of file powell.h.

References Optimizer< T, D >::_error, Optimizer< T, D >::_func, Optimizer< T, D >::_probe, and SQR.

◆ getCostEvolution()

template<class T , int D>
const std::list< T > & PowellOptimizer< T, D >::getCostEvolution ( ) const
inline

◆ getDirection()

template<class T , int D>
const AimsVector< T, D > & PowellOptimizer< T, D >::getDirection ( int  which) const
inline

Definition at line 221 of file powell.h.

◆ getOptCost()

template<class T , int D>
const T & PowellOptimizer< T, D >::getOptCost ( ) const
inline

Definition at line 231 of file powell.h.


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