.TH "IsoSpec::MarginalTrek" 3 "Version 2.2.1" "IsoSpec" \" -*- nroff -*- .ad l .nh .SH NAME IsoSpec::MarginalTrek \- The marginal distribution class (a subisotopologue)\&. .SH SYNOPSIS .br .PP .PP \fC#include \fP .PP Inherits \fBIsoSpec::Marginal\fP\&. .SS "Public Member Functions" .in +1c .ti -1c .RI "\fBMarginalTrek\fP (\fBMarginal\fP &&m, int tabSize=1000, int hashSize=1000)" .br .RI "Move constructor: specializes the \fBMarginal\fP class\&. " .ti -1c .RI "\fBMarginalTrek\fP (const \fBMarginalTrek\fP &other)=delete" .br .ti -1c .RI "\fBMarginalTrek\fP & \fBoperator=\fP (const \fBMarginalTrek\fP &other)=delete" .br .ti -1c .RI "bool \fBprobeConfigurationIdx\fP (int idx)" .br .RI "Check if the table of computed subisotopologues does not have to be extended\&. " .ti -1c .RI "double \fBgetModeLProb\fP () const" .br .RI "Get the log-probability of the mode subisotopologue\&. " .ti -1c .RI "const \fBpod_vector\fP< double > & \fBconf_lprobs\fP () const" .br .ti -1c .RI "const \fBpod_vector\fP< double > & \fBconf_masses\fP () const" .br .ti -1c .RI "const \fBpod_vector\fP< Conf > & \fBconfs\fP () const" .br .in -1c Public Member Functions inherited from \fBIsoSpec::Marginal\fP .in +1c .ti -1c .RI "\fBMarginal\fP (const double *_masses, const double *_probs, int _isotopeNo, int _atomCnt)" .br .RI "Class constructor\&. " .ti -1c .RI "\fBMarginal\fP & \fBoperator=\fP (const \fBMarginal\fP &other)=delete" .br .ti -1c .RI "\fBMarginal\fP (const \fBMarginal\fP &other)" .br .RI "Copy constructor\&. " .ti -1c .RI "\fBMarginal\fP (\fBMarginal\fP &&other)" .br .RI "Move constructor\&. " .ti -1c .RI "virtual \fB~Marginal\fP ()" .br .RI "Destructor\&. " .ti -1c .RI "int \fBget_isotopeNo\fP () const" .br .RI "Get the number of isotopes of the investigated element\&. " .ti -1c .RI "const double * \fBget_lProbs\fP () const" .br .ti -1c .RI "double \fBgetLightestConfMass\fP () const" .br .RI "Get the mass of the lightest subisotopologue\&. " .ti -1c .RI "double \fBgetHeaviestConfMass\fP () const" .br .RI "Get the mass of the heaviest subisotopologue\&. " .ti -1c .RI "double \fBgetMonoisotopicConfMass\fP () const" .br .RI "Get the mass of the monoisotopic subisotopologue\&. " .ti -1c .RI "double \fBgetModeMass\fP ()" .br .RI "The the mass of the mode subisotopologue\&. " .ti -1c .RI "double \fBgetModeLProb\fP ()" .br .RI "Get the log-probability of the mode subisotopologue\&. " .ti -1c .RI "double \fBfastGetModeLProb\fP ()" .br .RI "Get the log-probability of the mode subisotopologue\&. Results undefined if ensureModeConf() wasn't called before\&. " .ti -1c .RI "Conf \fBcomputeModeConf\fP () const" .br .RI "The the probability of the mode subisotopologue\&. " .ti -1c .RI "double \fBgetSmallestLProb\fP () const" .br .RI "The the log-probability of the lightest subisotopologue\&. " .ti -1c .RI "double \fBgetAtomAverageMass\fP () const" .br .RI "The average mass of a single atom\&. " .ti -1c .RI "double \fBgetTheoreticalAverageMass\fP () const" .br .RI "The theoretical average mass of the molecule\&. " .ti -1c .RI "double \fBvariance\fP () const" .br .RI "Calculate the variance of the theoretical distribution describing the subisotopologue\&. " .ti -1c .RI "double \fBgetLogSizeEstimate\fP (double logEllipsoidRadius) const" .br .RI "Return estimated logarithm of size of the marginal at a given ellipsoid radius\&. " .ti -1c .RI "void \fBensureModeConf\fP ()" .br .in -1c .SS "Additional Inherited Members" Protected Member Functions inherited from \fBIsoSpec::Marginal\fP .in +1c .ti -1c .RI "ISOSPEC_FORCE_INLINE double \fBunnormalized_logProb\fP (Conf conf) const" .br .RI "Calculate the log-probability of a given subisotopologue\&. " .ti -1c .RI "ISOSPEC_FORCE_INLINE double \fBlogProb\fP (Conf conf) const" .br .in -1c Protected Attributes inherited from \fBIsoSpec::Marginal\fP .in +1c .ti -1c .RI "const unsigned int \fBisotopeNo\fP" .br .ti -1c .RI "const unsigned int \fBatomCnt\fP" .br .ti -1c .RI "const double *const \fBatom_lProbs\fP" .br .ti -1c .RI "const double *const \fBatom_masses\fP" .br .ti -1c .RI "const double \fBloggamma_nominator\fP" .br .ti -1c .RI "Conf \fBmode_conf\fP" .br .ti -1c .RI "double \fBmode_lprob\fP" .br .in -1c .SH "Detailed Description" .PP The marginal distribution class (a subisotopologue)\&. .PP Definition at line \fB175\fP of file \fBmarginalTrek++\&.h\fP\&. .SH "Constructor & Destructor Documentation" .PP .SS "IsoSpec::MarginalTrek::MarginalTrek (\fBMarginal\fP && m, int tabSize = \fC1000\fP, int hashSize = \fC1000\fP)" .PP Move constructor: specializes the \fBMarginal\fP class\&. .PP \fBParameters\fP .RS 4 \fItabSize\fP The size of the table used to store configurations in the allocator\&. .br \fIhashSize\fP The size of the hash table used to store visited subisotopologues\&. .RE .PP .PP Definition at line \fB323\fP of file \fBmarginalTrek++\&.cpp\fP\&. .SS "IsoSpec::MarginalTrek::~MarginalTrek ()\fC [virtual]\fP" .PP Definition at line \fB434\fP of file \fBmarginalTrek++\&.cpp\fP\&. .SH "Member Function Documentation" .PP .SS "const \fBpod_vector\fP< double > & IsoSpec::MarginalTrek::conf_lprobs () const\fC [inline]\fP" .PP Definition at line \fB233\fP of file \fBmarginalTrek++\&.h\fP\&. .SS "const \fBpod_vector\fP< double > & IsoSpec::MarginalTrek::conf_masses () const\fC [inline]\fP" .PP Definition at line \fB234\fP of file \fBmarginalTrek++\&.h\fP\&. .SS "const \fBpod_vector\fP< Conf > & IsoSpec::MarginalTrek::confs () const\fC [inline]\fP" .PP Definition at line \fB235\fP of file \fBmarginalTrek++\&.h\fP\&. .SS "double IsoSpec::MarginalTrek::getModeLProb () const\fC [inline]\fP" .PP Get the log-probability of the mode subisotopologue\&. .PP \fBReturns\fP .RS 4 The log-probability of a/the most probable subisotopologue\&. .RE .PP .PP Definition at line \fB230\fP of file \fBmarginalTrek++\&.h\fP\&. .SS "bool IsoSpec::MarginalTrek::probeConfigurationIdx (int idx)\fC [inline]\fP" .PP Check if the table of computed subisotopologues does not have to be extended\&. This function checks if the idx-th most probable subisotopologue was memoized and if not, computes it and memoizes it\&. .PP \fBParameters\fP .RS 4 \fIidx\fP The number of the idx-th most probable subisotopologue\&. .RE .PP \fBReturns\fP .RS 4 Returns false if it the provided idx exceeds the total number of subisotopologues\&. .RE .PP .PP Definition at line \fB218\fP of file \fBmarginalTrek++\&.h\fP\&. .SH "Author" .PP Generated automatically by Doxygen for IsoSpec from the source code\&.