Main Page | Namespace List | Class Hierarchy | Class List | Directories | File List | Namespace Members | Class Members | File Members

bracz::NonOrdFPStructure< INPUT, BUILDTREE, FIRSTLEVEL >::TreeAnnotation Class Reference

This class is to keep the necessary annotations along the build fp tree so that it will be copyable into a final (nonord) fp tree. More...

List of all members.

Public Member Functions

void DINLINE initTree (item_t maxitem)
void DINLINE onNewTreeNode (item_t curritem, counter_t)
template<class BUILDTREE_>
void DINLINE buildTreeToFinalTree (BUILDTREE_ &btr, typename BUILDTREE_::buildtree_t &tree, fptree_t &fulltree, item_t maxitem)

Protected Attributes

std::vector< counter_tnodesperitem


Detailed Description

template<class INPUT, class BUILDTREE, FirstLevel FIRSTLEVEL>
class bracz::NonOrdFPStructure< INPUT, BUILDTREE, FIRSTLEVEL >::TreeAnnotation

This class is to keep the necessary annotations along the build fp tree so that it will be copyable into a final (nonord) fp tree.

This class is to be fed as callback into the fp tree build methods

Definition at line 132 of file nonordfp.cpp.


Member Function Documentation

template<class INPUT, class BUILDTREE, FirstLevel FIRSTLEVEL>
template<class BUILDTREE_>
void DINLINE bracz::NonOrdFPStructure< INPUT, BUILDTREE, FIRSTLEVEL >::TreeAnnotation::buildTreeToFinalTree BUILDTREE_ &  btr,
typename BUILDTREE_::buildtree_t &  tree,
fptree_t fulltree,
item_t  maxitem
[inline]
 

Definition at line 146 of file nonordfp.cpp.

References bracz::NonOrdFPStructure< INPUT, BUILDTREE, FIRSTLEVEL >::fptree_t::counters, bracz::NonOrdFPStructure< INPUT, BUILDTREE, FIRSTLEVEL >::fptree_t::freqs, bracz::NonOrdFPStructure< INPUT, BUILDTREE, FIRSTLEVEL >::fptree_t::itemstarts, bracz::NonOrdFPStructure< INPUT, BUILDTREE, FIRSTLEVEL >::TreeCopy::nextfreenode, bracz::NonOrdFPStructure< INPUT, BUILDTREE, FIRSTLEVEL >::TreeAnnotation::nodesperitem, bracz::NonOrdFPStructure< INPUT, BUILDTREE, FIRSTLEVEL >::fptree_t::parents, bracz::NonOrdFPStructure< INPUT, BUILDTREE, FIRSTLEVEL >::TreeCopy::reccopytree(), and bracz::NonOrdFPStructure< INPUT, BUILDTREE, FIRSTLEVEL >::TreeCopy::target.

template<class INPUT, class BUILDTREE, FirstLevel FIRSTLEVEL>
void DINLINE bracz::NonOrdFPStructure< INPUT, BUILDTREE, FIRSTLEVEL >::TreeAnnotation::initTree item_t  maxitem  )  [inline]
 

Definition at line 137 of file nonordfp.cpp.

References bracz::NonOrdFPStructure< INPUT, BUILDTREE, FIRSTLEVEL >::TreeAnnotation::nodesperitem.

template<class INPUT, class BUILDTREE, FirstLevel FIRSTLEVEL>
void DINLINE bracz::NonOrdFPStructure< INPUT, BUILDTREE, FIRSTLEVEL >::TreeAnnotation::onNewTreeNode item_t  curritem,
counter_t 
[inline]
 

Definition at line 141 of file nonordfp.cpp.

References bracz::NonOrdFPStructure< INPUT, BUILDTREE, FIRSTLEVEL >::TreeAnnotation::nodesperitem.


Member Data Documentation

template<class INPUT, class BUILDTREE, FirstLevel FIRSTLEVEL>
std::vector<counter_t> bracz::NonOrdFPStructure< INPUT, BUILDTREE, FIRSTLEVEL >::TreeAnnotation::nodesperitem [protected]
 

Definition at line 134 of file nonordfp.cpp.

Referenced by bracz::NonOrdFPStructure< INPUT, BUILDTREE, FIRSTLEVEL >::TreeAnnotation::buildTreeToFinalTree(), bracz::NonOrdFPStructure< INPUT, BUILDTREE, FIRSTLEVEL >::TreeAnnotation::initTree(), and bracz::NonOrdFPStructure< INPUT, BUILDTREE, FIRSTLEVEL >::TreeAnnotation::onNewTreeNode().


The documentation for this class was generated from the following file:
Generated on Sun Sep 17 17:57:30 2006 for FIM environment by  doxygen 1.4.4