bpp-phyl3  3.0.0
bpp::AbstractHomogeneousTreeLikelihood::ConstHomogeneousSiteModelIterator Class Reference

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

+ Inheritance diagram for bpp::AbstractHomogeneousTreeLikelihood::ConstHomogeneousSiteModelIterator:
+ Collaboration diagram for bpp::AbstractHomogeneousTreeLikelihood::ConstHomogeneousSiteModelIterator:

Public Member Functions

 ConstHomogeneousSiteModelIterator (const Tree &tree, std::shared_ptr< const TransitionModelInterface > model)
 
ConstSiteModelDescriptionnext ()
 
bool hasNext () const
 

Private Attributes

ConstNoPartitionSiteModelDescription siteModelDescription_
 
size_t index_
 

Detailed Description

Definition at line 27 of file AbstractHomogeneousTreeLikelihood.h.

Constructor & Destructor Documentation

◆ ConstHomogeneousSiteModelIterator()

bpp::AbstractHomogeneousTreeLikelihood::ConstHomogeneousSiteModelIterator::ConstHomogeneousSiteModelIterator ( const Tree tree,
std::shared_ptr< const TransitionModelInterface model 
)
inline

Definition at line 35 of file AbstractHomogeneousTreeLikelihood.h.

Member Function Documentation

◆ hasNext()

bool bpp::AbstractHomogeneousTreeLikelihood::ConstHomogeneousSiteModelIterator::hasNext ( ) const
inline

Definition at line 48 of file AbstractHomogeneousTreeLikelihood.h.

References index_.

Referenced by next().

◆ next()

ConstSiteModelDescription* bpp::AbstractHomogeneousTreeLikelihood::ConstHomogeneousSiteModelIterator::next ( )
inline

Definition at line 40 of file AbstractHomogeneousTreeLikelihood.h.

References hasNext(), index_, and siteModelDescription_.

Member Data Documentation

◆ index_

size_t bpp::AbstractHomogeneousTreeLikelihood::ConstHomogeneousSiteModelIterator::index_
private

Definition at line 32 of file AbstractHomogeneousTreeLikelihood.h.

Referenced by hasNext(), and next().

◆ siteModelDescription_

ConstNoPartitionSiteModelDescription bpp::AbstractHomogeneousTreeLikelihood::ConstHomogeneousSiteModelIterator::siteModelDescription_
private

Definition at line 31 of file AbstractHomogeneousTreeLikelihood.h.

Referenced by next().


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