Stores the name and parameters of a model. More...
#include <OpenMS/TRANSFORMATIONS/FEATUREFINDER/ModelDescription.h>
| Public Member Functions | |
| ModelDescription () | |
| Default constructor.  More... | |
| ModelDescription (const ModelDescription &source) | |
| copy constructor  More... | |
| ModelDescription (const BaseModel< D > *model) | |
| constructor provided for convenience  More... | |
| virtual | ~ModelDescription () | 
| destructor  More... | |
| virtual ModelDescription & | operator= (const ModelDescription &source) | 
| assignment operator  More... | |
| BaseModel< D > * | createModel () | 
| const String & | getName () const | 
| Non-mutable access to model name.  More... | |
| String & | getName () | 
| Mutable access to the model name.  More... | |
| void | setName (const String &name) | 
| Set the model name.  More... | |
| const Param & | getParam () const | 
| Non-mutable access to model parameters.  More... | |
| Param & | getParam () | 
| Mutable access to the model parameters.  More... | |
| void | setParam (const Param ¶m) | 
| Set the model parameters.  More... | |
| Predicates | |
| virtual bool | operator== (const ModelDescription &rhs) const | 
| virtual bool | operator!= (const ModelDescription &rhs) const | 
| Protected Attributes | |
| String | name_ | 
| Param | parameters_ | 
Stores the name and parameters of a model.
This class also allows reconstruction of the model.
| 
 | inline | 
Default constructor.
| 
 | inline | 
copy constructor
| 
 | inline | 
constructor provided for convenience
| 
 | inlinevirtual | 
destructor
| 
 | inline | 
creates model from the parameters defined in this class returns 0 if no description is set.
Referenced by ModelFitter< PeakType, FeatureType >::fit(), ProductModel< 2 >::operator=(), and ProductModel< 2 >::ProductModel().
| 
 | inline | 
Non-mutable access to model name.
Accessors
| 
 | inline | 
Mutable access to the model name.
| 
 | inline | 
Non-mutable access to model parameters.
Referenced by FeatureFinderAlgorithmSimplest< PeakType, FeatureType >::run(), and FeatureFinderAlgorithmSimple< PeakType, FeatureType >::run().
| 
 | inline | 
Mutable access to the model parameters.
| 
 | inlinevirtual | 
| 
 | inlinevirtual | 
assignment operator
| 
 | inlinevirtual | 
Referenced by ModelDescription< 2 >::operator!=().
| 
 | inline | 
Set the model name.
| 
 | inline | 
Set the model parameters.
| 
 | protected | 
| 
 | protected | 
| OpenMS / TOPP release 1.11.1 | Documentation generated on Thu Nov 14 2013 11:19:34 using doxygen 1.8.5 |