bpp-phyl3  3.0.0
bpp::MixedSubstitutionModelSet::HyperNode::Node Class Reference

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

+ Collaboration diagram for bpp::MixedSubstitutionModelSet::HyperNode::Node:

Public Member Functions

 Node ()
 
 Node (const Node &n)
 
Nodeoperator= (const Node &n)
 
virtual ~Node ()
 
Nodeoperator= (const Vuint &n)
 
void insertN (const Vuint &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...
 
uint operator[] (size_t i) const
 

Private Attributes

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

Detailed Description

Definition at line 93 of file MixedSubstitutionModelSet.h.

Constructor & Destructor Documentation

◆ Node() [1/2]

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

Definition at line 102 of file MixedSubstitutionModelSet.h.

◆ Node() [2/2]

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

Definition at line 103 of file MixedSubstitutionModelSet.h.

◆ ~Node()

virtual bpp::MixedSubstitutionModelSet::HyperNode::Node::~Node ( )
inlinevirtual

Definition at line 110 of file MixedSubstitutionModelSet.h.

Member Function Documentation

◆ insertN()

void MixedSubstitutionModelSet::HyperNode::Node::insertN ( const Vuint vn)

Definition at line 387 of file MixedSubstitutionModelSet.cpp.

◆ intersects()

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

checks if this Node intersects another one.

Definition at line 432 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 406 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 413 of file MixedSubstitutionModelSet.cpp.

References vNumb_.

◆ operator=() [1/2]

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

Definition at line 104 of file MixedSubstitutionModelSet.h.

References vNumb_.

◆ operator=() [2/2]

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

Definition at line 112 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 427 of file MixedSubstitutionModelSet.cpp.

◆ operator[]()

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

Definition at line 145 of file MixedSubstitutionModelSet.h.

References vNumb_.

◆ size()

Member Data Documentation

◆ vNumb_

Vuint bpp::MixedSubstitutionModelSet::HyperNode::Node::vNumb_
private

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

Definition at line 99 of file MixedSubstitutionModelSet.h.

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


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