Main Page
Related Pages
Modules
+
Namespaces
Namespace List
+
Namespace Members
+
All
_
a
b
c
d
e
f
g
i
j
l
m
n
o
p
q
r
s
t
u
v
w
+
Functions
_
a
b
c
d
f
g
i
j
l
m
o
p
q
r
s
t
u
v
+
Variables
_
a
b
c
d
e
f
g
i
j
l
m
n
p
r
s
u
v
w
+
Typedefs
c
e
f
i
m
q
r
s
v
Enumerations
Enumerator
+
Classes
Class List
Class Hierarchy
+
Class Members
+
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
~
+
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
~
+
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
+
Typedefs
b
d
e
f
k
l
m
s
t
v
Enumerations
+
Enumerator
a
b
c
d
e
f
g
i
j
k
m
n
o
p
r
s
t
u
Related Functions
+
Files
File List
+
File Members
+
All
_
a
b
c
d
e
f
g
i
k
l
m
n
o
p
r
s
t
u
v
+
Functions
b
c
d
e
f
g
i
l
m
o
p
r
s
t
u
Variables
+
Typedefs
c
d
e
f
k
r
s
t
Enumerations
Enumerator
+
Macros
_
a
b
c
d
e
f
i
l
m
n
o
p
r
s
t
v
include
sot
core
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>
17
#include <
dynamic-graph/signal-ptr.h
>
18
#include <
dynamic-graph/signal-time-dependent.h
>
19
20
#include <sot/core/config.hh>
21
22
namespace
dynamicgraph
{
23
namespace
sot {
24
25
/* --------------------------------------------------------------------- */
26
/* --- TRACER ---------------------------------------------------------- */
27
/* --------------------------------------------------------------------- */
28
29
using
dynamicgraph::Entity
;
30
using
dynamicgraph::SignalPtr
;
31
using
dynamicgraph::SignalTimeDependent
;
32
33
class
SOT_CORE_DLLAPI
GradientAscent
:
public
Entity
{
34
DYNAMIC_GRAPH_ENTITY_DECL
();
35
36
public
:
37
SignalPtr<dynamicgraph::Vector, int>
gradientSIN
;
38
SignalPtr<double, int>
learningRateSIN
;
39
SignalTimeDependent<int, int>
refresherSINTERN
;
40
SignalTimeDependent<dynamicgraph::Vector, int>
valueSOUT
;
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
49
dynamicgraph::Vector
value
;
50
51
double
alpha
;
52
bool
init
;
53
};
54
55
}
/* namespace sot */
56
}
/* namespace dynamicgraph */
57
58
#endif
/* #ifndef __SOT_TRACER_H__ */
dynamicgraph::Vector
Eigen::VectorXd Vector
n
Vec3f n
dynamicgraph::Entity
dynamicgraph::SignalTimeDependent
dynamicgraph::SignalPtr
dynamicgraph::sot::GradientAscent::alpha
double alpha
Definition:
gradient-ascent.hh:51
dynamicgraph::sot::GradientAscent::gradientSIN
SignalPtr< dynamicgraph::Vector, int > gradientSIN
Definition:
gradient-ascent.hh:37
dynamicgraph::sot::GradientAscent::learningRateSIN
SignalPtr< double, int > learningRateSIN
Definition:
gradient-ascent.hh:38
DYNAMIC_GRAPH_ENTITY_DECL
#define DYNAMIC_GRAPH_ENTITY_DECL()
signal-time-dependent.h
dynamicgraph::sot::GradientAscent::valueSOUT
SignalTimeDependent< dynamicgraph::Vector, int > valueSOUT
Definition:
gradient-ascent.hh:40
dynamicgraph::sot::GradientAscent::refresherSINTERN
SignalTimeDependent< int, int > refresherSINTERN
Definition:
gradient-ascent.hh:39
update
AABB & update(const Vec3f &a, const Vec3f &b)
signal-ptr.h
dynamicgraph::sot::GradientAscent::value
dynamicgraph::Vector value
Definition:
gradient-ascent.hh:49
dynamicgraph::sot::GradientAscent::init
bool init
Definition:
gradient-ascent.hh:52
dynamicgraph::sot::GradientAscent
Definition:
gradient-ascent.hh:33
dynamicgraph
sot-core
Author(s): Olivier Stasse, ostasse@laas.fr
autogenerated on Wed Jun 21 2023 02:51:26