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

Bodon::vector_based::SupportCounter< DATA_STRUCTURE > Class Template Reference

#include <SupportCounter.hpp>

Inheritance diagram for Bodon::vector_based::SupportCounter< DATA_STRUCTURE >:

Inheritance graph
[legend]
List of all members.

Public Member Functions

 SupportCounter ()
void updateCounters (DATA_STRUCTURE &candidates, const std::vector< item_t > &transaction, const unsigned int candidate_size, const counter_t counter_incr)
 Increases the counter of those candidates that are contained by the given basket.
void updateCounters (DATA_STRUCTURE &candidates, std::vector< item_t >::const_iterator transaction_beg, std::vector< item_t >::const_iterator transaction_end, const unsigned int candidate_size, const counter_t counter_incr)

Detailed Description

template<class DATA_STRUCTURE>
class Bodon::vector_based::SupportCounter< DATA_STRUCTURE >

Definition at line 16 of file vector/SupportCounter.hpp.


Constructor & Destructor Documentation

template<class DATA_STRUCTURE>
Bodon::vector_based::SupportCounter< DATA_STRUCTURE >::SupportCounter  )  [inline]
 


Member Function Documentation

template<class DATA_STRUCTURE>
void Bodon::vector_based::SupportCounter< DATA_STRUCTURE >::updateCounters DATA_STRUCTURE &  candidates,
std::vector< item_t >::const_iterator  transaction_beg,
std::vector< item_t >::const_iterator  transaction_end,
const unsigned int  candidate_size,
const counter_t  counter_incr
[inline]
 

Definition at line 46 of file vector/SupportCounter.hpp.

template<class DATA_STRUCTURE>
void Bodon::vector_based::SupportCounter< DATA_STRUCTURE >::updateCounters DATA_STRUCTURE &  candidates,
const std::vector< item_t > &  transaction,
const unsigned int  candidate_size,
const counter_t  counter_incr
[inline]
 

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

Definition at line 34 of file vector/SupportCounter.hpp.

Referenced by Bodon::prefix_array::SupportCounter< DATA_STRUCTURE >::updateCounters().


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