#include <tree01.hh>
Public Types | |
| typedef TreeTraits01< CNode > | Traits |
| Interface of the tree. | |
| typedef Traits::F | F |
| typedef CNode | Node |
| Node type of the tree used for the interface of the far field matrices. | |
Public Member Functions | |
| Tree01 (const concepts::Space< F > &spc, const BBall< F > &ball, uint nlfmin=1) | |
| uint | nclst () const |
| Number of clusters. | |
| uint | nleaf () const |
| Number of leafs. | |
| const CNode * | root () const |
| Root node of the tree. | |
| void | sketch (std::ostream &os, const CNode *lnk=0, uint l=0) |
| virtual std::ostream & | info (std::ostream &os) const |
| const concepts::Space< F > & | space () const |
| Space of the tree. | |
Cluster tree. The clusters are approximated by a bounding box. The subdivision is done by cutting the longest side of the bounding box into two pieces.
| CNode | Node type of the cluster tree |
| typedef Traits::F cluster::Tree01< CNode >::F |
|
inherited |
| typedef TreeTraits01<CNode> cluster::Tree01< CNode >::Traits |
| cluster::Tree01< CNode >::Tree01 | ( | const concepts::Space< F > & | spc, |
| const BBall< F > & | ball, | ||
| uint | nlfmin = 1 |
||
| ) |
Constructor.
| spc | Space which elements should be clusterd |
| ball | Bounding ball for the elements of the space |
| nlfmin | Minimal leafs contained in a cluster |
|
inline |
|
virtualinherited |
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
| void cluster::Tree01< CNode >::sketch | ( | std::ostream & | os, |
| const CNode * | lnk = 0, |
||
| uint | l = 0 |
||
| ) |
Sketch of a subtree.
| os | Output stream |
| lnk | Root of the subtree which is sketched |
| l | Level, number of blanks printed on the left side |
|
inlineinherited |