bpp-phyl3  3.0.0
bpp::AbstractTreeLikelihood::ConstNoPartitionBranchModelIterator Class Reference

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

+ Inheritance diagram for bpp::AbstractTreeLikelihood::ConstNoPartitionBranchModelIterator:
+ Collaboration diagram for bpp::AbstractTreeLikelihood::ConstNoPartitionBranchModelIterator:

Public Member Functions

 ConstNoPartitionBranchModelIterator (std::shared_ptr< const TransitionModelInterface > model, size_t nbSites)
 
ConstNoPartitionBranchModelDescriptionnext ()
 
bool hasNext () const
 

Private Attributes

ConstNoPartitionBranchModelDescription branchModelDescription_
 
size_t index_
 

Detailed Description

Definition at line 142 of file AbstractTreeLikelihood.h.

Constructor & Destructor Documentation

◆ ConstNoPartitionBranchModelIterator()

bpp::AbstractTreeLikelihood::ConstNoPartitionBranchModelIterator::ConstNoPartitionBranchModelIterator ( std::shared_ptr< const TransitionModelInterface model,
size_t  nbSites 
)
inline

Definition at line 150 of file AbstractTreeLikelihood.h.

Member Function Documentation

◆ hasNext()

bool bpp::AbstractTreeLikelihood::ConstNoPartitionBranchModelIterator::hasNext ( ) const
inlinevirtual

Implements bpp::TreeLikelihoodInterface::ConstBranchModelIterator.

Definition at line 162 of file AbstractTreeLikelihood.h.

References index_.

Referenced by next().

◆ next()

ConstNoPartitionBranchModelDescription* bpp::AbstractTreeLikelihood::ConstNoPartitionBranchModelIterator::next ( )
inlinevirtual

Member Data Documentation

◆ branchModelDescription_

ConstNoPartitionBranchModelDescription bpp::AbstractTreeLikelihood::ConstNoPartitionBranchModelIterator::branchModelDescription_
private

Definition at line 146 of file AbstractTreeLikelihood.h.

Referenced by next().

◆ index_

size_t bpp::AbstractTreeLikelihood::ConstNoPartitionBranchModelIterator::index_
private

Definition at line 147 of file AbstractTreeLikelihood.h.

Referenced by hasNext(), and next().


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