Base class for transformation models. More...
#include <OpenMS/ANALYSIS/MAPMATCHING/TransformationModel.h>
Public Types | |
typedef std::pair< DoubleReal, DoubleReal > | DataPoint |
Coordinate pair. More... | |
typedef std::vector< DataPoint > | DataPoints |
Vector of coordinate pairs. More... | |
Public Member Functions | |
TransformationModel () | |
Constructor. More... | |
TransformationModel (const TransformationModel::DataPoints &, const Param &) | |
Alternative constructor (derived classes should implement this one!) More... | |
virtual | ~TransformationModel () |
Destructor. More... | |
virtual DoubleReal | evaluate (const DoubleReal value) const |
Evaluates the model at the given value. More... | |
void | getParameters (Param ¶ms) const |
Gets the (actual) parameters. More... | |
Static Public Member Functions | |
static void | getDefaultParameters (Param ¶ms) |
Gets the default parameters. More... | |
Protected Attributes | |
Param | params_ |
Parameters. More... | |
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.
|
inline |
Constructor.
|
inline |
Alternative constructor (derived classes should implement this one!)
|
inlinevirtual |
Destructor.
|
inlinevirtual |
Evaluates the model at the given value.
Reimplemented in TransformationModelBSpline, TransformationModelInterpolated, and TransformationModelLinear.
|
inlinestatic |
Gets the default parameters.
References Param::clear().
|
inline |
Gets the (actual) parameters.
|
protected |
Parameters.
OpenMS / TOPP release 1.11.1 | Documentation generated on Thu Nov 14 2013 11:19:26 using doxygen 1.8.5 |