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

Bodon::CandidateGeneratorPrune< P, DF_D, TRIE, TRIE_ALLOCATOR, NEE > Class Template Reference

#include <CandidateGeneratorPrune.hpp>

List of all members.

Public Member Functions

 CandidateGeneratorPrune (TRIE &main_trie, DF_D &df_decoder, TRIE_ALLOCATOR &s_alloc)
void generateCandidate (unsigned int candidate_size)
 Generates candidates.
void afterWorkCandGen ()

Protected Member Functions

void generateCandidateFindParent (TRIE *trie, std::vector< item_t > &maybe_candidate, unsigned int step_to_freq_par)
 Generates candidate of size more than two.
void generateCandidateFindParentNEE (TRIE *trie, std::vector< item_t > &maybe_candidate, std::vector< item_t > &NEEsum, unsigned int step_to_freq_par)

Protected Attributes

unsigned int nr_of_new_candidates
unsigned int nr_of_all_candidates


Detailed Description

template<class P, class DF_D, class TRIE, class TRIE_ALLOCATOR = NewWrapperAlloc<TRIE>, NEELevel NEE = NEE_Full>
class Bodon::CandidateGeneratorPrune< P, DF_D, TRIE, TRIE_ALLOCATOR, NEE >

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


Constructor & Destructor Documentation

template<class P, class DF_D, class TRIE, class TRIE_ALLOCATOR = NewWrapperAlloc<TRIE>, NEELevel NEE = NEE_Full>
Bodon::CandidateGeneratorPrune< P, DF_D, TRIE, TRIE_ALLOCATOR, NEE >::CandidateGeneratorPrune TRIE &  main_trie,
DF_D &  df_decoder,
TRIE_ALLOCATOR &  s_alloc
[inline]
 

Definition at line 25 of file trie/trie_manipulators/CandidateGeneratorPrune.hpp.


Member Function Documentation

template<class P, class DF_D, class TRIE, class TRIE_ALLOCATOR, NEELevel NEE>
void Bodon::CandidateGeneratorPrune< P, DF_D, TRIE, TRIE_ALLOCATOR, NEE >::afterWorkCandGen  ) 
 

Definition at line 77 of file trie/trie_manipulators/CandidateGeneratorPrune.hpp.

References Bodon::CandidateGeneratorPrune< P, DF_D, TRIE, TRIE_ALLOCATOR, NEE >::nr_of_all_candidates.

template<class P, class DF_D, class TRIE, class TRIE_ALLOCATOR, NEELevel NEE>
void Bodon::CandidateGeneratorPrune< P, DF_D, TRIE, TRIE_ALLOCATOR, NEE >::generateCandidate unsigned int  candidate_size  ) 
 

Generates candidates.

Generates candidates and writes frequent itemset that are obtained in the previous iteration to disk.

Definition at line 54 of file trie/trie_manipulators/CandidateGeneratorPrune.hpp.

References Bodon::CandidateGeneratorPrune< P, DF_D, TRIE, TRIE_ALLOCATOR, NEE >::generateCandidateFindParent(), Bodon::CandidateGeneratorPrune< P, DF_D, TRIE, TRIE_ALLOCATOR, NEE >::generateCandidateFindParentNEE(), NEE_Off, Bodon::CandidateGeneratorPrune< P, DF_D, TRIE, TRIE_ALLOCATOR, NEE >::nr_of_all_candidates, and Bodon::CandidateGeneratorPrune< P, DF_D, TRIE, TRIE_ALLOCATOR, NEE >::nr_of_new_candidates.

template<class P, class DF_D, class TRIE, class TRIE_ALLOCATOR, NEELevel NEE>
void Bodon::CandidateGeneratorPrune< P, DF_D, TRIE, TRIE_ALLOCATOR, NEE >::generateCandidateFindParent TRIE *  trie,
std::vector< item_t > &  maybe_candidate,
unsigned int  step_to_freq_par
[protected]
 

Generates candidate of size more than two.

Definition at line 85 of file trie/trie_manipulators/CandidateGeneratorPrune.hpp.

References Bodon::CandidateGeneratorPrune< P, DF_D, TRIE, TRIE_ALLOCATOR, NEE >::nr_of_new_candidates.

Referenced by Bodon::CandidateGeneratorPrune< P, DF_D, TRIE, TRIE_ALLOCATOR, NEE >::generateCandidate().

template<class P, class DF_D, class TRIE, class TRIE_ALLOCATOR, NEELevel NEE>
void Bodon::CandidateGeneratorPrune< P, DF_D, TRIE, TRIE_ALLOCATOR, NEE >::generateCandidateFindParentNEE TRIE *  trie,
std::vector< item_t > &  maybe_candidate,
std::vector< item_t > &  NEEsum,
unsigned int  step_to_freq_par
[protected]
 

Definition at line 124 of file trie/trie_manipulators/CandidateGeneratorPrune.hpp.

References Bodon::CandidateGeneratorPrune< P, DF_D, TRIE, TRIE_ALLOCATOR, NEE >::nr_of_new_candidates.

Referenced by Bodon::CandidateGeneratorPrune< P, DF_D, TRIE, TRIE_ALLOCATOR, NEE >::generateCandidate().


Member Data Documentation

template<class P, class DF_D, class TRIE, class TRIE_ALLOCATOR = NewWrapperAlloc<TRIE>, NEELevel NEE = NEE_Full>
unsigned int Bodon::CandidateGeneratorPrune< P, DF_D, TRIE, TRIE_ALLOCATOR, NEE >::nr_of_all_candidates [protected]
 

Definition at line 23 of file trie/trie_manipulators/CandidateGeneratorPrune.hpp.

Referenced by Bodon::CandidateGeneratorPrune< P, DF_D, TRIE, TRIE_ALLOCATOR, NEE >::afterWorkCandGen(), and Bodon::CandidateGeneratorPrune< P, DF_D, TRIE, TRIE_ALLOCATOR, NEE >::generateCandidate().

template<class P, class DF_D, class TRIE, class TRIE_ALLOCATOR = NewWrapperAlloc<TRIE>, NEELevel NEE = NEE_Full>
unsigned int Bodon::CandidateGeneratorPrune< P, DF_D, TRIE, TRIE_ALLOCATOR, NEE >::nr_of_new_candidates [protected]
 

Definition at line 22 of file trie/trie_manipulators/CandidateGeneratorPrune.hpp.

Referenced by Bodon::CandidateGeneratorPrune< P, DF_D, TRIE, TRIE_ALLOCATOR, NEE >::generateCandidate(), Bodon::CandidateGeneratorPrune< P, DF_D, TRIE, TRIE_ALLOCATOR, NEE >::generateCandidateFindParent(), and Bodon::CandidateGeneratorPrune< P, DF_D, TRIE, TRIE_ALLOCATOR, NEE >::generateCandidateFindParentNEE().


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