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

Bodon::trie::CandidateGeneratorNoprune< DF_D, TRIE, NEE > Class Template Reference

#include <CandidateGeneratorNoprune.hpp>

Inheritance diagram for Bodon::trie::CandidateGeneratorNoprune< DF_D, TRIE, NEE >:

Inheritance graph
[legend]
Collaboration diagram for Bodon::trie::CandidateGeneratorNoprune< DF_D, TRIE, NEE >:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 CandidateGeneratorNoprune (TRIE &main_trie, DF_D &df_decoder)
void generateCandidate (unsigned int candidate_size)
 Generates candidates.
void afterWorkCandGen ()
bool isThereAnyCandidate () const

Protected Types

typedef ManipulatorBase< DF_D,
TRIE > 
PARENT

Protected Member Functions

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

Protected Attributes

std::vector< Edgeextenders
unsigned int nr_of_new_candidates
unsigned int nr_of_all_candidates
TRIE & main_trie
 Trie to store the candidates.
DF_D & df_decoder
 The depth-first decoder.

Detailed Description

template<class DF_D, class TRIE, bool NEE>
class Bodon::trie::CandidateGeneratorNoprune< DF_D, TRIE, NEE >

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


Member Typedef Documentation

template<class DF_D, class TRIE, bool NEE>
typedef ManipulatorBase<DF_D, TRIE> Bodon::trie::CandidateGeneratorNoprune< DF_D, TRIE, NEE >::PARENT [protected]
 

Reimplemented in Bodon::trie::CandGenInfreqRemoveNopruneMerge< DF_D, TRIE, NEE >.

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


Constructor & Destructor Documentation

template<class DF_D, class TRIE, bool NEE>
Bodon::trie::CandidateGeneratorNoprune< DF_D, TRIE, NEE >::CandidateGeneratorNoprune TRIE &  main_trie,
DF_D &  df_decoder
[inline]
 

Definition at line 30 of file trie/trie_manipulators/CandidateGeneratorNoprune.hpp.


Member Function Documentation

template<class DF_D, class TRIE, bool NEE>
void Bodon::trie::CandidateGeneratorNoprune< DF_D, TRIE, NEE >::afterWorkCandGen  ) 
 

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

References Bodon::trie::CandidateGeneratorNoprune< DF_D, TRIE, NEE >::nr_of_all_candidates.

template<class DF_D, class TRIE, bool NEE>
void Bodon::trie::CandidateGeneratorNoprune< DF_D, TRIE, NEE >::generateCandidate unsigned int  candidate_size  ) 
 

Generates candidates.

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

Reimplemented in Bodon::trie::CandGenInfreqRemoveNopruneMerge< DF_D, TRIE, NEE >.

Definition at line 66 of file trie/trie_manipulators/CandidateGeneratorNoprune.hpp.

References Bodon::trie::CandidateGeneratorNoprune< DF_D, TRIE, NEE >::generateCandidateFindParent(), Bodon::trie::CandidateGeneratorNoprune< DF_D, TRIE, NEE >::generateCandidateFindParentNEE(), Bodon::ManipulatorBase< DF_D, TRIE >::main_trie, NEE_Off, Bodon::trie::CandidateGeneratorNoprune< DF_D, TRIE, NEE >::nr_of_all_candidates, and Bodon::trie::CandidateGeneratorNoprune< DF_D, TRIE, NEE >::nr_of_new_candidates.

template<class DF_D, class TRIE, bool NEE>
void Bodon::trie::CandidateGeneratorNoprune< DF_D, TRIE, NEE >::generateCandidateAtParent TRIE *  trie  )  [inline, protected]
 

Definition at line 93 of file trie/trie_manipulators/CandidateGeneratorNoprune.hpp.

References Bodon::ManipulatorBase< DF_D, TRIE >::df_decoder, and Bodon::trie::CandidateGeneratorNoprune< DF_D, TRIE, NEE >::extenders.

Referenced by Bodon::trie::CandGenInfreqRemoveNopruneMerge< DF_D, TRIE, NEE >::delete_infrequent_subtrie(), and Bodon::trie::CandidateGeneratorNoprune< DF_D, TRIE, NEE >::generateCandidateFindParent().

template<class DF_D, class TRIE, bool NEE>
void Bodon::trie::CandidateGeneratorNoprune< DF_D, TRIE, NEE >::generateCandidateAtParentNEE TRIE *  trie,
std::vector< item_t > &  NEEsum
[inline, protected]
 

Definition at line 123 of file trie/trie_manipulators/CandidateGeneratorNoprune.hpp.

References Bodon::ManipulatorBase< DF_D, TRIE >::df_decoder, and Bodon::trie::CandidateGeneratorNoprune< DF_D, TRIE, NEE >::extenders.

Referenced by Bodon::trie::CandGenInfreqRemoveNopruneMerge< DF_D, TRIE, NEE >::delete_infrequent_subtrieNEE(), and Bodon::trie::CandidateGeneratorNoprune< DF_D, TRIE, NEE >::generateCandidateFindParentNEE().

template<class DF_D, class TRIE, bool NEE>
void Bodon::trie::CandidateGeneratorNoprune< DF_D, TRIE, NEE >::generateCandidateFindParent TRIE *  trie,
unsigned int  step_to_freq_par
[protected]
 

Generates candidate of size more than two.

Definition at line 158 of file trie/trie_manipulators/CandidateGeneratorNoprune.hpp.

References Bodon::ManipulatorBase< DF_D, TRIE >::df_decoder, Bodon::trie::CandidateGeneratorNoprune< DF_D, TRIE, NEE >::generateCandidateAtParent(), and Bodon::trie::CandidateGeneratorNoprune< DF_D, TRIE, NEE >::nr_of_new_candidates.

Referenced by Bodon::trie::CandidateGeneratorNoprune< DF_D, TRIE, NEE >::generateCandidate(), and Bodon::trie::CandGenInfreqRemoveNopruneMerge< DF_D, TRIE, NEE >::generateCandidate().

template<class DF_D, class TRIE, bool NEE>
void Bodon::trie::CandidateGeneratorNoprune< DF_D, TRIE, NEE >::generateCandidateFindParentNEE TRIE *  trie,
std::vector< item_t > &  NEEsum,
unsigned int  step_to_freq_par
[protected]
 

Definition at line 192 of file trie/trie_manipulators/CandidateGeneratorNoprune.hpp.

References Bodon::ManipulatorBase< DF_D, TRIE >::df_decoder, Bodon::trie::CandidateGeneratorNoprune< DF_D, TRIE, NEE >::generateCandidateAtParentNEE(), and Bodon::trie::CandidateGeneratorNoprune< DF_D, TRIE, NEE >::nr_of_new_candidates.

Referenced by Bodon::trie::CandidateGeneratorNoprune< DF_D, TRIE, NEE >::generateCandidate(), and Bodon::trie::CandGenInfreqRemoveNopruneMerge< DF_D, TRIE, NEE >::generateCandidate().

template<class DF_D, class TRIE>
bool Bodon::ManipulatorBase< DF_D, TRIE >::isThereAnyCandidate  )  const [inline, inherited]
 

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


Member Data Documentation

template<class DF_D, class TRIE>
DF_D& Bodon::ManipulatorBase< DF_D, TRIE >::df_decoder [protected, inherited]
 

The depth-first decoder.

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

Referenced by Bodon::sequence::CandGenInfreqRemoveNopruneMerge< DF_D, TRIE >::delete_infrequent_subtrie(), Bodon::trie::CandGenInfreqRemoveNopruneMerge< DF_D, TRIE, NEE >::delete_infrequent_subtrie(), Bodon::sequence::inhomogeneous_trie::CandGenInfreqRemoveNopruneMerge< DF_D, TRIE, LEAF, LEAF_ALLOCATOR >::delete_infrequent_subtrie(), Bodon::inhomogeneous_trie::CandGenInfreqRemoveNopruneMerge< DF_D, TRIE, LEAF, LEAF_ALLOCATOR, NEE >::delete_infrequent_subtrie(), Bodon::trie::InfreqRemover< DF_D, TRIE, TRIE_ALLOCATOR, NEE >::delete_infrequent_subtrieNEE(), Bodon::inhomogeneous_trie::InfreqRemover< DF_D, TRIE, LEAF, LEAF_ALLOCATOR, NEE, DEADENDPRUNE >::delete_infrequent_subtrieNEE(), Bodon::trie::CandGenInfreqRemoveNopruneMerge< DF_D, TRIE, NEE >::delete_infrequent_subtrieNEE(), Bodon::inhomogeneous_trie::CandGenInfreqRemoveNopruneMerge< DF_D, TRIE, LEAF, LEAF_ALLOCATOR, NEE >::delete_infrequent_subtrieNEE(), Bodon::inhomogeneous_trie::InfreqRemover< DF_D, TRIE, LEAF, LEAF_ALLOCATOR, NEE, DEADENDPRUNE >::destroyAndWriteNEE(), Bodon::trie::SimplePruner< DF_D, TRIE, TRIE_ALLOCATOR, NEE >::generateCandidateAtParent(), Bodon::sequence::SimplePruner< DF_D, TRIE >::generateCandidateAtParent(), Bodon::inhomogeneous_trie::SimplePruner< DF_D, TRIE, LEAF, LEAF_ALLOCATOR, NEE, DEADENDPRUNE >::generateCandidateAtParent(), Bodon::sequence::inhomogeneous_trie::SimplePruner< DF_D, TRIE, LEAF, LEAF_ALLOCATOR >::generateCandidateAtParent(), Bodon::sequence::IntersectProPruner< DF_D, TRIE >::generateCandidateAtParent(), Bodon::IntersectProPruner< DF_D, TRIE, NEE >::generateCandidateAtParent(), Bodon::sequence::inhomogeneous_trie::IntersectProPruner< DF_D, TRIE, LEAF, LEAF_ALLOCATOR >::generateCandidateAtParent(), Bodon::inhomogeneous_trie::IntersectProPruner< DF_D, TRIE, LEAF, LEAF_ALLOCATOR, NEE, DEADENDPRUNE >::generateCandidateAtParent(), Bodon::sequence::CandidateGeneratorNoprune< DF_D, TRIE >::generateCandidateAtParent(), Bodon::trie::CandidateGeneratorNoprune< DF_D, TRIE, NEE >::generateCandidateAtParent(), Bodon::sequence::inhomogeneous_trie::CandidateGeneratorNoprune< DF_D, TRIE, LEAF, LEAF_ALLOCATOR >::generateCandidateAtParent(), Bodon::inhomogeneous_trie::CandidateGeneratorNoprune< DF_D, TRIE, LEAF, LEAF_ALLOCATOR, NEE >::generateCandidateAtParent(), Bodon::trie::SimplePruner< DF_D, TRIE, TRIE_ALLOCATOR, NEE >::generateCandidateAtParentNEE(), Bodon::inhomogeneous_trie::SimplePruner< DF_D, TRIE, LEAF, LEAF_ALLOCATOR, NEE, DEADENDPRUNE >::generateCandidateAtParentNEE(), Bodon::IntersectProPruner< DF_D, TRIE, NEE >::generateCandidateAtParentNEE(), Bodon::inhomogeneous_trie::IntersectProPruner< DF_D, TRIE, LEAF, LEAF_ALLOCATOR, NEE, DEADENDPRUNE >::generateCandidateAtParentNEE(), Bodon::trie::CandidateGeneratorNoprune< DF_D, TRIE, NEE >::generateCandidateAtParentNEE(), Bodon::inhomogeneous_trie::CandidateGeneratorNoprune< DF_D, TRIE, LEAF, LEAF_ALLOCATOR, NEE >::generateCandidateAtParentNEE(), Bodon::sequence::CandidateGeneratorNoprune< DF_D, TRIE >::generateCandidateFindParent(), Bodon::trie::CandidateGeneratorNoprune< DF_D, TRIE, NEE >::generateCandidateFindParent(), Bodon::sequence::inhomogeneous_trie::CandidateGeneratorNoprune< DF_D, TRIE, LEAF, LEAF_ALLOCATOR >::generateCandidateFindParent(), Bodon::inhomogeneous_trie::CandidateGeneratorNoprune< DF_D, TRIE, LEAF, LEAF_ALLOCATOR, NEE >::generateCandidateFindParent(), Bodon::trie::CandidateGeneratorNoprune< DF_D, TRIE, NEE >::generateCandidateFindParentNEE(), Bodon::inhomogeneous_trie::CandidateGeneratorNoprune< DF_D, TRIE, LEAF, LEAF_ALLOCATOR, NEE >::generateCandidateFindParentNEE(), Bodon::FrequentItemInserter< DF_D, TRIE, NEE >::insertFrequentItems(), Bodon::FrequentPairInserterNoprune< DF_D, TRIE, LEAF, LEAF_ALLOCATOR, NEE >::insertFrequentPairsNEE(), Bodon::FrequentPairInserter< DF_D, TRIE, LEAF, LEAF_ALLOCATOR, NEE >::insertFrequentPairsNEE(), and Bodon::FrequentPairInserterNoprune< DF_D, TRIE, LEAF, LEAF_ALLOCATOR, NEE >::insertFrequentPairsNONEE().

template<class DF_D, class TRIE, bool NEE>
std::vector<Edge> Bodon::trie::CandidateGeneratorNoprune< DF_D, TRIE, NEE >::extenders [protected]
 

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

Referenced by Bodon::trie::CandidateGeneratorNoprune< DF_D, TRIE, NEE >::generateCandidateAtParent(), and Bodon::trie::CandidateGeneratorNoprune< DF_D, TRIE, NEE >::generateCandidateAtParentNEE().

template<class DF_D, class TRIE>
TRIE& Bodon::ManipulatorBase< DF_D, TRIE >::main_trie [protected, inherited]
 

Trie to store the candidates.

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

Referenced by Bodon::inhomogeneous_trie::InfreqRemoverOrderPresAssumption< DF_D, TRIE, LEAF, LEAF_ALLOCATOR >::calculateOrderPresRatioAssist(), Bodon::sequence::CandGenInfreqRemoveNopruneMerge< DF_D, TRIE >::deleteInfrequent(), Bodon::sequence::IntersectProPruner< DF_D, TRIE >::findSubsetTries(), Bodon::IntersectProPruner< DF_D, TRIE, NEE >::findSubsetTries(), Bodon::sequence::inhomogeneous_trie::IntersectProPruner< DF_D, TRIE, LEAF, LEAF_ALLOCATOR >::findSubsetTries(), Bodon::inhomogeneous_trie::IntersectProPruner< DF_D, TRIE, LEAF, LEAF_ALLOCATOR, NEE, DEADENDPRUNE >::findSubsetTries(), Bodon::sequence::CandidateGeneratorNoprune< DF_D, TRIE >::generateCandidate(), Bodon::trie::CandidateGeneratorNoprune< DF_D, TRIE, NEE >::generateCandidate(), Bodon::sequence::CandGenInfreqRemoveNopruneMerge< DF_D, TRIE >::generateCandidate(), Bodon::FrequentItemInserter< DF_D, TRIE, NEE >::insertFrequentItems(), Bodon::FrequentPairInserterNoprune< DF_D, TRIE, LEAF, LEAF_ALLOCATOR, NEE >::insertFrequentPairsNEE(), Bodon::FrequentPairInserter< DF_D, TRIE, LEAF, LEAF_ALLOCATOR, NEE >::insertFrequentPairsNEE(), Bodon::FrequentPairInserterNoprune< DF_D, TRIE, LEAF, LEAF_ALLOCATOR, NEE >::insertFrequentPairsNONEE(), Bodon::FrequentPairInserter< DF_D, TRIE, LEAF, LEAF_ALLOCATOR, NEE >::insertFrequentPairsNONEE(), Bodon::trie::SimplePruner< DF_D, TRIE, TRIE_ALLOCATOR, NEE >::isAllSubsetFrequent(), Bodon::sequence::SimplePruner< DF_D, TRIE >::isAllSubsetFrequent(), Bodon::inhomogeneous_trie::SimplePruner< DF_D, TRIE, LEAF, LEAF_ALLOCATOR, NEE, DEADENDPRUNE >::isAllSubsetFrequent(), Bodon::sequence::inhomogeneous_trie::SimplePruner< DF_D, TRIE, LEAF, LEAF_ALLOCATOR >::isAllSubsetFrequent(), Bodon::ManipulatorBase< DF_D, TRIE_OEL >::isThereAnyCandidate(), and Bodon::FrequentItemInserter< DF_D, TRIE, NEE >::setEmptysetSupport().

template<class DF_D, class TRIE, bool NEE>
unsigned int Bodon::trie::CandidateGeneratorNoprune< DF_D, TRIE, NEE >::nr_of_all_candidates [protected]
 

Definition at line 26 of file trie/trie_manipulators/CandidateGeneratorNoprune.hpp.

Referenced by Bodon::trie::CandidateGeneratorNoprune< DF_D, TRIE, NEE >::afterWorkCandGen(), Bodon::trie::CandGenInfreqRemoveNopruneMerge< DF_D, TRIE, NEE >::afterWorkDel(), Bodon::trie::CandGenInfreqRemoveNopruneMerge< DF_D, TRIE, NEE >::deleteInfrequent(), Bodon::trie::CandidateGeneratorNoprune< DF_D, TRIE, NEE >::generateCandidate(), and Bodon::trie::CandGenInfreqRemoveNopruneMerge< DF_D, TRIE, NEE >::generateCandidate().

template<class DF_D, class TRIE, bool NEE>
unsigned int Bodon::trie::CandidateGeneratorNoprune< DF_D, TRIE, NEE >::nr_of_new_candidates [protected]
 

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

Referenced by Bodon::trie::CandGenInfreqRemoveNopruneMerge< DF_D, TRIE, NEE >::delete_infrequent_subtrie(), Bodon::trie::CandGenInfreqRemoveNopruneMerge< DF_D, TRIE, NEE >::delete_infrequent_subtrieNEE(), Bodon::trie::CandGenInfreqRemoveNopruneMerge< DF_D, TRIE, NEE >::deleteInfrequent(), Bodon::trie::CandidateGeneratorNoprune< DF_D, TRIE, NEE >::generateCandidate(), Bodon::trie::CandGenInfreqRemoveNopruneMerge< DF_D, TRIE, NEE >::generateCandidate(), Bodon::trie::CandidateGeneratorNoprune< DF_D, TRIE, NEE >::generateCandidateFindParent(), and Bodon::trie::CandidateGeneratorNoprune< DF_D, TRIE, NEE >::generateCandidateFindParentNEE().


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