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

Public Types | Public Member Functions | Private Member Functions | Private Attributes | Friends
cluster::Tree< CNode > Class Template Reference

Abstract class for a cluster tree. More...

#include <tree.hh>

Inheritance diagram for cluster::Tree< CNode >:
Inheritance graph
[legend]

List of all members.

Public Types

typedef Traits::F F
 Field (Real or Cmplx)
typedef CNode Node
 Node type of the tree used for the interface of the far field matrices.
typedef TreeTraits< CNode > Traits
 Interface of the tree.

Public Member Functions

virtual std::ostream & info (std::ostream &os) const
virtual uint nclst () const =0
 Number of clusters.
virtual uint nleaf () const =0
 Number of leafs.
virtual const Noderoot () const =0
 Root node of the tree.
const concepts::Space< F > & space () const
 Space of the tree.
 Tree (const concepts::Space< F > &spc)
 Constructor.
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()

Private Attributes

const concepts::Space< F > & spc_
 Space of the tree.

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:
CNodeNode type of the cluster tree

Definition at line 282 of file tree.hh.


Member Typedef Documentation

template<class CNode>
typedef Traits::F cluster::Tree< CNode >::F
template<class CNode>
typedef CNode cluster::Tree< CNode >::Node

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

Definition at line 291 of file tree.hh.

template<class CNode>
typedef TreeTraits<CNode> cluster::Tree< CNode >::Traits

Constructor & Destructor Documentation

template<class CNode>
cluster::Tree< CNode >::Tree ( const concepts::Space< F > &  spc) [inline]

Constructor.

Parameters:
spcSpace which elements should be clustered

Definition at line 296 of file tree.hh.

template<class CNode>
virtual cluster::Tree< CNode >::~Tree ( ) [inline, virtual]

Definition at line 297 of file tree.hh.


Member Function Documentation

template<class CNode >
std::ostream & cluster::Tree< CNode >::info ( std::ostream &  os) const [virtual]

Definition at line 361 of file tree.hh.

template<class CNode >
void cluster::Tree< CNode >::info_ ( const Node clst,
concepts::Real rhomin,
concepts::Real rhomax,
concepts::Real taumin,
concepts::Real taumax,
uint &  h 
) const [private]

Computes some information used by info()

Parameters:
clstNode of the tree
rhominRatio of child radius divided by cluster radius
rhomaxRatio of child radius divided by cluster radius
tauminRatio of number of leafs of the child divided by the number of leafs of the cluster
hLongest path in the tree from clst to the leafs

Definition at line 327 of file tree.hh.

template<class CNode>
virtual uint cluster::Tree< CNode >::nclst ( ) const [pure virtual]
template<class CNode>
virtual uint cluster::Tree< CNode >::nleaf ( ) const [pure virtual]
template<class CNode>
virtual const Node* cluster::Tree< CNode >::root ( ) const [pure virtual]
template<class CNode>
const concepts::Space<F>& cluster::Tree< CNode >::space ( ) const [inline]

Space of the tree.

Definition at line 307 of file tree.hh.


Friends And Related Function Documentation

template<class CNode>
std::ostream& operator<< ( std::ostream &  os,
const Tree< CNode > &  t 
) [friend]

Definition at line 274 of file tree.hh.


Member Data Documentation

template<class CNode>
const concepts::Space<F>& cluster::Tree< CNode >::spc_ [private]

Space of the tree.

Definition at line 311 of file tree.hh.


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

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