bpp-phyl3  3.0.0
bpp::AbstractNonHomogeneousTreeLikelihood::ConstNonHomogeneousSiteModelIterator Class Reference

#include <Bpp/Phyl/Legacy/Likelihood/AbstractNonHomogeneousTreeLikelihood.h>

+ Inheritance diagram for bpp::AbstractNonHomogeneousTreeLikelihood::ConstNonHomogeneousSiteModelIterator:
+ Collaboration diagram for bpp::AbstractNonHomogeneousTreeLikelihood::ConstNonHomogeneousSiteModelIterator:

Public Member Functions

 ConstNonHomogeneousSiteModelIterator (std::shared_ptr< const SubstitutionModelSet > modelSet)
 
ConstSiteModelDescriptionnext ()
 
bool hasNext () const
 

Private Attributes

std::vector< ConstNoPartitionSiteModelDescriptionsiteModelDescriptions_
 
size_t index_
 
size_t nbModels_
 

Detailed Description

Definition at line 27 of file AbstractNonHomogeneousTreeLikelihood.h.

Constructor & Destructor Documentation

◆ ConstNonHomogeneousSiteModelIterator()

bpp::AbstractNonHomogeneousTreeLikelihood::ConstNonHomogeneousSiteModelIterator::ConstNonHomogeneousSiteModelIterator ( std::shared_ptr< const SubstitutionModelSet modelSet)
inline

Definition at line 36 of file AbstractNonHomogeneousTreeLikelihood.h.

References nbModels_, and siteModelDescriptions_.

Member Function Documentation

◆ hasNext()

bool bpp::AbstractNonHomogeneousTreeLikelihood::ConstNonHomogeneousSiteModelIterator::hasNext ( ) const
inline

Definition at line 53 of file AbstractNonHomogeneousTreeLikelihood.h.

References index_, and nbModels_.

Referenced by next().

◆ next()

ConstSiteModelDescription* bpp::AbstractNonHomogeneousTreeLikelihood::ConstNonHomogeneousSiteModelIterator::next ( )
inline

Definition at line 46 of file AbstractNonHomogeneousTreeLikelihood.h.

References hasNext(), index_, and siteModelDescriptions_.

Member Data Documentation

◆ index_

size_t bpp::AbstractNonHomogeneousTreeLikelihood::ConstNonHomogeneousSiteModelIterator::index_
private

Definition at line 32 of file AbstractNonHomogeneousTreeLikelihood.h.

Referenced by hasNext(), and next().

◆ nbModels_

size_t bpp::AbstractNonHomogeneousTreeLikelihood::ConstNonHomogeneousSiteModelIterator::nbModels_
private

◆ siteModelDescriptions_

std::vector<ConstNoPartitionSiteModelDescription> bpp::AbstractNonHomogeneousTreeLikelihood::ConstNonHomogeneousSiteModelIterator::siteModelDescriptions_
private

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