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

Bodon::dynamic_trie::SimplePruner< DF_D, TRIE_OEL, TRIE_OI, LEAF, LEAF_ALLOCATOR, NEE > Class Template Reference

#include <SimplePruner.hpp>

Inheritance diagram for Bodon::dynamic_trie::SimplePruner< DF_D, TRIE_OEL, TRIE_OI, LEAF, LEAF_ALLOCATOR, NEE >:

Inheritance graph
[legend]
Collaboration diagram for Bodon::dynamic_trie::SimplePruner< DF_D, TRIE_OEL, TRIE_OI, LEAF, LEAF_ALLOCATOR, NEE >:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 SimplePruner (TRIE_OEL &main_trie, DF_D &df_decoder, LEAF_ALLOCATOR &s_alloc)
 ManipulatorBase (TRIE_OEL &main_trie, DF_D &df_decoder, LEAF_ALLOCATOR &s_alloc)
 ManipulatorBase (TRIE_OEL &main_trie, DF_D &df_decoder)
bool isThereAnyCandidate () const

Protected Types

typedef Bodon::inhomogeneous_trie::ManipulatorBase<
DF_D, TRIE_OEL, LEAF_ALLOCATOR > 
PARENT

Protected Member Functions

template<class TRIE>
const void * isIncluded (const TRIE *trie, const std::vector< item_t > &an_itemset, std::vector< item_t >::const_iterator item_it) const
template<class TRIE>
int helper_func (const TRIE *trie, const item_t new_item) const
int isAllSubsetFrequent (std::vector< item_t > &maybe_candidate, const item_t new_item) const
 Decides if all substd::set of an itemstd::set is contained in the SimplePruner.
template<class TRIE>
void generateCandidateAtParent (TRIE *trie, std::vector< item_t > &maybe_candidate)
template<class TRIE>
void generateCandidateAtParentNEE (TRIE *trie, std::vector< item_t > &maybe_candidate)

Protected Attributes

std::vector< Edgeextenders
std::vector< item_tleaf_neelist
std::vector< Edgereplace_list
unsigned int nr_of_new_candidates
unsigned int nr_of_nonprefix_equiitem
LEAF_ALLOCATOR & s_alloc
TRIE_OEL & main_trie
 Trie to store the candidates.
DF_D & df_decoder
 The depth-first decoder.

Detailed Description

template<class DF_D, class TRIE_OEL, class TRIE_OI, class LEAF, class LEAF_ALLOCATOR, NEELevel NEE>
class Bodon::dynamic_trie::SimplePruner< DF_D, TRIE_OEL, TRIE_OI, LEAF, LEAF_ALLOCATOR, NEE >

Definition at line 18 of file dynamic_trie/trie_manipulators/SimplePruner.hpp.


Member Typedef Documentation

template<class DF_D, class TRIE_OEL, class TRIE_OI, class LEAF, class LEAF_ALLOCATOR, NEELevel NEE>
typedef Bodon::inhomogeneous_trie:: ManipulatorBase<DF_D, TRIE_OEL, LEAF_ALLOCATOR> Bodon::dynamic_trie::SimplePruner< DF_D, TRIE_OEL, TRIE_OI, LEAF, LEAF_ALLOCATOR, NEE >::PARENT [protected]
 

Definition at line 27 of file dynamic_trie/trie_manipulators/SimplePruner.hpp.


Constructor & Destructor Documentation

template<class DF_D, class TRIE_OEL, class TRIE_OI, class LEAF, class LEAF_ALLOCATOR, NEELevel NEE>
Bodon::dynamic_trie::SimplePruner< DF_D, TRIE_OEL, TRIE_OI, LEAF, LEAF_ALLOCATOR, NEE >::SimplePruner TRIE_OEL &  main_trie,
DF_D &  df_decoder,
LEAF_ALLOCATOR &  s_alloc
[inline]
 

Definition at line 30 of file dynamic_trie/trie_manipulators/SimplePruner.hpp.


Member Function Documentation

template<class DF_D, class TRIE_OEL, class TRIE_OI, class LEAF, class LEAF_ALLOCATOR, NEELevel NEE>
template<class TRIE>
void Bodon::dynamic_trie::SimplePruner< DF_D, TRIE_OEL, TRIE_OI, LEAF, LEAF_ALLOCATOR, NEE >::generateCandidateAtParent TRIE *  trie,
std::vector< item_t > &  maybe_candidate
[inline, protected]
 

Definition at line 178 of file dynamic_trie/trie_manipulators/SimplePruner.hpp.

References Bodon::ManipulatorBase< DF_D, TRIE_OEL >::df_decoder, Bodon::dynamic_trie::SimplePruner< DF_D, TRIE_OEL, TRIE_OI, LEAF, LEAF_ALLOCATOR, NEE >::extenders, Bodon::dynamic_trie::SimplePruner< DF_D, TRIE_OEL, TRIE_OI, LEAF, LEAF_ALLOCATOR, NEE >::isAllSubsetFrequent(), Bodon::dynamic_trie::SimplePruner< DF_D, TRIE_OEL, TRIE_OI, LEAF, LEAF_ALLOCATOR, NEE >::nr_of_new_candidates, Bodon::dynamic_trie::SimplePruner< DF_D, TRIE_OEL, TRIE_OI, LEAF, LEAF_ALLOCATOR, NEE >::replace_list, Bodon::inhomogeneous_trie::ManipulatorBase< DF_D, TRIE_OEL, LEAF_ALLOCATOR >::s_alloc, and TWO_POW31.

template<class DF_D, class TRIE_OEL, class TRIE_OI, class LEAF, class LEAF_ALLOCATOR, NEELevel NEE>
template<class TRIE>
void Bodon::dynamic_trie::SimplePruner< DF_D, TRIE_OEL, TRIE_OI, LEAF, LEAF_ALLOCATOR, NEE >::generateCandidateAtParentNEE TRIE *  trie,
std::vector< item_t > &  maybe_candidate
[inline, protected]
 

Definition at line 232 of file dynamic_trie/trie_manipulators/SimplePruner.hpp.

References Bodon::ManipulatorBase< DF_D, TRIE_OEL >::df_decoder, Bodon::dynamic_trie::SimplePruner< DF_D, TRIE_OEL, TRIE_OI, LEAF, LEAF_ALLOCATOR, NEE >::extenders, Bodon::dynamic_trie::SimplePruner< DF_D, TRIE_OEL, TRIE_OI, LEAF, LEAF_ALLOCATOR, NEE >::isAllSubsetFrequent(), Bodon::dynamic_trie::SimplePruner< DF_D, TRIE_OEL, TRIE_OI, LEAF, LEAF_ALLOCATOR, NEE >::leaf_neelist, NEE_Full, NEE_Level1, Bodon::dynamic_trie::SimplePruner< DF_D, TRIE_OEL, TRIE_OI, LEAF, LEAF_ALLOCATOR, NEE >::nr_of_new_candidates, Bodon::dynamic_trie::SimplePruner< DF_D, TRIE_OEL, TRIE_OI, LEAF, LEAF_ALLOCATOR, NEE >::nr_of_nonprefix_equiitem, Bodon::dynamic_trie::SimplePruner< DF_D, TRIE_OEL, TRIE_OI, LEAF, LEAF_ALLOCATOR, NEE >::replace_list, Bodon::inhomogeneous_trie::ManipulatorBase< DF_D, TRIE_OEL, LEAF_ALLOCATOR >::s_alloc, and TWO_POW31.

template<class DF_D, class TRIE_OEL, class TRIE_OI, class LEAF, class LEAF_ALLOCATOR, NEELevel NEE>
template<class TRIE>
int Bodon::dynamic_trie::SimplePruner< DF_D, TRIE_OEL, TRIE_OI, LEAF, LEAF_ALLOCATOR, NEE >::helper_func const TRIE *  trie,
const item_t  new_item
const [inline, protected]
 

Definition at line 84 of file dynamic_trie/trie_manipulators/SimplePruner.hpp.

References NEE_Level1, and NEE_Off.

Referenced by Bodon::dynamic_trie::SimplePruner< DF_D, TRIE_OEL, TRIE_OI, LEAF, LEAF_ALLOCATOR, NEE >::isAllSubsetFrequent().

template<class DF_D, class TRIE_OEL, class TRIE_OI, class LEAF, class LEAF_ALLOCATOR, NEELevel NEE>
int Bodon::dynamic_trie::SimplePruner< DF_D, TRIE_OEL, TRIE_OI, LEAF, LEAF_ALLOCATOR, NEE >::isAllSubsetFrequent std::vector< item_t > &  maybe_candidate,
const item_t  new_item
const [inline, protected]
 

Decides if all substd::set of an itemstd::set is contained in the SimplePruner.

Definition at line 104 of file dynamic_trie/trie_manipulators/SimplePruner.hpp.

References Bodon::dynamic_trie::SimplePruner< DF_D, TRIE_OEL, TRIE_OI, LEAF, LEAF_ALLOCATOR, NEE >::helper_func(), Bodon::dynamic_trie::SimplePruner< DF_D, TRIE_OEL, TRIE_OI, LEAF, LEAF_ALLOCATOR, NEE >::isIncluded(), and TWO_POW31.

Referenced by Bodon::dynamic_trie::SimplePruner< DF_D, TRIE_OEL, TRIE_OI, LEAF, LEAF_ALLOCATOR, NEE >::generateCandidateAtParent(), and Bodon::dynamic_trie::SimplePruner< DF_D, TRIE_OEL, TRIE_OI, LEAF, LEAF_ALLOCATOR, NEE >::generateCandidateAtParentNEE().

template<class DF_D, class TRIE_OEL, class TRIE_OI, class LEAF, class LEAF_ALLOCATOR, NEELevel NEE>
template<class TRIE>
const void * Bodon::dynamic_trie::SimplePruner< DF_D, TRIE_OEL, TRIE_OI, LEAF, LEAF_ALLOCATOR, NEE >::isIncluded const TRIE *  trie,
const std::vector< item_t > &  an_itemset,
std::vector< item_t >::const_iterator  item_it
const [protected]
 

Definition at line 56 of file dynamic_trie/trie_manipulators/SimplePruner.hpp.

References NEE_Level1, and TWO_POW31.

Referenced by Bodon::dynamic_trie::SimplePruner< DF_D, TRIE_OEL, TRIE_OI, LEAF, LEAF_ALLOCATOR, NEE >::isAllSubsetFrequent().

bool Bodon::ManipulatorBase< DF_D , TRIE_OEL >::isThereAnyCandidate  )  const [inline, inherited]
 

Definition at line 27 of file trie/trie_manipulators/ManipulatorBase.hpp.

References Bodon::ManipulatorBase< DF_D, TRIE >::main_trie.

Bodon::ManipulatorBase< DF_D , TRIE_OEL >::ManipulatorBase TRIE_OEL &  main_trie,
DF_D &  df_decoder
[inline, inherited]
 

Definition at line 24 of file trie/trie_manipulators/ManipulatorBase.hpp.

Bodon::inhomogeneous_trie::ManipulatorBase< DF_D , TRIE_OEL , LEAF_ALLOCATOR >::ManipulatorBase TRIE_OEL &  main_trie,
DF_D &  df_decoder,
LEAF_ALLOCATOR &  s_alloc
[inline, inherited]
 

Definition at line 16 of file inhomogeneous_trie/trie_manipulators/ManipulatorBase.hpp.


Member Data Documentation

DF_D & Bodon::ManipulatorBase< DF_D , TRIE_OEL >::df_decoder [protected, inherited]
 

The depth-first decoder.

Definition at line 21 of file trie/trie_manipulators/ManipulatorBase.hpp.

Referenced by Bodon::dynamic_trie::InfreqRemover< DF_D, TRIE_OEL, TRIE_OI, LEAF, LEAF_ALLOCATOR, NEE >::delete_infrequent_subtrieNEE(), Bodon::dynamic_trie::InfreqRemover< DF_D, TRIE_OEL, TRIE_OI, LEAF, LEAF_ALLOCATOR, NEE >::deleteInfrequent(), Bodon::dynamic_trie::SimplePruner< DF_D, TRIE_OEL, TRIE_OI, LEAF, LEAF_ALLOCATOR, NEE >::generateCandidateAtParent(), Bodon::dynamic_trie::IntersectProPruner< DF_D, TRIE_OEL, TRIE_OI, LEAF, LEAF_ALLOCATOR, NEE >::generateCandidateAtParent(), Bodon::dynamic_trie::SimplePruner< DF_D, TRIE_OEL, TRIE_OI, LEAF, LEAF_ALLOCATOR, NEE >::generateCandidateAtParentNEE(), Bodon::dynamic_trie::IntersectProPruner< DF_D, TRIE_OEL, TRIE_OI, LEAF, LEAF_ALLOCATOR, NEE >::generateCandidateAtParentNEE(), Bodon::dynamic_trie::FrequentItemInserter< DF_D, TRIE_OEL, NEE >::insertFrequentItems(), Bodon::dynamic_trie::FrequentPairInserterNoprune< DF_D, TRIE_OEL, TRIE_OI, LEAF, LEAF_ALLOCATOR, NEE >::insertFrequentPairsNEE(), Bodon::dynamic_trie::FrequentPairInserter< DF_D, TRIE_OEL, TRIE_OI, LEAF, LEAF_ALLOCATOR, NEE >::insertFrequentPairsNEE(), and Bodon::dynamic_trie::FrequentPairInserterNoprune< DF_D, TRIE_OEL, TRIE_OI, LEAF, LEAF_ALLOCATOR, NEE >::insertFrequentPairsNONEE().

template<class DF_D, class TRIE_OEL, class TRIE_OI, class LEAF, class LEAF_ALLOCATOR, NEELevel NEE>
std::vector<Edge> Bodon::dynamic_trie::SimplePruner< DF_D, TRIE_OEL, TRIE_OI, LEAF, LEAF_ALLOCATOR, NEE >::extenders [protected]
 

Definition at line 21 of file dynamic_trie/trie_manipulators/SimplePruner.hpp.

Referenced by Bodon::dynamic_trie::SimplePruner< DF_D, TRIE_OEL, TRIE_OI, LEAF, LEAF_ALLOCATOR, NEE >::generateCandidateAtParent(), and Bodon::dynamic_trie::SimplePruner< DF_D, TRIE_OEL, TRIE_OI, LEAF, LEAF_ALLOCATOR, NEE >::generateCandidateAtParentNEE().

template<class DF_D, class TRIE_OEL, class TRIE_OI, class LEAF, class LEAF_ALLOCATOR, NEELevel NEE>
std::vector<item_t> Bodon::dynamic_trie::SimplePruner< DF_D, TRIE_OEL, TRIE_OI, LEAF, LEAF_ALLOCATOR, NEE >::leaf_neelist [protected]
 

Definition at line 22 of file dynamic_trie/trie_manipulators/SimplePruner.hpp.

Referenced by Bodon::dynamic_trie::SimplePruner< DF_D, TRIE_OEL, TRIE_OI, LEAF, LEAF_ALLOCATOR, NEE >::generateCandidateAtParentNEE().

TRIE_OEL & Bodon::ManipulatorBase< DF_D , TRIE_OEL >::main_trie [protected, inherited]
 

Trie to store the candidates.

Definition at line 19 of file trie/trie_manipulators/ManipulatorBase.hpp.

Referenced by Bodon::dynamic_trie::InfreqRemover< DF_D, TRIE_OEL, TRIE_OI, LEAF, LEAF_ALLOCATOR, NEE >::deleteInfrequent(), Bodon::dynamic_trie::FrequentItemInserter< DF_D, TRIE_OEL, NEE >::insertFrequentItems(), Bodon::dynamic_trie::FrequentPairInserterNoprune< DF_D, TRIE_OEL, TRIE_OI, LEAF, LEAF_ALLOCATOR, NEE >::insertFrequentPairsNEE(), Bodon::dynamic_trie::FrequentPairInserter< DF_D, TRIE_OEL, TRIE_OI, LEAF, LEAF_ALLOCATOR, NEE >::insertFrequentPairsNEE(), Bodon::dynamic_trie::FrequentPairInserterNoprune< DF_D, TRIE_OEL, TRIE_OI, LEAF, LEAF_ALLOCATOR, NEE >::insertFrequentPairsNONEE(), Bodon::dynamic_trie::FrequentPairInserter< DF_D, TRIE_OEL, TRIE_OI, LEAF, LEAF_ALLOCATOR, NEE >::insertFrequentPairsNONEE(), and Bodon::dynamic_trie::FrequentItemInserter< DF_D, TRIE_OEL, NEE >::setEmptysetSupport().

template<class DF_D, class TRIE_OEL, class TRIE_OI, class LEAF, class LEAF_ALLOCATOR, NEELevel NEE>
unsigned int Bodon::dynamic_trie::SimplePruner< DF_D, TRIE_OEL, TRIE_OI, LEAF, LEAF_ALLOCATOR, NEE >::nr_of_new_candidates [protected]
 

Definition at line 24 of file dynamic_trie/trie_manipulators/SimplePruner.hpp.

Referenced by Bodon::dynamic_trie::SimplePruner< DF_D, TRIE_OEL, TRIE_OI, LEAF, LEAF_ALLOCATOR, NEE >::generateCandidateAtParent(), and Bodon::dynamic_trie::SimplePruner< DF_D, TRIE_OEL, TRIE_OI, LEAF, LEAF_ALLOCATOR, NEE >::generateCandidateAtParentNEE().

template<class DF_D, class TRIE_OEL, class TRIE_OI, class LEAF, class LEAF_ALLOCATOR, NEELevel NEE>
unsigned int Bodon::dynamic_trie::SimplePruner< DF_D, TRIE_OEL, TRIE_OI, LEAF, LEAF_ALLOCATOR, NEE >::nr_of_nonprefix_equiitem [protected]
 

Definition at line 25 of file dynamic_trie/trie_manipulators/SimplePruner.hpp.

Referenced by Bodon::dynamic_trie::SimplePruner< DF_D, TRIE_OEL, TRIE_OI, LEAF, LEAF_ALLOCATOR, NEE >::generateCandidateAtParentNEE().

template<class DF_D, class TRIE_OEL, class TRIE_OI, class LEAF, class LEAF_ALLOCATOR, NEELevel NEE>
std::vector<Edge> Bodon::dynamic_trie::SimplePruner< DF_D, TRIE_OEL, TRIE_OI, LEAF, LEAF_ALLOCATOR, NEE >::replace_list [protected]
 

Definition at line 23 of file dynamic_trie/trie_manipulators/SimplePruner.hpp.

Referenced by Bodon::dynamic_trie::SimplePruner< DF_D, TRIE_OEL, TRIE_OI, LEAF, LEAF_ALLOCATOR, NEE >::generateCandidateAtParent(), and Bodon::dynamic_trie::SimplePruner< DF_D, TRIE_OEL, TRIE_OI, LEAF, LEAF_ALLOCATOR, NEE >::generateCandidateAtParentNEE().

LEAF_ALLOCATOR & Bodon::inhomogeneous_trie::ManipulatorBase< DF_D , TRIE_OEL , LEAF_ALLOCATOR >::s_alloc [protected, inherited]
 

Definition at line 14 of file inhomogeneous_trie/trie_manipulators/ManipulatorBase.hpp.

Referenced by Bodon::dynamic_trie::InfreqRemover< DF_D, TRIE_OEL, TRIE_OI, LEAF, LEAF_ALLOCATOR, NEE >::delete_infrequent_subtrie(), Bodon::dynamic_trie::InfreqRemover< DF_D, TRIE_OEL, TRIE_OI, LEAF, LEAF_ALLOCATOR, NEE >::delete_infrequent_subtrieNEE(), Bodon::dynamic_trie::SimplePruner< DF_D, TRIE_OEL, TRIE_OI, LEAF, LEAF_ALLOCATOR, NEE >::generateCandidateAtParent(), Bodon::dynamic_trie::IntersectProPruner< DF_D, TRIE_OEL, TRIE_OI, LEAF, LEAF_ALLOCATOR, NEE >::generateCandidateAtParent(), Bodon::dynamic_trie::SimplePruner< DF_D, TRIE_OEL, TRIE_OI, LEAF, LEAF_ALLOCATOR, NEE >::generateCandidateAtParentNEE(), Bodon::dynamic_trie::IntersectProPruner< DF_D, TRIE_OEL, TRIE_OI, LEAF, LEAF_ALLOCATOR, NEE >::generateCandidateAtParentNEE(), Bodon::dynamic_trie::FrequentPairInserterNoprune< DF_D, TRIE_OEL, TRIE_OI, LEAF, LEAF_ALLOCATOR, NEE >::insertFrequentPairsNEE(), Bodon::dynamic_trie::FrequentPairInserter< DF_D, TRIE_OEL, TRIE_OI, LEAF, LEAF_ALLOCATOR, NEE >::insertFrequentPairsNEE(), Bodon::dynamic_trie::FrequentPairInserterNoprune< DF_D, TRIE_OEL, TRIE_OI, LEAF, LEAF_ALLOCATOR, NEE >::insertFrequentPairsNONEE(), and Bodon::dynamic_trie::FrequentPairInserter< DF_D, TRIE_OEL, TRIE_OI, LEAF, LEAF_ALLOCATOR, NEE >::insertFrequentPairsNONEE().


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