bpp-phyl  2.2.0
bpp::MixedSubstitutionModelSet::HyperNode::Node Class Reference

#include <Bpp/Phyl/Model/MixedSubstitutionModelSet.h>

Public Member Functions

 Node ()
 
 Node (const Node &n)
 
Nodeoperator= (const Node &n)
 
 ~Node ()
 
Nodeoperator= (const Vint &n)
 
void insertN (const Vint &vn)
 
size_t size () const
 
Nodeoperator+= (const Node &)
 Cumulates the elements of the given Node into this one. More...
 
bool operator<= (const Node &) const
 checks if this Node is included in another one. More...
 
bool operator>= (const Node &) const
 checks if this HyperNode includes another one. More...
 
bool intersects (const Node &) const
 checks if this Node intersects another one. More...
 
int operator[] (size_t i) const
 

Private Attributes

Vint vNumb_
 A vector<int> where all elements are different and in increasing order. More...
 

Detailed Description

Definition at line 128 of file MixedSubstitutionModelSet.h.

Constructor & Destructor Documentation

◆ Node() [1/2]

bpp::MixedSubstitutionModelSet::HyperNode::Node::Node ( )
inline

Definition at line 137 of file MixedSubstitutionModelSet.h.

◆ Node() [2/2]

bpp::MixedSubstitutionModelSet::HyperNode::Node::Node ( const Node n)
inline

Definition at line 138 of file MixedSubstitutionModelSet.h.

◆ ~Node()

bpp::MixedSubstitutionModelSet::HyperNode::Node::~Node ( )
inline

Definition at line 145 of file MixedSubstitutionModelSet.h.

Member Function Documentation

◆ insertN()

void MixedSubstitutionModelSet::HyperNode::Node::insertN ( const Vint &  vn)

Definition at line 417 of file MixedSubstitutionModelSet.cpp.

◆ intersects()

bool MixedSubstitutionModelSet::HyperNode::Node::intersects ( const Node n) const

checks if this Node intersects another one.

Definition at line 464 of file MixedSubstitutionModelSet.cpp.

References vNumb_.

◆ operator+=()

MixedSubstitutionModelSet::HyperNode::Node & MixedSubstitutionModelSet::HyperNode::Node::operator+= ( const Node n)

Cumulates the elements of the given Node into this one.

Definition at line 436 of file MixedSubstitutionModelSet.cpp.

References vNumb_.

◆ operator<=()

bool MixedSubstitutionModelSet::HyperNode::Node::operator<= ( const Node n) const

checks if this Node is included in another one.

Definition at line 443 of file MixedSubstitutionModelSet.cpp.

References vNumb_.

◆ operator=() [1/2]

Node& bpp::MixedSubstitutionModelSet::HyperNode::Node::operator= ( const Node n)
inline

Definition at line 139 of file MixedSubstitutionModelSet.h.

References vNumb_.

◆ operator=() [2/2]

Node& bpp::MixedSubstitutionModelSet::HyperNode::Node::operator= ( const Vint &  n)
inline

Definition at line 147 of file MixedSubstitutionModelSet.h.

References vNumb_.

◆ operator>=()

bool MixedSubstitutionModelSet::HyperNode::Node::operator>= ( const Node n) const

checks if this HyperNode includes another one.

Definition at line 459 of file MixedSubstitutionModelSet.cpp.

◆ operator[]()

int bpp::MixedSubstitutionModelSet::HyperNode::Node::operator[] ( size_t  i) const
inline

Definition at line 188 of file MixedSubstitutionModelSet.h.

References vNumb_.

◆ size()

Member Data Documentation

◆ vNumb_

Vint bpp::MixedSubstitutionModelSet::HyperNode::Node::vNumb_
private

A vector<int> where all elements are different and in increasing order.

Definition at line 134 of file MixedSubstitutionModelSet.h.

Referenced by intersects(), operator+=(), operator<=(), operator=(), operator[](), and size().


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