#include <qnewton.h>
Inheritance diagram for sc::QNewtonOpt:
Public Member Functions | |
QNewtonOpt (const Ref< KeyVal > &) | |
The KeyVal constructor. | |
QNewtonOpt (StateIn &) | |
void | save_data_state (StateOut &) |
Save the base classes (with save_data_state) and the members in the same order that the StateIn CTOR initializes them. | |
void | apply_transform (const Ref< NonlinearTransform > &) |
void | init () |
Initialize the optimizer. | |
int | update () |
Take a step. | |
Protected Attributes | |
double | maxabs_gradient |
double | accuracy_ |
RefSymmSCMatrix | ihessian_ |
Ref< HessianUpdate > | update_ |
Ref< LineOpt > | lineopt_ |
int | take_newton_step_ |
int | print_hessian_ |
int | print_x_ |
int | print_gradient_ |
int | linear_ |
int | restrict_ |
int | dynamic_grad_acc_ |
int | force_search_ |
int | restart_ |
The KeyVal constructor.
The KeyVal constructor reads the following keywords:
update
hessian
lineopt
accuracy
print_x
print_gradient
print_hessian
restrict
void sc::QNewtonOpt::save_data_state | ( | StateOut & | ) | [virtual] |
Save the base classes (with save_data_state) and the members in the same order that the StateIn CTOR initializes them.
This must be implemented by the derived class if the class has data.
Reimplemented from sc::Optimize.
int sc::QNewtonOpt::update | ( | ) | [virtual] |