bpp-phyl3
3.0.0
|
A vector<int> where all elements are different and in INCREASING ORDER. So inclusion should be done through dedicated methods. More...
#include <Bpp/Phyl/Likelihood/ModelPath.h>
Public Member Functions | |
PathNode () | |
PathNode (const PathNode &n) | |
~PathNode () | |
void | insertN (const Vuint &vn) |
Insert elements. More... | |
void | removeN (const Vuint &vn) |
Remove elements. More... | |
PathNode & | operator= (const Vuint &vn) |
PathNode & | operator+= (const PathNode &n) |
Cumulates the elements of the given PathNode into this one. More... | |
PathNode & | operator-= (const PathNode &n) |
Remove the elements of the given PathNode from this one. More... | |
bool | operator<= (const PathNode &) const |
checks if this PathNode is included in another one. More... | |
bool | operator>= (const PathNode &) const |
checks if this PathNode includes another one. More... | |
bool | intersects (const PathNode &) const |
checks if this PathNode intersects another one. More... | |
std::string | to_string () const |
Output. More... | |
Public Attributes | |
unsigned int | elements |
STL member. More... | |
A vector<int> where all elements are different and in INCREASING ORDER. So inclusion should be done through dedicated methods.
Definition at line 29 of file ModelPath.h.
|
inline |
Definition at line 32 of file ModelPath.h.
|
inline |
Definition at line 33 of file ModelPath.h.
|
inline |
Definition at line 35 of file ModelPath.h.
void ModelPath::PathNode::insertN | ( | const Vuint & | vn | ) |
Insert elements.
Definition at line 195 of file ModelPath.cpp.
Referenced by operator+=(), and operator=().
bool ModelPath::PathNode::intersects | ( | const PathNode & | n | ) | const |
checks if this PathNode intersects another one.
Definition at line 240 of file ModelPath.cpp.
Cumulates the elements of the given PathNode into this one.
Definition at line 63 of file ModelPath.h.
References insertN().
Remove the elements of the given PathNode from this one.
Definition at line 72 of file ModelPath.h.
References removeN().
bool ModelPath::PathNode::operator<= | ( | const PathNode & | n | ) | const |
checks if this PathNode is included in another one.
Definition at line 221 of file ModelPath.cpp.
Definition at line 52 of file ModelPath.h.
References insertN().
bool ModelPath::PathNode::operator>= | ( | const PathNode & | n | ) | const |
checks if this PathNode includes another one.
Definition at line 235 of file ModelPath.cpp.
void ModelPath::PathNode::removeN | ( | const Vuint & | vn | ) |
std::string ModelPath::PathNode::to_string | ( | ) | const |
Output.
Definition at line 257 of file ModelPath.cpp.
References bpp::to_string().
Referenced by bpp::PhylogeneticsApplicationTools::printParameters().
|
inherited |
STL member.