Public Member Functions | Public Attributes | Protected Member Functions | Protected Attributes | Private Member Functions | List of all members
dynamicgraph::sot::GradientAscent Class Reference

#include <gradient-ascent.hh>

Inheritance diagram for dynamicgraph::sot::GradientAscent:
Inheritance graph
[legend]

Public Member Functions

 GradientAscent (const std::string &n)
 
virtual ~GradientAscent (void)
 
- Public Member Functions inherited from dynamicgraph::Entity
virtual void display (std::ostream &os) const
 
std::ostream & displaySignalList (std::ostream &os) const
 
 Entity (const std::string &name)
 
virtual const std::string & getClassName () const
 
const std::string & getCommandList () const
 
virtual std::string getDocString () const
 
LoggerVerbosity getLoggerVerbosityLevel ()
 
LoggerVerbosity getLoggerVerbosityLevel ()
 
const std::string & getName () const
 
command::CommandgetNewStyleCommand (const std::string &cmdName)
 
CommandMap_t getNewStyleCommandMap ()
 
SignalBase< int > & getSignal (const std::string &signalName)
 
const SignalBase< int > & getSignal (const std::string &signalName) const
 
SignalMap getSignalMap () const
 
double getStreamPrintPeriod ()
 
double getStreamPrintPeriod ()
 
double getTimeSample ()
 
double getTimeSample ()
 
bool hasSignal (const std::string &signame) const
 
Loggerlogger ()
 
Logger const & logger () const
 
Loggerlogger ()
 
Logger const & logger () const
 
void sendMsg (const std::string &msg, MsgType t=MSG_TYPE_INFO, const std::string &lineId="")
 
void sendMsg (const std::string &msg, MsgType t=MSG_TYPE_INFO, const std::string &lineId="")
 
void setLoggerVerbosityLevel (LoggerVerbosity lv)
 
void setLoggerVerbosityLevel (LoggerVerbosity lv)
 
bool setStreamPrintPeriod (double t)
 
bool setStreamPrintPeriod (double t)
 
bool setTimeSample (double t)
 
bool setTimeSample (double t)
 
virtual SignalBase< int > * test ()
 
virtual void test2 (SignalBase< int > *)
 
virtual std::ostream & writeCompletionList (std::ostream &os) const
 
virtual std::ostream & writeGraph (std::ostream &os) const
 
virtual ~Entity ()
 

Public Attributes

SignalPtr< dynamicgraph::Vector, int > gradientSIN
 
SignalPtr< double, int > learningRateSIN
 
SignalTimeDependent< int, int > refresherSINTERN
 
SignalTimeDependent< dynamicgraph::Vector, int > valueSOUT
 

Protected Member Functions

dynamicgraph::Vectorupdate (dynamicgraph::Vector &res, const int &inTime)
 
- Protected Member Functions inherited from dynamicgraph::Entity
void addCommand (const std::string &name, command::Command *command)
 
void entityDeregistration ()
 
void entityRegistration ()
 
void signalDeregistration (const std::string &name)
 
void signalRegistration (const SignalArray< int > &signals)
 

Protected Attributes

double alpha
 
bool init
 
dynamicgraph::Vector value
 
- Protected Attributes inherited from dynamicgraph::Entity
CommandMap_t commandMap
 
Logger logger_
 
std::string name
 
SignalMap signalMap
 

Private Member Functions

 DYNAMIC_GRAPH_ENTITY_DECL ()
 

Additional Inherited Members

- Public Types inherited from dynamicgraph::Entity
typedef std::map< const std::string, command::Command *> CommandMap_t
 
typedef std::map< std::string, SignalBase< int > *> SignalMap
 

Detailed Description

Definition at line 33 of file gradient-ascent.hh.

Constructor & Destructor Documentation

◆ GradientAscent()

dynamicgraph::sot::GradientAscent::GradientAscent ( const std::string &  n)

Definition at line 31 of file gradient-ascent.cpp.

◆ ~GradientAscent()

dynamicgraph::sot::GradientAscent::~GradientAscent ( void  )
virtual

Definition at line 46 of file gradient-ascent.cpp.

Member Function Documentation

◆ DYNAMIC_GRAPH_ENTITY_DECL()

dynamicgraph::sot::GradientAscent::DYNAMIC_GRAPH_ENTITY_DECL ( )
private

◆ update()

dynamicgraph::Vector & dynamicgraph::sot::GradientAscent::update ( dynamicgraph::Vector res,
const int &  inTime 
)
protected

Definition at line 52 of file gradient-ascent.cpp.

Member Data Documentation

◆ alpha

double dynamicgraph::sot::GradientAscent::alpha
protected

Definition at line 51 of file gradient-ascent.hh.

◆ gradientSIN

SignalPtr<dynamicgraph::Vector, int> dynamicgraph::sot::GradientAscent::gradientSIN

Definition at line 37 of file gradient-ascent.hh.

◆ init

bool dynamicgraph::sot::GradientAscent::init
protected

Definition at line 52 of file gradient-ascent.hh.

◆ learningRateSIN

SignalPtr<double, int> dynamicgraph::sot::GradientAscent::learningRateSIN

Definition at line 38 of file gradient-ascent.hh.

◆ refresherSINTERN

SignalTimeDependent<int, int> dynamicgraph::sot::GradientAscent::refresherSINTERN

Definition at line 39 of file gradient-ascent.hh.

◆ value

dynamicgraph::Vector dynamicgraph::sot::GradientAscent::value
protected

Definition at line 49 of file gradient-ascent.hh.

◆ valueSOUT

SignalTimeDependent<dynamicgraph::Vector, int> dynamicgraph::sot::GradientAscent::valueSOUT

Definition at line 40 of file gradient-ascent.hh.


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


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