ROOT logo
TreeSearch » TREESEARCH » TreeSearch::NodeDescriptor

class TreeSearch::NodeDescriptor


TreeSearch::Node


Function Members (Methods)

Data Members

public:
UChar_tdepthCurrent recursion depth
TreeSearch::Link*linkLinked-list node pointing to a base pattern
Bool_tmirroredPattern is mirrored
TreeSearch::Pattern*parentParent node
UShort_tshiftShift of the base pattern to its actual position

Class Charts

Inheritance Inherited Members Includes Libraries
Class Charts

Function documentation

void Print() const
 Print bit contents of the pattern of this NodeDescriptor
NodeDescriptor(TreeSearch::Link* ln, TreeSearch::Pattern* p, UShort_t shft, Bool_t mir, UChar_t dep)
{ assert(ln && ln->GetPattern()); }
NodeDescriptor()
{}
~NodeDescriptor()
{}
UShort_t Start() const
{ return shift; }
UShort_t End() const
{ return (*this)[link->GetPattern()->GetNbits()-1];}
UShort_t operator[](UInt_t i) const
 operator[] returns actual bit value in the i-th plane
bool operator<(const TreeSearch::NodeDescriptor& rhs) const
 Comparison operators
bool operator<=(const TreeSearch::NodeDescriptor& rhs) const
bool operator>(const TreeSearch::NodeDescriptor& rhs) const
bool operator>=(const TreeSearch::NodeDescriptor& rhs) const
bool operator==(const TreeSearch::NodeDescriptor& rhs) const
bool operator!=(const TreeSearch::NodeDescriptor& rhs) const