tokenizer< TREE_PATTERN, DMTL_TKNZ_PROP, ALLOC > Class Template Reference

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

#include <tree_tokenizer.h>

List of all members.

Public Types

typedef vat< TREE_PROP, V_Fkk_MINE_PROP,
ALLOC, std::vector > 
VAT
typedef tree_instance< std::vector,
PP > 
TREE_INSTANCE

Public Member Functions

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


Detailed Description

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

Tree 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 pattern property(tree), MINING_PROPS type of mining property, ST type of pattern storage and CC type of canocial code.


Member Function Documentation

template<typename 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< TREE_PATTERN, DMTL_TKNZ_PROP, ALLOC >::parse_next_trans ( ifstream &  infile,
pat_fam< TREE_PATTERN > &  freq_pats,
storage_manager< TREE_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