.TH "IsoSpec::IsoStochasticGenerator" 3 "Version 2.2.1" "IsoSpec" \" -*- nroff -*- .ad l .nh .SH NAME IsoSpec::IsoStochasticGenerator .SH SYNOPSIS .br .PP .PP Inherits \fBIsoSpec::IsoGenerator\fP\&. .SS "Public Member Functions" .in +1c .ti -1c .RI "\fBIsoStochasticGenerator\fP (\fBIso\fP &&iso, size_t no_molecules, double precision=0\&.9999, double beta_bias=5\&.0)" .br .ti -1c .RI "ISOSPEC_FORCE_INLINE size_t \fBcount\fP () const" .br .ti -1c .RI "ISOSPEC_FORCE_INLINE double \fBmass\fP () const override final" .br .RI "Get the mass of the current isotopologue\&. " .ti -1c .RI "ISOSPEC_FORCE_INLINE double \fBprob\fP () const override final" .br .RI "Get the probability of the current isotopologue\&. " .ti -1c .RI "ISOSPEC_FORCE_INLINE double \fBlprob\fP () const override final" .br .RI "Get the log-probability of the current isotopologue\&. " .ti -1c .RI "ISOSPEC_FORCE_INLINE void \fBget_conf_signature\fP (int *space) const override final" .br .RI "Write the signature of configuration into target memory location\&. It must be large enough to accomodate it\&. " .ti -1c .RI "ISOSPEC_FORCE_INLINE bool \fBadvanceToNextConfiguration\fP () override final" .br .RI "Advance to the next, not yet visited, most probable isotopologue\&. " .in -1c Public Member Functions inherited from \fBIsoSpec::IsoGenerator\fP .in +1c .ti -1c .RI "\fBIsoGenerator\fP (\fBIso\fP &&iso, bool alloc_partials=true)" .br .RI "Move constructor\&. " .ti -1c .RI "virtual \fB~IsoGenerator\fP ()" .br .RI "Destructor\&. " .in -1c Public Member Functions inherited from \fBIsoSpec::Iso\fP .in +1c .ti -1c .RI "\fBIso\fP (int _dimNumber, const int *_isotopeNumbers, const int *_atomCounts, const double *_isotopeMasses, const double *_isotopeProbabilities)" .br .RI "General constructror\&. " .ti -1c .RI "\fBIso\fP (int _dimNumber, const int *_isotopeNumbers, const int *_atomCounts, const double *const *_isotopeMasses, const double *const *_isotopeProbabilities)" .br .ti -1c .RI "\fBIso\fP (const char *formula, bool use_nominal_masses=false)" .br .RI "Constructor from the formula object\&. " .ti -1c .RI "\fBIso\fP (const std::string &formula, bool use_nominal_masses=false)" .br .RI "Constructor from C++ std::string chemical formula\&. " .ti -1c .RI "\fBIso\fP (\fBIso\fP &&other)" .br .RI "The move constructor\&. " .ti -1c .RI "\fBIso\fP & \fBoperator=\fP (const \fBIso\fP &other)=delete" .br .ti -1c .RI "\fBIso\fP (const \fBIso\fP &other, bool fullcopy)" .br .RI "The copy constructor\&. " .ti -1c .RI "virtual \fB~Iso\fP ()" .br .RI "Destructor\&. " .ti -1c .RI "double \fBgetLightestPeakMass\fP () const" .br .RI "Get the mass of the lightest peak in the isotopic distribution\&. " .ti -1c .RI "double \fBgetHeaviestPeakMass\fP () const" .br .RI "Get the mass of the heaviest peak in the isotopic distribution\&. " .ti -1c .RI "double \fBgetMonoisotopicPeakMass\fP () const" .br .ti -1c .RI "double \fBgetModeLProb\fP () const" .br .RI "Get the log-probability of the mode-configuration (if there are many modes, they share this value)\&. " .ti -1c .RI "double \fBgetUnlikeliestPeakLProb\fP () const" .br .RI "Get the logprobability of the least probable subisotopologue\&. " .ti -1c .RI "double \fBgetModeMass\fP () const" .br .RI "Get the mass of the mode-configuration (if there are many modes, it is undefined which one will be selected)\&. " .ti -1c .RI "double \fBgetTheoreticalAverageMass\fP () const" .br .RI "Get the theoretical average mass of the molecule\&. " .ti -1c .RI "double \fBvariance\fP () const" .br .RI "Get the theoretical variance of the distribution\&. " .ti -1c .RI "double \fBstddev\fP () const" .br .RI "Get the standard deviation of the theoretical distribution\&. " .ti -1c .RI "int \fBgetDimNumber\fP () const" .br .RI "Get the number of elements in the chemical formula of the molecule\&. " .ti -1c .RI "int \fBgetAllDim\fP () const" .br .RI "Get the total number of isotopes of elements present in a chemical formula\&. " .ti -1c .RI "void \fBaddElement\fP (int atomCount, int noIsotopes, const double *isotopeMasses, const double *isotopeProbabilities)" .br .RI "Add an element to the molecule\&. Note: this method can only be used BEFORE \fBIso\fP is used to construct an \fBIsoGenerator\fP instance\&. " .ti -1c .RI "void \fBsaveMarginalLogSizeEstimates\fP (double *priorities, double target_total_prob) const" .br .RI "Save estimates of logarithms of target sizes of marginals using Gaussian approximation into argument array\&. Array priorities must have length equal to dimNumber\&. " .in -1c .SS "Additional Inherited Members" Static Public Member Functions inherited from \fBIsoSpec::Iso\fP .in +1c .ti -1c .RI "static \fBIso\fP \fBFromFASTA\fP (const char *fasta, bool use_nominal_masses=false, bool add_water=true)" .br .RI "Constructor (named) from aminoacid FASTA sequence as C string\&. " .ti -1c .RI "static \fBIso\fP \fBFromFASTA\fP (const std::string &fasta, bool use_nominal_masses=false, bool add_water=true)" .br .RI "Constructor (named) from aminoacid FASTA sequence as C++ std::string\&. See above for details\&. " .in -1c Public Attributes inherited from \fBIsoSpec::IsoGenerator\fP .in +1c .ti -1c .RI "const double \fBmode_lprob\fP" .br .in -1c Protected Member Functions inherited from \fBIsoSpec::Iso\fP .in +1c .ti -1c .RI "bool \fBdoMarginalsNeedSorting\fP () const" .br .in -1c Protected Attributes inherited from \fBIsoSpec::IsoGenerator\fP .in +1c .ti -1c .RI "double * \fBpartialLProbs\fP" .br .ti -1c .RI "double * \fBpartialMasses\fP" .br .ti -1c .RI "double * \fBpartialProbs\fP" .br .in -1c Protected Attributes inherited from \fBIsoSpec::Iso\fP .in +1c .ti -1c .RI "int \fBdimNumber\fP" .br .ti -1c .RI "int * \fBisotopeNumbers\fP" .br .ti -1c .RI "int * \fBatomCounts\fP" .br .ti -1c .RI "unsigned int \fBconfSize\fP" .br .ti -1c .RI "int \fBallDim\fP" .br .ti -1c .RI "\fBMarginal\fP ** \fBmarginals\fP" .br .in -1c .SH "Detailed Description" .PP Definition at line \fB542\fP of file \fBisoSpec++\&.h\fP\&. .SH "Constructor & Destructor Documentation" .PP .SS "IsoSpec::IsoStochasticGenerator::IsoStochasticGenerator (\fBIso\fP && iso, size_t no_molecules, double precision = \fC0\&.9999\fP, double beta_bias = \fC5\&.0\fP)" .PP Definition at line \fB923\fP of file \fBisoSpec++\&.cpp\fP\&. .SH "Member Function Documentation" .PP .SS "ISOSPEC_FORCE_INLINE bool IsoSpec::IsoStochasticGenerator::advanceToNextConfiguration ()\fC [inline]\fP, \fC [final]\fP, \fC [override]\fP, \fC [virtual]\fP" .PP Advance to the next, not yet visited, most probable isotopologue\&. .PP \fBReturns\fP .RS 4 Return false if it is not possible to advance\&. .RE .PP .PP Implements \fBIsoSpec::IsoGenerator\fP\&. .PP Definition at line \fB565\fP of file \fBisoSpec++\&.h\fP\&. .SS "ISOSPEC_FORCE_INLINE size_t IsoSpec::IsoStochasticGenerator::count () const\fC [inline]\fP" .PP Definition at line \fB555\fP of file \fBisoSpec++\&.h\fP\&. .SS "ISOSPEC_FORCE_INLINE void IsoSpec::IsoStochasticGenerator::get_conf_signature (int * space) const\fC [inline]\fP, \fC [final]\fP, \fC [override]\fP, \fC [virtual]\fP" .PP Write the signature of configuration into target memory location\&. It must be large enough to accomodate it\&. .PP Implements \fBIsoSpec::IsoGenerator\fP\&. .PP Definition at line \fB563\fP of file \fBisoSpec++\&.h\fP\&. .SS "ISOSPEC_FORCE_INLINE double IsoSpec::IsoStochasticGenerator::lprob () const\fC [inline]\fP, \fC [final]\fP, \fC [override]\fP, \fC [virtual]\fP" .PP Get the log-probability of the current isotopologue\&. .PP \fBReturns\fP .RS 4 The log-probability of the current isotopologue\&. .RE .PP .PP Reimplemented from \fBIsoSpec::IsoGenerator\fP\&. .PP Definition at line \fB561\fP of file \fBisoSpec++\&.h\fP\&. .SS "ISOSPEC_FORCE_INLINE double IsoSpec::IsoStochasticGenerator::mass () const\fC [inline]\fP, \fC [final]\fP, \fC [override]\fP, \fC [virtual]\fP" .PP Get the mass of the current isotopologue\&. .PP \fBReturns\fP .RS 4 The mass of the current isotopologue\&. .RE .PP .PP Reimplemented from \fBIsoSpec::IsoGenerator\fP\&. .PP Definition at line \fB557\fP of file \fBisoSpec++\&.h\fP\&. .SS "ISOSPEC_FORCE_INLINE double IsoSpec::IsoStochasticGenerator::prob () const\fC [inline]\fP, \fC [final]\fP, \fC [override]\fP, \fC [virtual]\fP" .PP Get the probability of the current isotopologue\&. .PP \fBReturns\fP .RS 4 The probability of the current isotopologue\&. .RE .PP .PP Reimplemented from \fBIsoSpec::IsoGenerator\fP\&. .PP Definition at line \fB559\fP of file \fBisoSpec++\&.h\fP\&. .SH "Author" .PP Generated automatically by Doxygen for IsoSpec from the source code\&.