Go to the documentation of this file.
9 #ifndef __SOT_GRADIENTASCENT_H__
10 #define __SOT_GRADIENTASCENT_H__
16 #include <dynamic-graph/entity.h>
17 #include <dynamic-graph/signal-ptr.h>
18 #include <dynamic-graph/signal-time-dependent.h>
21 namespace dg = ::dynamicgraph;
30 using dynamicgraph::Entity;
31 using dynamicgraph::SignalPtr;
32 using dynamicgraph::SignalTimeDependent;
35 DYNAMIC_GRAPH_ENTITY_DECL();
48 dg::Vector &update(dg::Vector &res,
const int &inTime);
Definition: gradient-ascent.hh:34
dg::Vector value
Definition: gradient-ascent.hh:50
Definition: abstract-sot-external-interface.hh:17
double alpha
Definition: gradient-ascent.hh:52
SignalPtr< double, int > learningRateSIN
Definition: gradient-ascent.hh:39
SignalTimeDependent< dg::Vector, int > valueSOUT
Definition: gradient-ascent.hh:41
SignalPtr< dg::Vector, int > gradientSIN
Definition: gradient-ascent.hh:38
SignalTimeDependent< int, int > refresherSINTERN
Definition: gradient-ascent.hh:40
#define SOT_CORE_DLLAPI
Definition: config.hh:64
bool init
Definition: gradient-ascent.hh:53