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

Bodon::SupportCounterInterface< MAIN_DATA_STRUCTURE, SEC_DATA_STRUCTURE > Class Template Reference

This is an interface of a support counter, whose task is to increment the counters of those candidates that are included in the given transaction. More...

#include <SupportCounterInterface.hpp>

List of all members.

Public Member Functions

 SupportCounterInterface ()
void updateCounters (MAIN_DATA_STRUCTURE &main_trie, const std::vector< item_t > &transaction, item_t candidate_size, const counter_t counter_incr)


Detailed Description

template<class MAIN_DATA_STRUCTURE, class SEC_DATA_STRUCTURE = Dummy>
class Bodon::SupportCounterInterface< MAIN_DATA_STRUCTURE, SEC_DATA_STRUCTURE >

This is an interface of a support counter, whose task is to increment the counters of those candidates that are included in the given transaction.

For an overview about support counters the reader is referred to the paper

Definition at line 40 of file bodon/SupportCounterInterface.hpp.


Constructor & Destructor Documentation

template<class MAIN_DATA_STRUCTURE, class SEC_DATA_STRUCTURE = Dummy>
Bodon::SupportCounterInterface< MAIN_DATA_STRUCTURE, SEC_DATA_STRUCTURE >::SupportCounterInterface  )  [inline]
 

Definition at line 43 of file bodon/SupportCounterInterface.hpp.


Member Function Documentation

template<class MAIN_DATA_STRUCTURE, class SEC_DATA_STRUCTURE = Dummy>
void Bodon::SupportCounterInterface< MAIN_DATA_STRUCTURE, SEC_DATA_STRUCTURE >::updateCounters MAIN_DATA_STRUCTURE &  main_trie,
const std::vector< item_t > &  transaction,
item_t  candidate_size,
const counter_t  counter_incr
[inline]
 

Increases the counter of those candidates that are contained by the given basket.

Parameters:
main_trie the root of the candidate trie
transaction the transaction
candidate_size the size of the candidates
counter_incr the amount the counters of the contained candidate have to be increased with

Definition at line 54 of file bodon/SupportCounterInterface.hpp.


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