tokenizer< SEQ_PATTERN, DMTL_TKNZ_PROP, ALLOC > Class Template Reference

Sequence tokenizer class by partial specialization of the generic tokenizer class. More...

#include <seq_tokenizer.h>

List of all members.

Public Types

typedef pattern_support< V_Fkk_MINE_PROP > PAT_SUP
typedef vat< SEQ_PROP, V_Fkk_MINE_PROP,
ALLOC, std::vector > 
VAT
typedef seq_instance< V_Fkk_MINE_PROP > INSTANCE
typedef SEQ_PATTERN::VERTEX_T V_T
typedef SEQ_PATTERN::EDGE_T E_T

Public Member Functions

 tokenizer (int max=LINE_SZ)
template<class SM_T>
int parse_next_trans (ifstream &infile, pat_fam< SEQ_PATTERN > &freq_pats, storage_manager< SEQ_PATTERN, VAT, ALLOC, SM_T > &vat_hmap)


Detailed Description

template<class PP, typename MP, typename TP, typename PAT_ST, template< typename, typename, typename, template< typename > class > class CC, template< typename > class ALLOC>
class tokenizer< SEQ_PATTERN, DMTL_TKNZ_PROP, ALLOC >

Sequence tokenizer class by partial specialization of the generic tokenizer class.

the template argument is instantiated with a pattern that has directed, acyclic, indegree_lte_one, outdegree_lte_one pattern property(tree), MINING_PROPS type of mining property, ST type of pattern storage and CC type of canocial code.


Constructor & Destructor Documentation

template<class PP, typename MP, typename TP, typename PAT_ST, template< typename, typename, typename, template< typename > class > class CC, template< typename > class ALLOC>
tokenizer< SEQ_PATTERN, DMTL_TKNZ_PROP, ALLOC >::tokenizer ( int  max = LINE_SZ  )  [inline]

default constructor


Member Function Documentation

template<class PP, typename MP, typename TP, typename PAT_ST, template< typename, typename, typename, template< typename > class > class CC, template< typename > class ALLOC>
template<class SM_T>
int tokenizer< SEQ_PATTERN, DMTL_TKNZ_PROP, ALLOC >::parse_next_trans ( ifstream &  infile,
pat_fam< SEQ_PATTERN > &  freq_pats,
storage_manager< SEQ_PATTERN, VAT, ALLOC, SM_T > &  vat_hmap 
) [inline]

returns the TID of transaction read; parses one transaction from input database, and collects VATS in vat_hmap return value is -1 on end of stream


The documentation for this class was generated from the following file:
Generated on Wed Jul 26 14:01:09 2006 for DMTL by  doxygen 1.4.7