#include <invertmotorcontroller.h>
Inherits AbstractController.
Inherited by InvertMotorNStep, and InvertMotorSpace.
Inheritance diagram for InvertMotorController:


Public Member Functions | |
| InvertMotorController (unsigned short buffersize, const std::string &name, const std::string &revision) | |
| virtual paramval | getParam (const paramkey &key) const |
| virtual bool | setParam (const paramkey &key, paramval val) |
| virtual paramlist | getParamList () const |
| The list of all parameters with there value as allocated lists. | |
Protected Member Functions | |
| void | putInBuffer (matrix::Matrix *buffer, const matrix::Matrix &vec, int delay=0) |
| virtual matrix::Matrix | calculateDelayedValues (const matrix::Matrix *buffer, int number_steps_of_delay_) |
| calculate delayed values | |
| virtual matrix::Matrix | calculateSmoothValues (const matrix::Matrix *buffer, int number_steps_for_averaging_) |
| calculate time-smoothed values | |
| virtual double | calcErrorFactor (const matrix::Matrix &e, bool loga, bool root) |
| calculates the error_factor for either logarithmic (E=ln(e^T*e)) or square (E=sqrt(e^t*e)) error | |
Static Protected Member Functions | |
| static double | g (double z) |
| neuron transfer function | |
| static double | g_s (double z) |
| first dervative | |
| static double | g_s_inv (double z) |
| inverse of the first derivative | |
| static double | g_s (double z, double xsi) |
| an exact formula for inversion if neuron. | |
| static double | g_2s_div_s (double z, double xsi) |
| an exact formula for g''/g' | |
| static double | squash (double z) |
| squashing function (-0.1 to 0.1), to protect against to large weight updates | |
| static double | squash (void *d, double z) |
| squashing function with adjustable clipping size, to protect against too large weight updates | |
Protected Attributes | |
| paramval | epsC |
| paramval | desens |
| paramval | s4delay |
| paramval | s4avg |
| paramval | steps |
| paramval | epsA |
| paramval | factorB |
| paramval | zetaupdate |
| paramval | dampA |
| short | logaE |
| short | rootE |
| short | relativeE |
| paramval | squashSize |
| paramval | adaptRate |
| paramval | nomUpdate |
| paramval | noiseB |
| paramval | noiseY |
| paramval | teacher |
| int | t |
| unsigned short | buffersize |
| std::string | name |
| bool | initialised |
Implements standart configureable interface for some useful parameters like epsC, epsA, s4avg ...
| InvertMotorController | ( | unsigned short | buffersize, | |
| const std::string & | name, | |||
| const std::string & | revision | |||
| ) | [inline] |
| virtual double calcErrorFactor | ( | const matrix::Matrix & | e, | |
| bool | loga, | |||
| bool | root | |||
| ) | [inline, protected, virtual] |
calculates the error_factor for either logarithmic (E=ln(e^T*e)) or square (E=sqrt(e^t*e)) error
| virtual matrix::Matrix calculateDelayedValues | ( | const matrix::Matrix * | buffer, | |
| int | number_steps_of_delay_ | |||
| ) | [inline, protected, virtual] |
calculate delayed values
| virtual matrix::Matrix calculateSmoothValues | ( | const matrix::Matrix * | buffer, | |
| int | number_steps_for_averaging_ | |||
| ) | [inline, protected, virtual] |
calculate time-smoothed values
| static double g | ( | double | z | ) | [inline, static, protected] |
neuron transfer function
| static double g_2s_div_s | ( | double | z, | |
| double | xsi | |||
| ) | [inline, static, protected] |
an exact formula for g''/g'
| static double g_s | ( | double | z, | |
| double | xsi | |||
| ) | [inline, static, protected] |
an exact formula for inversion if neuron.
| static double g_s | ( | double | z | ) | [inline, static, protected] |
first dervative
| static double g_s_inv | ( | double | z | ) | [inline, static, protected] |
inverse of the first derivative
| virtual paramlist getParamList | ( | ) | const [inline, virtual] |
The list of all parameters with there value as allocated lists.
Reimplemented from Configurable.
| void putInBuffer | ( | matrix::Matrix * | buffer, | |
| const matrix::Matrix & | vec, | |||
| int | delay = 0 | |||
| ) | [inline, protected] |
| static double squash | ( | void * | d, | |
| double | z | |||
| ) | [inline, static, protected] |
squashing function with adjustable clipping size, to protect against too large weight updates
| static double squash | ( | double | z | ) | [inline, static, protected] |
squashing function (-0.1 to 0.1), to protect against to large weight updates
unsigned short buffersize [protected] |
bool initialised [protected] |
short logaE [protected] |
std::string name [protected] |
Reimplemented from Configurable.
short relativeE [protected] |
short rootE [protected] |
paramval squashSize [protected] |
int t [protected] |
paramval zetaupdate [protected] |
1.4.7