Public Types |
Public Member Functions |
Private Member Functions |
Private Attributes |
List of all members
cluster::Tree02< CNode > Class Template Reference
Cluster list, i.e., all leafs are on level 0. More...
#include <tree02.hh>
Inheritance diagram for cluster::Tree02< CNode >:
Public Types | |
typedef Traits::F | F |
typedef CNode | Node |
Node type of the tree used for the interface of the far field matrices. More... | |
typedef TreeTraits02< CNode > | Traits |
Interface of the tree. More... | |
Public Member Functions | |
virtual std::ostream & | info (std::ostream &os) const |
uint | nclst () const |
Number of clusters. More... | |
uint | nleaf () const |
Number of leafs. More... | |
const CNode * | root () const |
First node of the cluster list. More... | |
const concepts::Space< F > & | space () const |
Space of the tree. More... | |
Tree02 (const concepts::Space< F > &spc, const BBall< F > &ball) | |
Constructor. More... | |
~Tree02 () | |
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 | |
uint | nclst_ |
Number of clusters in the tree. More... | |
uint | nlf_ |
Number of leafs in the tree. More... | |
CNode * | root_ |
First node of the cluster list. More... | |
const concepts::Space< F > & | spc_ |
Space of the tree. More... | |
Detailed Description
template<class CNode>
class cluster::Tree02< CNode >
Cluster list, i.e., all leafs are on level 0.
- Parameters
-
CNode Node type of the cluster list
Member Typedef Documentation
◆ F
template<class CNode >
typedef Traits::F cluster::Tree02< CNode >::F |
◆ Node
template<class CNode >
|
inherited |
◆ Traits
template<class CNode >
typedef TreeTraits02<CNode> cluster::Tree02< CNode >::Traits |
Constructor & Destructor Documentation
◆ Tree02()
template<class CNode >
cluster::Tree02< CNode >::Tree02 | ( | const concepts::Space< F > & | spc, |
const BBall< F > & | ball | ||
) |
Constructor.
- Parameters
-
spc Space which elements should be clusterd ball Bounding ball for the elements of the space
◆ ~Tree02()
template<class CNode >
cluster::Tree02< CNode >::~Tree02 | ( | ) |
Member Function Documentation
◆ info()
template<class CNode >
|
virtualinherited |
◆ info_()
template<class CNode >
|
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()
template<class CNode >
|
inlinevirtual |
◆ nleaf()
template<class CNode >
|
inlinevirtual |
◆ root()
template<class CNode >
|
inlinevirtual |
First node of the cluster list.
Implements cluster::Tree< CNode >.
◆ space()
template<class CNode >
|
inlineinherited |
Member Data Documentation
◆ nclst_
template<class CNode >
|
private |
◆ nlf_
template<class CNode >
|
private |
◆ root_
template<class CNode >
|
private |
◆ spc_
template<class CNode >
|
privateinherited |
The documentation for this class was generated from the following file:
- cluster/tree02.hh