Loads SvmTheoreticalSpectrumGenerator instances for different charges. More...
#include <OpenMS/CHEMISTRY/SvmTheoreticalSpectrumGeneratorSet.h>
| Public Member Functions | |
| SvmTheoreticalSpectrumGeneratorSet & | operator= (const SvmTheoreticalSpectrumGeneratorSet &tsg) | 
| Assignment operator.  More... | |
| void | simulate (RichPeakSpectrum &spectrum, const AASequence &peptide, const gsl_rng *rng, Size precursor_charge) | 
| Generate the MS/MS according to the model for the given precursor_charge.  More... | |
| void | load (String) | 
| Load a trained Svm and Prob. models.  More... | |
| void | getSupportedCharges (std::set< Size > &charges) | 
| Return precursor charges for which a model is contained in the set.  More... | |
| SvmTheoreticalSpectrumGenerator & | getSvmModel (Size) | 
| return a modifiable reference to the SVM model with given charge. If charge is not supported throw exception  More... | |
| Constructors and Destructors | |
| SvmTheoreticalSpectrumGeneratorSet () | |
| Default constructor.  More... | |
| SvmTheoreticalSpectrumGeneratorSet (const SvmTheoreticalSpectrumGeneratorSet &source) | |
| Copy constructor.  More... | |
| virtual | ~SvmTheoreticalSpectrumGeneratorSet () | 
| Destructor.  More... | |
| Protected Attributes | |
| std::map< Size, SvmTheoreticalSpectrumGenerator > | simulators_ | 
Loads SvmTheoreticalSpectrumGenerator instances for different charges.
The input file contains pairs of charge and svm models separated by a ":" (see share/OpenMS/examples/simulation/SvmModelSet.model)
Actually only a test model is shipped with OpenMS.
 Please find trained models at: http://sourceforge.net/projects/open-ms/files/Supplementary/Simulation/. 
Default constructor.
| SvmTheoreticalSpectrumGeneratorSet | ( | const SvmTheoreticalSpectrumGeneratorSet & | source | ) | 
Copy constructor.
| 
 | virtual | 
Destructor.
| void getSupportedCharges | ( | std::set< Size > & | charges | ) | 
Return precursor charges for which a model is contained in the set.
| SvmTheoreticalSpectrumGenerator& getSvmModel | ( | Size | ) | 
return a modifiable reference to the SVM model with given charge. If charge is not supported throw exception
| void load | ( | String | ) | 
Load a trained Svm and Prob. models.
| SvmTheoreticalSpectrumGeneratorSet& operator= | ( | const SvmTheoreticalSpectrumGeneratorSet & | tsg | ) | 
Assignment operator.
| void simulate | ( | RichPeakSpectrum & | spectrum, | 
| const AASequence & | peptide, | ||
| const gsl_rng * | rng, | ||
| Size | precursor_charge | ||
| ) | 
Generate the MS/MS according to the model for the given precursor_charge.
| 
 | protected | 
| OpenMS / TOPP release 1.11.1 | Documentation generated on Thu Nov 14 2013 11:19:28 using doxygen 1.8.5 |