aglowav::BiHaar3dDFSScan< F > Class Template Referenceabstract

Scanner of the BiHaar3d space (depth first search (dfs)) (1. More...

#include <space.hh>

Inheritance diagram for aglowav::BiHaar3dDFSScan< F >:
aglowav::Haar3dDFSScan< concepts::Real > concepts::Scan< concepts::Element< concepts::Real > >

Public Member Functions

 BiHaar3dDFSScan (const BiHaar3dDFSScan< F > &sc)
 Copy constructor. More...
 
 BiHaar3dDFSScan (Haar3d000< F > *elm, uint ht)
 Constructor. More...
 
BiHaar3dDFSScan< F > * clone () const
 New scanner. More...
 
virtual Scan * clone () const=0
 Returns a clone of the scanner. More...
 
bool eos () const
 End of scan. More...
 
virtual bool eos () const=0
 Returns true if the end of the scanned set is reached. More...
 
 operator int ()
 Returns true as long as the end of the scanned set is not reached yet. More...
 
Haar3d000< F > & operator++ (int)
 Next element. More...
 
 ~BiHaar3dDFSScan ()
 Destructor. More...
 

Private Attributes

uint ht_
 Height of the stack. More...
 
Haar3d000< F > ** sptr_
 Stack pointer. More...
 
Haar3d000< F > ** stk_
 Begin of the stack. More...
 

Detailed Description

template<class F = concepts::Real>
class aglowav::BiHaar3dDFSScan< F >

Scanner of the BiHaar3d space (depth first search (dfs)) (1.

children, 2. parent)

Parameters
FField (Real || Cmplx)

Definition at line 76 of file space.hh.

Constructor & Destructor Documentation

◆ BiHaar3dDFSScan() [1/2]

template<class F = concepts::Real>
aglowav::BiHaar3dDFSScan< F >::BiHaar3dDFSScan ( Haar3d000< F > *  elm,
uint  ht 
)

Constructor.

Parameters
elmRoot of the wavelet tree
htHeight of the wavelet tree

◆ BiHaar3dDFSScan() [2/2]

template<class F = concepts::Real>
aglowav::BiHaar3dDFSScan< F >::BiHaar3dDFSScan ( const BiHaar3dDFSScan< F > &  sc)

Copy constructor.

◆ ~BiHaar3dDFSScan()

template<class F = concepts::Real>
aglowav::BiHaar3dDFSScan< F >::~BiHaar3dDFSScan ( )
inline

Destructor.

Definition at line 86 of file space.hh.

Member Function Documentation

◆ clone() [1/2]

template<class F = concepts::Real>
BiHaar3dDFSScan<F>* aglowav::BiHaar3dDFSScan< F >::clone ( ) const
inline

New scanner.

Definition at line 91 of file space.hh.

◆ clone() [2/2]

virtual Scan* concepts::Scan< concepts::Element< concepts::Real > >::clone ( ) const
pure virtualinherited

Returns a clone of the scanner.

◆ eos() [1/2]

template<class F = concepts::Real>
bool aglowav::BiHaar3dDFSScan< F >::eos ( ) const
inline

End of scan.

Definition at line 95 of file space.hh.

◆ eos() [2/2]

virtual bool concepts::Scan< concepts::Element< concepts::Real > >::eos ( ) const
pure virtualinherited

Returns true if the end of the scanned set is reached.

◆ operator int()

concepts::Scan< concepts::Element< concepts::Real > >::operator int ( )
inlineinherited

Returns true as long as the end of the scanned set is not reached yet.

Definition at line 34 of file scannerConnectors.hh.

◆ operator++()

template<class F = concepts::Real>
Haar3d000<F>& aglowav::BiHaar3dDFSScan< F >::operator++ ( int  )
virtual

Next element.

Implements aglowav::Haar3dDFSScan< concepts::Real >.

Member Data Documentation

◆ ht_

template<class F = concepts::Real>
uint aglowav::BiHaar3dDFSScan< F >::ht_
private

Height of the stack.

Definition at line 99 of file space.hh.

◆ sptr_

template<class F = concepts::Real>
Haar3d000<F>** aglowav::BiHaar3dDFSScan< F >::sptr_
private

Stack pointer.

Definition at line 103 of file space.hh.

◆ stk_

template<class F = concepts::Real>
Haar3d000<F>** aglowav::BiHaar3dDFSScan< F >::stk_
private

Begin of the stack.

Definition at line 101 of file space.hh.


The documentation for this class was generated from the following file:
Page URL: http://wiki.math.ethz.ch/bin/view/Concepts/WebHome
21 August 2020
© 2020 Eidgenössische Technische Hochschule Zürich