Amoeba< Func > Class Template Reference

Public Types

Public Member Functions

Protected Member Functions

Protected Attributes

template<typename Func>
class Amoeba< Func >


Member Typedef Documentation

template<typename Func>
typedef Func::value_type Amoeba< Func >::value_type

Member Enumeration Documentation

template<typename Func>
anonymous enum
Enumerator:
N 
template<typename Func>
anonymous enum
Enumerator:
M 

Constructor & Destructor Documentation

template<typename Func>
Amoeba< Func >::Amoeba (  )  [inline]
template<typename Func>
Amoeba< Func >::Amoeba ( value_type  ftol,
int  maxiter 
) [inline]
template<typename Func>
virtual Amoeba< Func >::~Amoeba (  )  [inline, virtual]

Member Function Documentation

template<typename Func >
void Amoeba< Func >::optimize ( ltl::FMatrix< value_type, M, N > &  p,
ltl::FVector< value_type, M > &  y,
const Func &  f 
) [inline]
template<typename Func>
ltl::FVector<typename Func::value_type, Amoeba<Func>::M> Amoeba< Func >::initialize_y ( ltl::FMatrix< value_type, M, N > &  p,
const Func &  f 
) const [inline]
template<typename Func >
Amoeba< Func >::value_type Amoeba< Func >::amotry ( ltl::FMatrix< value_type, M, N > &  p,
ltl::FVector< value_type, M > &  y,
ltl::FVector< value_type, N > &  psum,
const Func &  f,
const int  ihi,
const value_type  fac 
) [inline, protected]

Extrapolates by a factor fac through the face of the simplex across from the high point, tries it, and replaces the high point if the new point is better.

References Amoeba< Func >::N.

Referenced by Amoeba< Func >::optimize().

template<typename Func >
void Amoeba< Func >::compute_psum ( ltl::FVector< value_type, N > &  psum,
const ltl::FMatrix< value_type, M, N > &  p 
) [inline, protected]

Field Documentation

template<typename Func>
value_type Amoeba< Func >::ftol_ [protected]
template<typename Func>
int Amoeba< Func >::maxiter_ [protected]

Generated on 4 Nov 2015 for CURE by  doxygen 1.6.1