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

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

#include <SupportCounter.hpp>

Collaboration diagram for Bodon::prefix_array::SupportCounter< DATA_STRUCTURE >:

Collaboration 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 >::iterator transaction_beg, std::vector< item_t >::iterator transaction_end, const unsigned int candidate_size, const counter_t counter_incr)

Protected Attributes

Bodon::vector_based::SupportCounter<
cand_vector_t
supp_count

Detailed Description

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

Definition at line 18 of file prefixarray/SupportCounter.hpp.


Constructor & Destructor Documentation

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


Member Function Documentation

template<class DATA_STRUCTURE>
void Bodon::prefix_array::SupportCounter< DATA_STRUCTURE >::updateCounters DATA_STRUCTURE &  candidates,
std::vector< item_t >::iterator  transaction_beg,
std::vector< item_t >::iterator  transaction_end,
const unsigned int  candidate_size,
const counter_t  counter_incr
 

template<class DATA_STRUCTURE>
void Bodon::prefix_array::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 38 of file prefixarray/SupportCounter.hpp.

References Bodon::prefix_array::SupportCounter< DATA_STRUCTURE >::supp_count, and Bodon::vector_based::SupportCounter< DATA_STRUCTURE >::updateCounters().


Member Data Documentation

template<class DATA_STRUCTURE>
Bodon::vector_based::SupportCounter<cand_vector_t> Bodon::prefix_array::SupportCounter< DATA_STRUCTURE >::supp_count [protected]
 

Definition at line 21 of file prefixarray/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:56:55 2006 for FIM environment by  doxygen 1.4.4