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

GeneralSupportCounterInterface< DATA_STRUCTURE, TR, SC > Class Template Reference

Interface for a general support counters of Apriori. More...

#include <GeneralSupportCounterInterface.hpp>

Collaboration diagram for GeneralSupportCounterInterface< DATA_STRUCTURE, TR, SC >:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 GeneralSupportCounterInterface (DATA_STRUCTURE &data_structure, TR &transaction_reader)
void countSupport (const unsigned int candidate_size)
 This class determines the support of the candidates.

Private Attributes

DATA_STRUCTURE & data_structure
TR & transaction_reader
SC support_counter

Detailed Description

template<class DATA_STRUCTURE, class TR, class SC = Dummy>
class GeneralSupportCounterInterface< DATA_STRUCTURE, TR, SC >

Interface for a general support counters of Apriori.

Definition at line 23 of file GeneralSupportCounterInterface.hpp.


Constructor & Destructor Documentation

template<class DATA_STRUCTURE, class TR, class SC = Dummy>
GeneralSupportCounterInterface< DATA_STRUCTURE, TR, SC >::GeneralSupportCounterInterface DATA_STRUCTURE &  data_structure,
TR &  transaction_reader
[inline]
 

Definition at line 32 of file GeneralSupportCounterInterface.hpp.


Member Function Documentation

template<class DATA_STRUCTURE, class TR, class SC = Dummy>
void GeneralSupportCounterInterface< DATA_STRUCTURE, TR, SC >::countSupport const unsigned int  candidate_size  )  [inline]
 

This class determines the support of the candidates.

The candidates are stores in data_structure; the transactions can be fetched by transaction_reader (it has to implement interface TransactionReader). It is possible to provide an additional class, which is in general a special support counter.

Parameters:
candidate_size the size of the candidates

Definition at line 46 of file GeneralSupportCounterInterface.hpp.


Member Data Documentation

template<class DATA_STRUCTURE, class TR, class SC = Dummy>
DATA_STRUCTURE& GeneralSupportCounterInterface< DATA_STRUCTURE, TR, SC >::data_structure [private]
 

Definition at line 27 of file GeneralSupportCounterInterface.hpp.

template<class DATA_STRUCTURE, class TR, class SC = Dummy>
SC GeneralSupportCounterInterface< DATA_STRUCTURE, TR, SC >::support_counter [private]
 

Definition at line 29 of file GeneralSupportCounterInterface.hpp.

template<class DATA_STRUCTURE, class TR, class SC = Dummy>
TR& GeneralSupportCounterInterface< DATA_STRUCTURE, TR, SC >::transaction_reader [private]
 

Definition at line 28 of file GeneralSupportCounterInterface.hpp.


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