#include <SimplePruner.hpp>
Inheritance diagram for Bodon::dynamic_trie::SimplePruner< DF_D, TRIE_OEL, TRIE_OI, LEAF, LEAF_ALLOCATOR, NEE >:
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< Edge > | extenders |
std::vector< item_t > | leaf_neelist |
std::vector< Edge > | replace_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. |
Definition at line 18 of file dynamic_trie/trie_manipulators/SimplePruner.hpp.
|
Definition at line 27 of file dynamic_trie/trie_manipulators/SimplePruner.hpp. |
|
Definition at line 30 of file dynamic_trie/trie_manipulators/SimplePruner.hpp. |
|
|
|
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(). |
|
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(). |
|
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(). |
|
Definition at line 27 of file trie/trie_manipulators/ManipulatorBase.hpp. References Bodon::ManipulatorBase< DF_D, TRIE >::main_trie. |
|
Definition at line 24 of file trie/trie_manipulators/ManipulatorBase.hpp. |
|
Definition at line 16 of file inhomogeneous_trie/trie_manipulators/ManipulatorBase.hpp. |
|
|
|
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(). |
|
|
|
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(). |
|
|