aglowav2::Haar3d0DFSScan< F > Class Template Referenceabstract

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

#include <space.hh>

Inheritance diagram for aglowav2::Haar3d0DFSScan< F >:
aglowav2::Haar3dDFSScan< concepts::Real > concepts::Scan< concepts::Element< concepts::Real > >

Public Member Functions

Haar3d0DFSScan< 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...
 
 Haar3d0DFSScan (const Haar3d0DFSScan< F > &sc)
 Copy constructor. More...
 
 Haar3d0DFSScan (Haar3d000< F > *elm, uint ht)
 Constructor. 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...
 
 ~Haar3d0DFSScan ()
 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 aglowav2::Haar3d0DFSScan< F >

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

children, 2. parent)

Parameters
FField (Real || Cmplx)

Definition at line 78 of file space.hh.

Constructor & Destructor Documentation

◆ Haar3d0DFSScan() [1/2]

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

Constructor.

Parameters
elmRoot of the wavelet tree
htHeight of the wavelet tree

◆ Haar3d0DFSScan() [2/2]

template<class F = concepts::Real>
aglowav2::Haar3d0DFSScan< F >::Haar3d0DFSScan ( const Haar3d0DFSScan< F > &  sc)

Copy constructor.

◆ ~Haar3d0DFSScan()

template<class F = concepts::Real>
aglowav2::Haar3d0DFSScan< F >::~Haar3d0DFSScan ( )
inline

Destructor.

Definition at line 88 of file space.hh.

Member Function Documentation

◆ clone() [1/2]

template<class F = concepts::Real>
Haar3d0DFSScan<F>* aglowav2::Haar3d0DFSScan< F >::clone ( ) const
inline

New scanner.

Definition at line 93 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 aglowav2::Haar3d0DFSScan< F >::eos ( ) const
inline

End of scan.

Definition at line 97 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>& aglowav2::Haar3d0DFSScan< F >::operator++ ( int  )
virtual

Next element.

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

Member Data Documentation

◆ ht_

template<class F = concepts::Real>
uint aglowav2::Haar3d0DFSScan< F >::ht_
private

Height of the stack.

Definition at line 101 of file space.hh.

◆ sptr_

template<class F = concepts::Real>
Haar3d000<F>** aglowav2::Haar3d0DFSScan< F >::sptr_
private

Stack pointer.

Definition at line 105 of file space.hh.

◆ stk_

template<class F = concepts::Real>
Haar3d000<F>** aglowav2::Haar3d0DFSScan< F >::stk_
private

Begin of the stack.

Definition at line 103 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