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

independence.cpp File Reference

#include "common.hpp"
#include "io/input/transaction_reader/brBufferedTransactionReader.hpp"
#include "io/input/transaction_reader/SortedTransactionReader.hpp"
#include "io/codec/decoder/df/CacheDFDecoder.hpp"
#include "io/output/StatOutput.hpp"
#include "util/StreamParser.hpp"
#include "util/FrequentFilter.cpp"
#include <vector>
#include <iostream>
#include <string>

Include dependency graph for independence.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.
void findFrequentSets (const std::vector< double > &frequencies, const double min_freq, const counter_t nr_of_transactions, double prefixfrequency, size_t index, StatOutput< CacheDFDecoder< >, true > &df_decoder)
int main (int argc, char *argv[])

Variables

std::string file_format


Function Documentation

void findFrequentSets const std::vector< double > &  frequencies,
const double  min_freq,
const counter_t  nr_of_transactions,
double  prefixfrequency,
size_t  index,
StatOutput< CacheDFDecoder< >, true > &  df_decoder
 

Definition at line 92 of file independence.cpp.

Referenced by main().

void init  ) 
 

Definition at line 19 of file independence.cpp.

References file_format.

int main int  argc,
char *  argv[]
 

Definition at line 113 of file independence.cpp.

References FrequentFilter< IT_R >::findFrequentItems(), findFrequentSets(), init(), process_arguments(), FileReprBase::READ, and FileReprBase::WRITE.

int process_arguments int  argc,
char *  argv[],
counter_t min_supp,
bool &  isrel,
double &  relminsupp
 

This procedure processes the arguments.

Returns:
  • 0, if no error is occured,
  • 1, in case of an IO error,
  • 2, in case of too few arguments,
  • 3, if proper min_supp cannot be generated.
  • 4, if proper threshold cannot be generated.

Definition at line 53 of file independence.cpp.

References convert(), and usage().

void usage  ) 
 

commandline -- some utility methods for fim commandline tools.

Definition at line 30 of file independence.cpp.

References file_format.


Variable Documentation

std::string file_format
 

Definition at line 17 of file independence.cpp.


Generated on Sun Sep 17 17:52:38 2006 for FIM environment by  doxygen 1.4.4