gradient-ascent.hh
Go to the documentation of this file.
1 /*
2  * Copyright 2018,
3  * Julian Viereck
4  *
5  * CNRS/AIST
6  *
7  */
8 
9 #ifndef __SOT_GRADIENTASCENT_H__
10 #define __SOT_GRADIENTASCENT_H__
11 
12 /* --------------------------------------------------------------------- */
13 /* --- INCLUDE --------------------------------------------------------- */
14 /* --------------------------------------------------------------------- */
15 
16 #include <dynamic-graph/entity.h>
19 
20 #include <sot/core/config.hh>
21 
22 namespace dynamicgraph {
23 namespace sot {
24 
25 /* --------------------------------------------------------------------- */
26 /* --- TRACER ---------------------------------------------------------- */
27 /* --------------------------------------------------------------------- */
28 
32 
33 class SOT_CORE_DLLAPI GradientAscent : public Entity {
35 
36  public:
41 
42  public:
43  GradientAscent(const std::string &n);
44  virtual ~GradientAscent(void);
45 
46  protected:
47  dynamicgraph::Vector &update(dynamicgraph::Vector &res, const int &inTime);
48 
50 
51  double alpha;
52  bool init;
53 };
54 
55 } /* namespace sot */
56 } /* namespace dynamicgraph */
57 
58 #endif /* #ifndef __SOT_TRACER_H__ */
Eigen::VectorXd Vector
Vec3f n
SignalPtr< dynamicgraph::Vector, int > gradientSIN
SignalPtr< double, int > learningRateSIN
#define DYNAMIC_GRAPH_ENTITY_DECL()
SignalTimeDependent< dynamicgraph::Vector, int > valueSOUT
SignalTimeDependent< int, int > refresherSINTERN
AABB & update(const Vec3f &a, const Vec3f &b)


sot-core
Author(s): Olivier Stasse, ostasse@laas.fr
autogenerated on Wed Jun 21 2023 02:51:26