#include <InfreqRemover_AssocRuleGen.hpp>
Inheritance diagram for Bodon::inhomogeneous_trie::InfreqRemover_AssocRuleGen< DF_D, TRIE, LEAF, LEAF_ALLOCATOR, NEE, DEADENDPRUNE >:
Public Member Functions | |
InfreqRemover_AssocRuleGen (TRIE &main_trie, DF_D &df_decoder, LEAF_ALLOCATOR &s_alloc, float min_conf, float min_intr, counter_t nr_of_transaction) | |
void | afterWorkDel () |
void | deleteInfrequent (const counter_t min_supp, unsigned int candidate_size) |
Deletes infrequent itemsets. | |
bool | isThereAnyCandidate () const |
Protected Types | |
typedef InfreqRemover< DF_D, TRIE, LEAF, LEAF_ALLOCATOR, NEE, DEADENDPRUNE > | PARENT |
Protected Member Functions | |
void | generateUnions (TRIE *subtrie, std::vector< item_t > &union_set) |
void | generateAssocRules (std::vector< item_t > &antecedent_set, std::set< item_t > &conseq_set, const counter_t union_support) |
bool | generateAnAssociationRule (std::vector< item_t > &antecedent_set, std::set< item_t > &conseq_set, const counter_t union_support) |
void | delete_infrequent_subtrie (TRIE *subtrie, const counter_t min_supp, unsigned int step_to_cand_par) |
Deletes the tries that represent infrequent itemstd::sets. | |
void | delete_infrequent_subtrieNEE (TRIE *subtrie, const counter_t min_supp, std::vector< item_t > &NEEsum, unsigned int step_to_cand_par) |
void | destroy (TRIE *subtrie) |
void | destroyAndWriteNEE (TRIE *subtrie, std::vector< item_t > &NEEsum) |
Protected Attributes | |
float | min_conf |
float | min_lift |
counter_t | nr_of_transaction |
std::vector< Edge > | extenders |
unsigned int | nr_of_deleted |
unsigned int | total_nr_of_deleted |
LEAF_ALLOCATOR & | s_alloc |
TRIE & | main_trie |
Trie to store the candidates. | |
DF_D & | df_decoder |
The depth-first decoder. |
Definition at line 20 of file InfreqRemover_AssocRuleGen.hpp.
|
Reimplemented from Bodon::inhomogeneous_trie::InfreqRemover< DF_D, TRIE, LEAF, LEAF_ALLOCATOR, NEE, DEADENDPRUNE >. Definition at line 25 of file InfreqRemover_AssocRuleGen.hpp. |
|
Definition at line 32 of file InfreqRemover_AssocRuleGen.hpp. |
|
Reimplemented from Bodon::inhomogeneous_trie::InfreqRemover< DF_D, TRIE, LEAF, LEAF_ALLOCATOR, NEE, DEADENDPRUNE >. Definition at line 57 of file InfreqRemover_AssocRuleGen.hpp. References NEE_Off. |
|
Deletes the tries that represent infrequent itemstd::sets.
Definition at line 97 of file inhomogeneous_trie/trie_manipulators/InfreqRemover.hpp. References Bodon::inhomogeneous_trie::InfreqRemover< DF_D, TRIE, LEAF, LEAF_ALLOCATOR, NEE, DEADENDPRUNE >::nr_of_deleted, and Bodon::inhomogeneous_trie::ManipulatorBase< DF_D, TRIE, LEAF_ALLOCATOR >::s_alloc. Referenced by Bodon::inhomogeneous_trie::InfreqRemover< DF_D, TRIE, LEAF, LEAF_ALLOCATOR, NEE, DEADENDPRUNE >::deleteInfrequent(). |
|
|
|
Definition at line 207 of file inhomogeneous_trie/trie_manipulators/InfreqRemover.hpp. Referenced by Bodon::inhomogeneous_trie::InfreqRemover< DF_D, TRIE, LEAF, LEAF_ALLOCATOR, NEE, DEADENDPRUNE >::afterWorkDel(). |
|
Definition at line 220 of file inhomogeneous_trie/trie_manipulators/InfreqRemover.hpp. References Bodon::ManipulatorBase< DF_D, TRIE >::df_decoder. Referenced by Bodon::inhomogeneous_trie::InfreqRemover< DF_D, TRIE, LEAF, LEAF_ALLOCATOR, NEE, DEADENDPRUNE >::afterWorkDel(). |
|
Definition at line 128 of file InfreqRemover_AssocRuleGen.hpp. |
|
Definition at line 95 of file InfreqRemover_AssocRuleGen.hpp. |
|
Definition at line 78 of file InfreqRemover_AssocRuleGen.hpp. |
|
Definition at line 27 of file trie/trie_manipulators/ManipulatorBase.hpp. |
|
|
Definition at line 25 of file inhomogeneous_trie/trie_manipulators/InfreqRemover.hpp. |
|
|
Definition at line 26 of file InfreqRemover_AssocRuleGen.hpp. |
|
Definition at line 27 of file InfreqRemover_AssocRuleGen.hpp. |
|
|
Definition at line 28 of file InfreqRemover_AssocRuleGen.hpp. |
|
|