Base class for transformation models. More...
#include <OpenMS/ANALYSIS/MAPMATCHING/TransformationModel.h>
Public Types | |
| typedef std::pair< DoubleReal, DoubleReal > | DataPoint |
| Coordinate pair. | |
| typedef std::vector< DataPoint > | DataPoints |
| Vector of coordinate pairs. | |
Public Member Functions | |
| TransformationModel () | |
| Constructor. | |
| TransformationModel (const TransformationModel::DataPoints &, const Param &) | |
| Alternative constructor (derived classes should implement this one!). | |
| virtual | ~TransformationModel () |
| Destructor. | |
| virtual DoubleReal | evaluate (const DoubleReal value) const |
| Evaluates the model at the given value. | |
| void | getParameters (Param ¶ms) const |
| Gets the (actual) parameters. | |
Static Public Member Functions | |
| static void | getDefaultParameters (Param ¶ms) |
| Gets the default parameters. | |
Protected Attributes | |
| Param | params_ |
| Parameters. | |
Base class for transformation models.
Implements the identity (no transformation). Parameters and data are ignored.
| typedef std::pair<DoubleReal, DoubleReal> DataPoint |
Coordinate pair.
| typedef std::vector<DataPoint> DataPoints |
Vector of coordinate pairs.
| TransformationModel | ( | ) | [inline] |
Constructor.
| TransformationModel | ( | const TransformationModel::DataPoints & | , | |
| const Param & | ||||
| ) | [inline] |
Alternative constructor (derived classes should implement this one!).
| virtual ~TransformationModel | ( | ) | [inline, virtual] |
Destructor.
| virtual DoubleReal evaluate | ( | const DoubleReal | value | ) | const [inline, virtual] |
Evaluates the model at the given value.
Reimplemented in TransformationModelLinear, TransformationModelInterpolated, and TransformationModelBSpline.
| static void getDefaultParameters | ( | Param & | params | ) | [inline, static] |
Gets the default parameters.
Reimplemented in TransformationModelLinear, TransformationModelInterpolated, and TransformationModelBSpline.
References Param::clear().
| void getParameters | ( | Param & | params | ) | const [inline] |
Gets the (actual) parameters.
| OpenMS / TOPP release 1.10.0 | Documentation generated on Thu Mar 7 2013 09:42:49 using doxygen 1.7.1 |