Public Types |
Public Member Functions |
Private Member Functions |
Private Attributes |
Friends |
List of all members
cluster::Tree< CNode > Class Template Referenceabstract
Abstract class for a cluster tree. More...
#include <tree.hh>
Inheritance diagram for cluster::Tree< CNode >:
Public Types | |
typedef Traits::F | F |
Field (Real or Cmplx) More... | |
typedef CNode | Node |
Node type of the tree used for the interface of the far field matrices. More... | |
typedef TreeTraits< CNode > | Traits |
Interface of the tree. More... | |
Public Member Functions | |
virtual std::ostream & | info (std::ostream &os) const |
virtual uint | nclst () const =0 |
Number of clusters. More... | |
virtual uint | nleaf () const =0 |
Number of leafs. More... | |
virtual const Node * | root () const =0 |
Root node of the tree. More... | |
const concepts::Space< F > & | space () const |
Space of the tree. More... | |
Tree (const concepts::Space< F > &spc) | |
Constructor. More... | |
virtual | ~Tree () |
Private Member Functions | |
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 | |
const concepts::Space< F > & | spc_ |
Space of the tree. More... | |
Friends | |
std::ostream & | operator<< (std::ostream &os, const Tree< CNode > &t) |
Detailed Description
template<class CNode>
class cluster::Tree< CNode >
Abstract class for a cluster tree.
- Parameters
-
CNode Node type of the cluster tree
Member Typedef Documentation
◆ F
template<class CNode >
typedef Traits::F cluster::Tree< CNode >::F |
◆ Node
template<class CNode >
typedef CNode cluster::Tree< CNode >::Node |
◆ Traits
template<class CNode >
typedef TreeTraits<CNode> cluster::Tree< CNode >::Traits |
Constructor & Destructor Documentation
◆ Tree()
template<class CNode >
|
inline |
◆ ~Tree()
template<class CNode >
|
inlinevirtual |
Member Function Documentation
◆ info()
template<class CNode >
|
virtual |
◆ info_()
template<class CNode >
|
private |
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()
template<class CNode >
|
pure virtual |
Number of clusters.
Implemented in cluster::Tree03< CNode >, cluster::Tree02< CNode >, and cluster::Tree01< CNode >.
◆ nleaf()
template<class CNode >
|
pure virtual |
Number of leafs.
Implemented in cluster::Tree03< CNode >, cluster::Tree02< CNode >, and cluster::Tree01< CNode >.
◆ root()
template<class CNode >
|
pure virtual |
Root node of the tree.
Implemented in cluster::Tree03< CNode >, cluster::Tree02< CNode >, and cluster::Tree01< CNode >.
◆ space()
template<class CNode >
|
inline |
Friends And Related Function Documentation
◆ operator<<
template<class CNode >
|
friend |
Member Data Documentation
◆ spc_
template<class CNode >
|
private |
The documentation for this class was generated from the following file:
- cluster/tree.hh