aglowav::BiHaar3dBFSScan< F > Class Template Referenceabstract

Scanner of the BiHaar3d space ("breadth" first search (bfs)) (1. More...

#include <space.hh>

Inheritance diagram for aglowav::BiHaar3dBFSScan< F >:
aglowav::Haar3dBFSScan< concepts::Real > concepts::Scan< concepts::Element< concepts::Real > >

Public Member Functions

 BiHaar3dBFSScan (const BiHaar3dBFSScan< F > &sc)
 Copy constructor. More...
 
 BiHaar3dBFSScan (Haar3d000< F > *elm, uint ht)
 Constructor. More...
 
BiHaar3dBFSScanclone () 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...
 
void skip (uint lvl)
 Skips the levels l > lvl of the subtree. More...
 
 ~BiHaar3dBFSScan ()
 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::BiHaar3dBFSScan< F >

Scanner of the BiHaar3d space ("breadth" first search (bfs)) (1.

parent, 2. children)

Parameters
FField (Real || Cmplx)

Definition at line 113 of file space.hh.

Constructor & Destructor Documentation

◆ BiHaar3dBFSScan() [1/2]

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

Constructor.

Parameters
elmRoot of the wavelet tree
htHeight of the wavelet tree

◆ BiHaar3dBFSScan() [2/2]

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

Copy constructor.

◆ ~BiHaar3dBFSScan()

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

Destructor.

Definition at line 123 of file space.hh.

Member Function Documentation

◆ clone() [1/2]

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

New scanner.

Definition at line 128 of file space.hh.

◆ clone() [2/2]

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

Returns a clone of the scanner.

◆ eos() [1/2]

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

End of scan.

Definition at line 132 of file space.hh.

◆ eos() [2/2]

virtual bool concepts::Scan< concepts::Element< concepts::Real > >::eos
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::BiHaar3dBFSScan< F >::operator++ ( int  )
virtual

Next element.

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

◆ skip()

template<class F = concepts::Real>
void aglowav::BiHaar3dBFSScan< F >::skip ( uint  lvl)
virtual

Skips the levels l > lvl of the subtree.

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

Member Data Documentation

◆ ht_

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

Height of the stack.

Definition at line 138 of file space.hh.

◆ sptr_

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

Stack pointer.

Definition at line 142 of file space.hh.

◆ stk_

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

Begin of the stack.

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