Public Types |
Public Member Functions |
Private Member Functions |
Private Attributes |
List of all members
aglowav::Tree01< BiClNode > Class Template Referenceabstract
Binary tree for the cluster and agglomeration algorithm. More...
#include <tree01.hh>
Inheritance diagram for aglowav::Tree01< BiClNode >:
Public Types | |
typedef Traits::F | F |
typedef BiClNode | Node |
typedef BiClNode | Node |
Node type of the tree used for the interface of the far field matrices. More... | |
typedef ClstBiTreeTraits< BiClNode > | Traits |
How a node has to behave. More... | |
Public Member Functions | |
virtual std::ostream & | info (std::ostream &os) const |
Information about the tree. More... | |
virtual std::ostream & | info (std::ostream &os) const |
uint | nclst () const |
Number of clusters. More... | |
virtual uint | nclst () const=0 |
Number of clusters. More... | |
uint | nleaf () const |
Number of leafs. More... | |
virtual uint | nleaf () const=0 |
Number of leafs. More... | |
virtual uint | nleaf () const=0 |
Number of leafs. More... | |
const BiClNode * | root () const |
Root of the tree. More... | |
virtual const BiClNode * | root () const=0 |
Root of the tree. More... | |
virtual const Node * | root () const=0 |
Root node of the tree. More... | |
void | sketch (std::ostream &os, const BiClNode *rt=0, uint l=0) const |
Sketches the structure of the tree. More... | |
const concepts::Space< F > & | space () const |
Space of the tree. More... | |
Tree01 (const concepts::Space< F > &spc, const cluster::BBall< F > &ball) | |
Constructor. More... | |
virtual | ~Tree01 () |
Destructor. More... | |
Private Member Functions | |
BiClNode * | constructor_ (BiClNode *lfset) |
Private constructor for recursive calls. More... | |
void | destructor_ (BiClNode *clst) |
Private destructor for recursive calls. More... | |
void | info_ (const Node *clst, concepts::Real &rhomin, concepts::Real &rhomax, concepts::Real &taumin, concepts::Real &taumax, uint &h) const |
Computes some information used by info() More... | |
Private Attributes | |
uint | nclst_ |
Number of clusters. More... | |
uint | nlf_ |
Number of leafs. More... | |
BiClNode * | root_ |
Root of the tree. More... | |
const concepts::Space< F > & | spc_ |
Space of the tree. More... | |
Detailed Description
template<class BiClNode>
class aglowav::Tree01< BiClNode >
Binary tree for the cluster and agglomeration algorithm.
The tree is constructed by bounding boxes.
Member Typedef Documentation
◆ F
template<class BiClNode >
typedef Traits::F aglowav::Tree01< BiClNode >::F |
◆ Node [1/2]
|
inherited |
◆ Node [2/2]
|
inherited |
◆ Traits
template<class BiClNode >
typedef ClstBiTreeTraits<BiClNode> aglowav::Tree01< BiClNode >::Traits |
Constructor & Destructor Documentation
◆ Tree01()
template<class BiClNode >
aglowav::Tree01< BiClNode >::Tree01 | ( | const concepts::Space< F > & | spc, |
const cluster::BBall< F > & | ball | ||
) |
Constructor.
- Parameters
-
spc Space of the leafs ball Bounding ball/box for a space element
◆ ~Tree01()
template<class BiClNode >
|
inlinevirtual |
Member Function Documentation
◆ constructor_()
template<class BiClNode >
|
private |
Private constructor for recursive calls.
◆ destructor_()
template<class BiClNode >
|
private |
Private destructor for recursive calls.
◆ info() [1/2]
|
virtualinherited |
Information about the tree.
◆ info() [2/2]
|
virtualinherited |
◆ info_()
|
privateinherited |
Computes some information used by info()
- Parameters
-
clst Node of the tree rhomin Ratio of child radius divided by cluster radius rhomax Ratio of child radius divided by cluster radius taumin Ratio of number of leafs of the child divided by the number of leafs of the cluster h Longest path in the tree from clst to the leafs
◆ nclst() [1/2]
template<class BiClNode >
|
inline |
◆ nclst() [2/2]
|
pure virtualinherited |
Number of clusters.
◆ nleaf() [1/3]
template<class BiClNode >
|
inline |
◆ nleaf() [2/3]
|
pure virtualinherited |
Number of leafs.
◆ nleaf() [3/3]
|
pure virtualinherited |
Number of leafs.
◆ root() [1/3]
template<class BiClNode >
|
inline |
◆ root() [2/3]
|
pure virtualinherited |
Root of the tree.
Implements aglowav::One2ManyTree< BiClNode >.
◆ root() [3/3]
|
pure virtualinherited |
Root node of the tree.
◆ sketch()
|
inherited |
Sketches the structure of the tree.
- Parameters
-
rt root of the subtree which is to sketch l level of the root of the subtree
◆ space()
|
inlineinherited |
Member Data Documentation
◆ nclst_
template<class BiClNode >
|
private |
◆ nlf_
template<class BiClNode >
|
private |
◆ root_
template<class BiClNode >
|
private |
◆ spc_
|
privateinherited |
The documentation for this class was generated from the following file:
- aglowav/tree01.hh