Classes |
Public Types |
Public Member Functions |
Private Attributes |
Friends |
List of all members
aglowav::BiClNode00< F > Class Template Reference
Binary node for the cluster and Haar wavelet agglomeration algorithm. More...
#include <tree.hh>
Classes | |
union | NE |
Node -> rght, leaf -> elm. More... | |
Public Types | |
typedef F | CF |
Type of element (Real || Cmplx) More... | |
Public Member Functions | |
BiClNode00 (const concepts::Element< F > &elm, const cluster::BBall< F > &ball, BiClNode00< F > *lft) | |
Constructor 1 (for a list of leafs, next leaf = left child) More... | |
BiClNode00 (uint idx, BiClNode00< F > &lft, BiClNode00< F > &rght, const concepts::Real3d &c, concepts::Real r, uint nleaf=0) | |
Constructor 2 (new node, no leaf) More... | |
const concepts::Real3d & | center () const |
Cluster center. More... | |
BiClNode00< F > * | child (uint j) const |
j-th child of the node More... | |
const bem::Constant3d001< F > * | element () const |
Element of the node. More... | |
uint | index () const |
Cluster number. More... | |
BiClNode00< F > *& | lft () |
BiClNode00< F > * | lft () const |
Left child of the node. More... | |
uint | nleaf () const |
Number of leafs in the subtree of the node. More... | |
concepts::Real | radius () const |
Cluster radius. More... | |
BiClNode00< F > * | rght () const |
Right child of the node. More... | |
Private Attributes | |
concepts::Real3d | c_ |
Cluster center. More... | |
uint | idx_ |
Node number. More... | |
BiClNode00< F > * | lft_ |
Left child of the node. More... | |
NE | ne_ |
Right child or element of the node. More... | |
uint | nlf_ |
Number of leafs in the subtree of the node. More... | |
concepts::Real | r_ |
Cluster radius. More... | |
Friends | |
std::ostream & | operator<< (std::ostream &os, const BiClNode00< F > &nd) |
Output. More... | |
Detailed Description
template<class F>
class aglowav::BiClNode00< F >
Binary node for the cluster and Haar wavelet agglomeration algorithm.
Member Typedef Documentation
◆ CF
template<class F >
typedef F aglowav::BiClNode00< F >::CF |
Constructor & Destructor Documentation
◆ BiClNode00() [1/2]
template<class F >
aglowav::BiClNode00< F >::BiClNode00 | ( | const concepts::Element< F > & | elm, |
const cluster::BBall< F > & | ball, | ||
BiClNode00< F > * | lft | ||
) |
Constructor 1 (for a list of leafs, next leaf = left child)
- Exceptions
-
MissingFeature
- Parameters
-
elm Element ball Bounding ball for a element chldlft Left child (-> degenerate tree, list, only left child used)
◆ BiClNode00() [2/2]
template<class F >
aglowav::BiClNode00< F >::BiClNode00 | ( | uint | idx, |
BiClNode00< F > & | lft, | ||
BiClNode00< F > & | rght, | ||
const concepts::Real3d & | c, | ||
concepts::Real | r, | ||
uint | nleaf = 0 |
||
) |
Constructor 2 (new node, no leaf)
- Parameters
-
idx Node number chldlft Left child chldrght Right child c Cluster center r Cluster radius nleaf Number of leafs
Member Function Documentation
◆ center()
template<class F >
|
inline |
◆ child()
template<class F >
|
inline |
◆ element()
template<class F >
|
inline |
◆ index()
template<class F >
|
inline |
◆ lft() [1/2]
template<class F >
|
inline |
◆ lft() [2/2]
template<class F >
|
inline |
◆ nleaf()
template<class F >
|
inline |
◆ radius()
template<class F >
|
inline |
◆ rght()
template<class F >
|
inline |
Friends And Related Function Documentation
◆ operator<<
template<class F >
|
friend |
Member Data Documentation
◆ c_
template<class F >
|
private |
◆ idx_
template<class F >
|
private |
◆ lft_
template<class F >
|
private |
◆ ne_
template<class F >
|
private |
◆ nlf_
template<class F >
|
private |
◆ r_
template<class F >
|
private |
The documentation for this class was generated from the following file:
- aglowav/tree.hh