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

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

#include <CandidateGeneratorPrune.hpp>

List of all members.

Public Member Functions

 CandidateGeneratorPrune (TRIE &main_trie, DF_D &df_decoder)
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 removeNonCandPaths (TRIE *trie, unsigned int step_to_freq)

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 Bodon::sequence::CandidateGeneratorPrune< P, DF_D, TRIE >

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


Constructor & Destructor Documentation

template<class P, class DF_D, class TRIE>
Bodon::sequence::CandidateGeneratorPrune< P, DF_D, TRIE >::CandidateGeneratorPrune TRIE &  main_trie,
DF_D &  df_decoder
[inline]
 

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


Member Function Documentation

template<class P, class DF_D, class TRIE>
void Bodon::sequence::CandidateGeneratorPrune< P, DF_D, TRIE >::afterWorkCandGen  ) 
 

Definition at line 67 of file trie/trie_manipulators/sequence/CandidateGeneratorPrune.hpp.

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

template<class P, class DF_D, class TRIE>
void Bodon::sequence::CandidateGeneratorPrune< P, DF_D, TRIE >::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 50 of file trie/trie_manipulators/sequence/CandidateGeneratorPrune.hpp.

References Bodon::sequence::CandidateGeneratorPrune< P, DF_D, TRIE >::generateCandidateFindParent(), Bodon::sequence::CandidateGeneratorPrune< P, DF_D, TRIE >::nr_of_all_candidates, Bodon::sequence::CandidateGeneratorPrune< P, DF_D, TRIE >::nr_of_new_candidates, and Bodon::sequence::CandidateGeneratorPrune< P, DF_D, TRIE >::removeNonCandPaths().

template<class P, class DF_D, class TRIE>
void Bodon::sequence::CandidateGeneratorPrune< P, DF_D, TRIE >::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 75 of file trie/trie_manipulators/sequence/CandidateGeneratorPrune.hpp.

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

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

template<class P, class DF_D, class TRIE>
void Bodon::sequence::CandidateGeneratorPrune< P, DF_D, TRIE >::removeNonCandPaths TRIE *  trie,
unsigned int  step_to_freq
[protected]
 

Definition at line 109 of file trie/trie_manipulators/sequence/CandidateGeneratorPrune.hpp.

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


Member Data Documentation

template<class P, class DF_D, class TRIE>
unsigned int Bodon::sequence::CandidateGeneratorPrune< P, DF_D, TRIE >::nr_of_all_candidates [protected]
 

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

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

template<class P, class DF_D, class TRIE>
unsigned int Bodon::sequence::CandidateGeneratorPrune< P, DF_D, TRIE >::nr_of_new_candidates [protected]
 

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

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


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