IsoSpec  2.1.2
Public Member Functions | List of all members
IsoSpec::IsoStochasticGenerator Class Reference
Inheritance diagram for IsoSpec::IsoStochasticGenerator:
IsoSpec::IsoGenerator

Public Member Functions

 IsoStochasticGenerator (Iso &&iso, size_t no_molecules, double precision=0.9999, double beta_bias=5.0)
 
ISOSPEC_FORCE_INLINE size_t count () const
 
ISOSPEC_FORCE_INLINE double mass () const override final
 Get the mass of the current isotopologue. More...
 
ISOSPEC_FORCE_INLINE double prob () const override final
 Get the probability of the current isotopologue. More...
 
ISOSPEC_FORCE_INLINE double lprob () const override final
 Get the log-probability of the current isotopologue. More...
 
ISOSPEC_FORCE_INLINE void get_conf_signature (int *space) const override final
 Write the signature of configuration into target memory location. It must be large enough to accomodate it.
 
ISOSPEC_FORCE_INLINE bool advanceToNextConfiguration () override final
 Advance to the next, not yet visited, most probable isotopologue. More...
 

Detailed Description

Definition at line 542 of file isoSpec++.h.

Member Function Documentation

◆ advanceToNextConfiguration()

ISOSPEC_FORCE_INLINE bool IsoSpec::IsoStochasticGenerator::advanceToNextConfiguration ( )
inlinefinaloverridevirtual

Advance to the next, not yet visited, most probable isotopologue.

Returns
Return false if it is not possible to advance.

Implements IsoSpec::IsoGenerator.

Definition at line 565 of file isoSpec++.h.

◆ lprob()

ISOSPEC_FORCE_INLINE double IsoSpec::IsoStochasticGenerator::lprob ( ) const
inlinefinaloverridevirtual

Get the log-probability of the current isotopologue.

Returns
The log-probability of the current isotopologue.

Reimplemented from IsoSpec::IsoGenerator.

Definition at line 561 of file isoSpec++.h.

◆ mass()

ISOSPEC_FORCE_INLINE double IsoSpec::IsoStochasticGenerator::mass ( ) const
inlinefinaloverridevirtual

Get the mass of the current isotopologue.

Returns
The mass of the current isotopologue.

Reimplemented from IsoSpec::IsoGenerator.

Definition at line 557 of file isoSpec++.h.

◆ prob()

ISOSPEC_FORCE_INLINE double IsoSpec::IsoStochasticGenerator::prob ( ) const
inlinefinaloverridevirtual

Get the probability of the current isotopologue.

Returns
The probability of the current isotopologue.

Reimplemented from IsoSpec::IsoGenerator.

Definition at line 559 of file isoSpec++.h.


The documentation for this class was generated from the following files: