bpp-phyl3
3.0.0
|
A very simple branch iterator. More...
#include <Bpp/Phyl/Legacy/Likelihood/AbstractTreeLikelihood.h>
Public Member Functions | |
SimpleBranchIterator (const std::vector< int > &nodesId) | |
int | next () |
bool | hasNext () const |
Private Attributes | |
std::vector< int > | nodesId_ |
size_t | index_ |
A very simple branch iterator.
The constructor takes a vector of nodes id to iterate over.
Definition at line 45 of file AbstractTreeLikelihood.h.
|
inline |
Definition at line 53 of file AbstractTreeLikelihood.h.
|
inlinevirtual |
Implements bpp::TreeLikelihoodInterface::BranchIterator.
Definition at line 64 of file AbstractTreeLikelihood.h.
References index_, and nodesId_.
Referenced by next().
|
inlinevirtual |
Implements bpp::TreeLikelihoodInterface::BranchIterator.
Definition at line 57 of file AbstractTreeLikelihood.h.
|
private |
Definition at line 50 of file AbstractTreeLikelihood.h.
|
private |
Definition at line 49 of file AbstractTreeLikelihood.h.