bpp-phyl  2.2.0
bpp::TreeLikelihood::BranchIterator Class Referenceabstract

An iterator over a set of branches, specified by their node ids. More...

#include <Bpp/Phyl/Likelihood/TreeLikelihood.h>

+ Inheritance diagram for bpp::TreeLikelihood::BranchIterator:

Public Member Functions

virtual ~BranchIterator ()
 
virtual int next ()=0 throw (Exception)
 
virtual bool hasNext () const =0
 

Detailed Description

An iterator over a set of branches, specified by their node ids.

Definition at line 73 of file TreeLikelihood.h.

Constructor & Destructor Documentation

◆ ~BranchIterator()

virtual bpp::TreeLikelihood::BranchIterator::~BranchIterator ( )
inlinevirtual

Definition at line 76 of file TreeLikelihood.h.

Member Function Documentation

◆ hasNext()

virtual bool bpp::TreeLikelihood::BranchIterator::hasNext ( ) const
pure virtual
Returns
True if there is at least another node in the set.

Implemented in bpp::AbstractTreeLikelihood::SimpleBranchIterator.

◆ next()

virtual int bpp::TreeLikelihood::BranchIterator::next ( )
throw (Exception
)
pure virtual
Returns
The id of the next node in the set.

Implemented in bpp::AbstractTreeLikelihood::SimpleBranchIterator.


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