libeblearn
ebl::state Class Reference

#include <ebl_states.h>

Inheritance diagram for ebl::state:
ebl::fstate_idx< T > ebl::bstate_idx< T > ebl::parameter< T, fstate_idx< T > > ebl::state_idxlooper< fstate_idx< T > > ebl::bbstate_idx< T > ebl::parameter< T, bstate_idx< T > > ebl::state_idxlooper< bstate_idx< T > > ebl::parameter< T, bstate_idx< T > > ebl::parameter< T, bbstate_idx< T > > ebl::state_idxlooper< bbstate_idx< T > >

List of all members.

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 stateoperator= (const state &other)

Detailed Description

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.


Member Function Documentation

state & ebl::state::operator= ( const state other) [virtual]

Assignment operator, involves assignment of internal idx (avoid using this in critical loops).


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