Home | Doxygen Documentation | Tutorials | Developer Tools (restricted)

Public Types | Public Member Functions | Private Member Functions | Private Attributes
aglowav::Tree02< BiClNode > Class Template Reference

Binary tree for the cluster and agglomeration algorithm. More...

#include <tree02.hh>

Inheritance diagram for aglowav::Tree02< BiClNode >:
Inheritance graph
[legend]
Collaboration diagram for aglowav::Tree02< BiClNode >:
Collaboration graph
[legend]

List of all members.

Public Types

typedef Traits::F F
 Field (Real or Cmplx)
typedef BiClNode Node
 Node type of the tree used for the interface of the far field matrices.
typedef BiClNode Node
typedef ClstBiTreeTraits
< BiClNode > 
Traits
 How a node has to behave.

Public Member Functions

virtual std::ostream & info (std::ostream &os) const
 Information about the tree.
virtual std::ostream & info (std::ostream &os) const
uint nclst () const
 Number of clusters.
uint nleaf () const
 Number of leafs.
const BiClNode * root () const
 Root of the tree.
void sketch (std::ostream &os, const BiClNode *rt=0, uint l=0) const
 Sketches the structure of the tree.
const concepts::Space< F > & space () const
 Space of the tree.
 Tree02 (const concepts::Space< F > &spc, const cluster::BBall< F > &ball)
 Constructor.
 ~Tree02 ()
 Destructor.

Private Member Functions

BiClNode * constructor_ (BiClNode *lfset, cluster::CebyCenter< BiClNode > &cby)
 Private constructor for recursive calls.
void destructor_ (BiClNode *nd)
 Private destructor for recursive calls.

Private Attributes

uint nclst_
 Number of clusters.
uint nlf_
 Number of leafs.
BiClNode * root_
 Root of the tree.

Detailed Description

template<class BiClNode>
class aglowav::Tree02< BiClNode >

Binary tree for the cluster and agglomeration algorithm.

The tree is constructed by Cebysev balls.

Definition at line 19 of file tree02.hh.


Member Typedef Documentation

template<class BiClNode >
typedef Traits::F aglowav::Tree02< BiClNode >::F

Field (Real or Cmplx)

Reimplemented from cluster::Tree< BiClNode >.

Definition at line 24 of file tree02.hh.

typedef BiClNode cluster::Tree< BiClNode >::Node [inherited]

Node type of the tree used for the interface of the far field matrices.

Definition at line 291 of file tree.hh.

typedef BiClNode aglowav::One2ManyTree< BiClNode >::Node [inherited]

Definition at line 48 of file tree.hh.

template<class BiClNode >
typedef ClstBiTreeTraits<BiClNode> aglowav::Tree02< BiClNode >::Traits

How a node has to behave.

Reimplemented from aglowav::BiTree< BiClNode >.

Definition at line 23 of file tree02.hh.


Constructor & Destructor Documentation

template<class BiClNode >
aglowav::Tree02< BiClNode >::Tree02 ( const concepts::Space< F > &  spc,
const cluster::BBall< F > &  ball 
)

Constructor.

Parameters:
spcSpace of the leafs
ballBounding ball for a space element
template<class BiClNode >
aglowav::Tree02< BiClNode >::~Tree02 ( ) [inline]

Destructor.

Definition at line 33 of file tree02.hh.

Here is the call graph for this function:


Member Function Documentation

template<class BiClNode >
BiClNode* aglowav::Tree02< BiClNode >::constructor_ ( BiClNode *  lfset,
cluster::CebyCenter< BiClNode > &  cby 
) [private]

Private constructor for recursive calls.

template<class BiClNode >
void aglowav::Tree02< BiClNode >::destructor_ ( BiClNode *  nd) [private]

Private destructor for recursive calls.

virtual std::ostream& cluster::Tree< BiClNode >::info ( std::ostream &  os) const [virtual, inherited]
virtual std::ostream& aglowav::One2ManyTree< BiClNode >::info ( std::ostream &  os) const [virtual, inherited]

Information about the tree.

template<class BiClNode >
uint aglowav::Tree02< BiClNode >::nclst ( ) const [inline, virtual]

Number of clusters.

Implements cluster::Tree< BiClNode >.

Definition at line 36 of file tree02.hh.

template<class BiClNode >
uint aglowav::Tree02< BiClNode >::nleaf ( ) const [inline, virtual]

Number of leafs.

Implements cluster::Tree< BiClNode >.

Definition at line 38 of file tree02.hh.

template<class BiClNode >
const BiClNode* aglowav::Tree02< BiClNode >::root ( ) const [inline, virtual]

Root of the tree.

Implements aglowav::BiTree< BiClNode >.

Definition at line 40 of file tree02.hh.

void aglowav::One2ManyTree< BiClNode >::sketch ( std::ostream &  os,
const BiClNode *  rt = 0,
uint  l = 0 
) const [inherited]

Sketches the structure of the tree.

Parameters:
rtroot of the subtree which is to sketch
llevel of the root of the subtree
const concepts::Space<F>& cluster::Tree< BiClNode >::space ( ) const [inline, inherited]

Space of the tree.

Definition at line 307 of file tree.hh.


Member Data Documentation

template<class BiClNode >
uint aglowav::Tree02< BiClNode >::nclst_ [private]

Number of clusters.

Definition at line 52 of file tree02.hh.

template<class BiClNode >
uint aglowav::Tree02< BiClNode >::nlf_ [private]

Number of leafs.

Definition at line 50 of file tree02.hh.

template<class BiClNode >
BiClNode* aglowav::Tree02< BiClNode >::root_ [private]

Root of the tree.

Definition at line 54 of file tree02.hh.


The documentation for this class was generated from the following file:

Home | Doxygen Documentation | Tutorials | Developer Tools (restricted)