27 template<
class F = concepts::Real>
41 template<
class F = concepts::Real>
47 virtual void skip(uint lvl) = 0;
55 template<
class F = concepts::Real>
62 virtual uint
nlvl()
const = 0;
75 template<
class F = concepts::Real>
95 inline bool eos()
const {
return sptr_[0] ? 0 : 1;}
112 template<
class F = concepts::Real>
132 inline bool eos()
const {
return sptr_[0] ? 0 : 1;}
151 template<
class F = concepts::Real>
160 inline uint
dim()
const {
return dim_;}
162 inline uint
nelm()
const {
return nelm_;}
164 inline uint
nlvl()
const {
return nlvl_;}
174 std::ostream&
info(std::ostream& os)
const;
211 os <<
"aglowav::" <<
concepts::typeOf(*
this)<<
"(dim = " << dim_ <<
", nlevel = " << nlvl_;
212 return os <<
", nElement = " << nelm_ <<
')';
BiHaar3dBFSScan(Haar3d000< F > *elm, uint ht)
~BiHaar3dBFSScan()
Destructor.
Haar3d000< F > & operator++(int)
Next element.
bool eos() const
End of scan.
void skip(uint lvl)
Skips the levels l > lvl of the subtree.
BiHaar3dBFSScan(const BiHaar3dBFSScan< F > &sc)
Copy constructor.
BiHaar3dBFSScan * clone() const
New scanner.
BiHaar3dDFSScan(const BiHaar3dDFSScan< F > &sc)
Copy constructor.
Haar3d000< F > & operator++(int)
Next element.
~BiHaar3dDFSScan()
Destructor.
bool eos() const
End of scan.
BiHaar3dDFSScan< F > * clone() const
New scanner.
BiHaar3dDFSScan(Haar3d000< F > *elm, uint ht)
uint nlvl() const
Maximal number of levels.
BiHaar3dBFSScan< F > * bfsscan() const
Scanner ("breadth" first search (1. parent, 2. children))
BiHaar3dDFSScan< F > * dfsscan() const
Scanner (depth first search (1. children, 2. parent))
std::ostream & info(std::ostream &os) const
Information about the space.
BiHaar3dBFSScan< F > * scan() const
Scanner (same as bfsscan())
uint dim() const
Dimenstion of the space.
BiHaar3d(BiTree< BiClNode00< F > > &tree)
Constructor.
uint nelm() const
Number of elements.
virtual void skip(uint lvl)=0
Skips the levels of the subtree.
virtual Haar3dXXX< F > & operator++(int)=0
Next element.
virtual Haar3dXXX< F > & operator++(int)=0
Next element.
virtual Haar3dBFSScan< F > * bfsscan() const =0
Scanner ("breadth" first search (1. parent, 2. children))
virtual Haar3dDFSScan< F > * dfsscan() const =0
Scanner (depth first search (1. children, 2. parent))
virtual uint nlvl() const =0
Maximal number of levels.
virtual ~Haar3d()
Destructor.
std::string typeOf(const T &t)