#include "common.hpp"
#include "common/log.h"
#include "common/allocators.hpp"
#include "io/input/transaction_reader/brBufferedTransactionReader.hpp"
#include "io/input/transaction_reader/SortedTransactionReader.hpp"
#include "io/codec/coder/Coder.hpp"
#include "io/output/assoc_rule_writer/SimpleAssocRuleWriter.hpp"
#include "io/input/transaction_reader/OrderReverser.hpp"
#include "io/db_cache/BuildTreeDBCache.hpp"
#include "util/StreamParser.hpp"
#include "util/FrequentFilter.cpp"
#include "util/Frequent2Filter.cpp"
#include "apriori/bodon/Trie.hpp"
#include "datastructures/trie/edgelist/OrderedEdgelist.hpp"
#include "apriori/bodon/trie/trie_manipulators/FrequentItemInserter.hpp"
#include "apriori/bodon/trie/trie_manipulators/FrequentPairInserter.hpp"
#include "apriori/bodon/trie/trie_manipulators/support_counter/SupportCounterMerge.hpp"
#include "apriori/OneByOneSupportCounter.hpp"
#include "apriori/bodon/inhomogeneous_trie/trie_manipulators/IntersectProPruner.hpp"
#include "apriori/bodon/inhomogeneous_trie/trie_manipulators/CandidateGeneratorPrune.hpp"
#include "apriori/bodon/inhomogeneous_trie/trie_manipulators/InfreqRemover_AssocRuleGen.hpp"
#include "apriori/Apriori.hpp"
#include <vector>
#include <iostream>
#include <string>
Include dependency graph for main-assoc-rule.cpp:
Go to the source code of this file.
Functions | |
void | init () |
void | usage () |
commandline -- some utility methods for fim commandline tools. | |
int | process_arguments (int argc, char *argv[], counter_t &min_supp, bool &isrel, double &relminsupp) |
This procedure processes the arguments. | |
int | main (int argc, char *argv[]) |
A simple Apriori implementation. | |
Variables | |
std::string | file_format |
Definition in file main-assoc-rule.cpp.
|
Definition at line 44 of file main-assoc-rule.cpp. References file_format. |
|
A simple Apriori implementation. This is a simple, trie-based Apriori implementation designed mainly for student and researchers who need and Apriori implementation that is easy to understand and modify. Actually this Apriori implementation is a simplified version the Apriori find in the maim fim_env project. Since it is simplified, it does not contain many speed-up and memory saving trick. Therefore this implementation runs slower than the fully optimized implementation. Definition at line 128 of file main-assoc-rule.cpp. References ASC, FrequentFilter< IT_R >::findFrequentItems(), Frequent2Filter< IT_R >::findFrequentPairs(), init(), NEE_Off, process_arguments(), FileReprBase::READ, and FileReprBase::WRITE. |
|
This procedure processes the arguments.
Definition at line 77 of file main-assoc-rule.cpp. |
|
commandline -- some utility methods for fim commandline tools.
Definition at line 55 of file main-assoc-rule.cpp. |
|
Definition at line 42 of file main-assoc-rule.cpp. |