|
bpp-phyl
2.2.0
|
A very simple branch iterator. More...
#include <Bpp/Phyl/Likelihood/AbstractTreeLikelihood.h>
Inheritance diagram for bpp::AbstractTreeLikelihood::SimpleBranchIterator:
Collaboration diagram for bpp::AbstractTreeLikelihood::SimpleBranchIterator:Public Member Functions | |
| SimpleBranchIterator (const std::vector< int > &nodesId) | |
| int | next () throw (Exception) |
| 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 79 of file AbstractTreeLikelihood.h.
|
inline |
Definition at line 87 of file AbstractTreeLikelihood.h.
|
inlinevirtual |
Implements bpp::TreeLikelihood::BranchIterator.
Definition at line 98 of file AbstractTreeLikelihood.h.
References index_, and nodesId_.
Referenced by next().
|
inlinevirtual | |||||||||||||
Implements bpp::TreeLikelihood::BranchIterator.
Definition at line 91 of file AbstractTreeLikelihood.h.
|
private |
Definition at line 84 of file AbstractTreeLikelihood.h.
|
private |
Definition at line 83 of file AbstractTreeLikelihood.h.