_gd_adaptive Struct Template Reference

#include <optimize.h>

Inheritance diagram for _gd_adaptive:

Inheritance graph
[legend]
Collaboration diagram for _gd_adaptive:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 _gd_adaptive (LM *lm, const Step &lr, const Step &a, const Step &b)
void initialize ()
 Initialize local variables.
std::pair< bool, Step > step_length (Dir d)
void update_weight (Dir d, const Step &s)
bool satisfied ()
 Stopping criteria.

Public Attributes

Step alpha
Step beta

Protected Attributes

Cost old_cost

Detailed Description

template<class LM, class Dir, class Step, class Cost>
struct lemga::_gd_adaptive< LM, Dir, Step, Cost >

Definition at line 188 of file optimize.h.


Constructor & Destructor Documentation

_gd_adaptive LM *  lm,
const Step &  lr,
const Step &  a,
const Step &  b
[inline]
 

Definition at line 195 of file optimize.h.


Member Function Documentation

void initialize  )  [inline]
 

Initialize local variables.

Reimplemented from _gradient_descent.

Definition at line 198 of file optimize.h.

bool satisfied  )  [inline]
 

Stopping criteria.

Reimplemented from _gradient_descent.

Definition at line 238 of file optimize.h.

std::pair<bool,Step> step_length Dir  d  )  [inline]
 

Definition at line 203 of file optimize.h.

void update_weight Dir  d,
const Step &  s
[inline]
 

Reimplemented from _gradient_descent.

Definition at line 231 of file optimize.h.


Member Data Documentation

Step alpha
 

Definition at line 193 of file optimize.h.

Step beta
 

Definition at line 193 of file optimize.h.

Cost old_cost [protected]
 

Definition at line 241 of file optimize.h.


The documentation for this struct was generated from the following file:
Generated on Wed Nov 8 08:17:13 2006 for LEMGA by  doxygen 1.4.6