#include <tree03.hh>
Public Types | |
typedef TreeTraits03< 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 | |
Tree03 (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 the Cebysev ball. The subdivision is done by cutting the ball by a plane perpendicular to the longest vector in between two extremal points.
CNode | Node type of the cluster tree |
typedef Traits::F cluster::Tree03< CNode >::F |
|
inherited |
typedef TreeTraits03<CNode> cluster::Tree03< CNode >::Traits |
cluster::Tree03< CNode >::Tree03 | ( | const concepts::Space< F > & | spc, |
const BBall< F > & | ball, | ||
uint | nlfmin = 1 |
||
) |
Constructor.
MissingFeature |
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::Tree03< 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 |