19#ifndef LM_LINEARSCALER__
20#define LM_LINEARSCALER__
25namespace learningmachine {
48 virtual void readBottle(yarp::os::Bottle& bot);
67 virtual bool configure(yarp::os::Searchable& config);
The IScaler is a linear scaler based scaler.
double scale
The scale for the linear transformation.
double offset
The offset for the linear transformation.
A class that implements linear scaling as a preprocessing step.
virtual void setOffset(double o)
Mutator for the offset.
virtual void setScale(double s)
Mutator for the scaling factor.
virtual bool configure(yarp::os::Searchable &config)
virtual double getOffset()
Accessor for the offset.
virtual void readBottle(yarp::os::Bottle &bot)
Unserializes a scaler from a bottle.
virtual void writeBottle(yarp::os::Bottle &bot)
Writes a serialization of the scaler into a bottle.
virtual double getScale()
Accessor for the scaling factor.
LinearScaler * clone()
Asks the scaler to return a new object of its type.
virtual std::string getInfo()
Asks the learning machine to return a string containing statistics on its operation so far.
This file contains the definition of unique IDs for the body parts and the skin parts of the robot.