#include <tree_tokenizer.h>
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) |
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.
| 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
1.4.7