libeblearn
|
#include <ebl_states.h>
Public Member Functions | |
state () | |
constructor | |
virtual | ~state () |
destructor | |
virtual void | clear () |
clear x, dx and ddx | |
virtual void | clear_x () |
clear x | |
virtual void | clear_dx () |
clear dx | |
virtual void | clear_ddx () |
clear ddx | |
virtual void | update_gd (gd_param &arg) |
virtual state & | operator= (const state &other) |
abstract class that stores a state. it must support the following methods clear (clear all), clear_x (clear values), clear_dx (clear gradients), clear_ddx (clear hessian), and update_gd(arg) (update with gradient descent.
Assignment operator, involves assignment of internal idx (avoid using this in critical loops).