Go to the documentation of this file.
10 #include <dynamic-graph/factory.h>
12 #include <boost/function.hpp>
16 namespace dg = ::dynamicgraph;
33 gradientSIN(NULL,
"GradientAscent(" +
n +
")::input(vector)::gradient"),
35 "GradientAscent(" +
n +
")::input(double)::learningRate"),
36 refresherSINTERN(
"GradientAscent(" +
n +
")::intern(dummy)::refresher"),
38 gradientSIN << refresherSINTERN,
39 "GradientAscent(" +
n +
")::output(vector)::value"),
64 value += learningRate * gradient;
SignalPtr< double, sigtime_t > learningRateSIN
dynamicgraph::Vector & update(dynamicgraph::Vector &res, const sigtime_t &inTime)
DYNAMICGRAPH_FACTORY_ENTITY_PLUGIN(FeaturePosture, "FeaturePosture")
GradientAscent(const std::string &n)
dynamicgraph::Vector value
virtual ~GradientAscent(void)
SignalPtr< dynamicgraph::Vector, sigtime_t > gradientSIN
AABB & update(const Vec3f &a, const Vec3f &b)
SignalTimeDependent< size_type, sigtime_t > refresherSINTERN
void signalRegistration(const SignalArray< sigtime_t > &signals)
SignalTimeDependent< dynamicgraph::Vector, sigtime_t > valueSOUT
sot-core
Author(s): Olivier Stasse, ostasse@laas.fr
autogenerated on Tue Oct 24 2023 02:26:31