这是一个用于数据挖掘的常用算法的模板库(数据挖掘的C++模板库for UNIX)

源代码在线查看: classtokenizer_3_01iset__pattern_00_01dmtl__tknz__prop_00_01alloc_01_4.tex

软件大小: 3269 K
上传用户: d_zhihua
关键词: UNIX for 数据挖掘 模板
下载地址: 免注册下载 普通下载 VIP

相关代码

				\section{tokenizer$$ Class Template Reference}				\label{classtokenizer_3_01ISET__PATTERN_00_01DMTL__TKNZ__PROP_00_01ALLOC_01_4}\index{tokenizer< ISET_PATTERN, DMTL_TKNZ_PROP, ALLOC >@{tokenizer$$}}				Itemset tokenizer class by partial specialization of the generic tokenizer class.  												{\tt \#include $$}								\subsection*{Public Types}				\begin{CompactItemize}				\item 				typedef \bf{pattern\_\-support}$$ \textbf{PAT\_\-SUP}\label{classtokenizer_3_01ISET__PATTERN_00_01DMTL__TKNZ__PROP_00_01ALLOC_01_4_b0a850046d63135123c7b324617cabea}								\item 				typedef \bf{vat}$$ \textbf{VAT}\label{classtokenizer_3_01ISET__PATTERN_00_01DMTL__TKNZ__PROP_00_01ALLOC_01_4_3ba78b7dbdedd91460807d30b6a22e4e}								\item 				typedef ISET\_\-PATTERN::VERTEX\_\-T \textbf{V\_\-T}\label{classtokenizer_3_01ISET__PATTERN_00_01DMTL__TKNZ__PROP_00_01ALLOC_01_4_4b39a2e0d54ba6c93beba25c33947f27}								\item 				typedef ISET\_\-PATTERN::EDGE\_\-T \textbf{E\_\-T}\label{classtokenizer_3_01ISET__PATTERN_00_01DMTL__TKNZ__PROP_00_01ALLOC_01_4_e3b049395a49da743e67309f90c6946f}								\item 				typedef int \bf{VAT\_\-T}				\end{CompactItemize}				\subsection*{Public Member Functions}				\begin{CompactItemize}				\item 				\bf{tokenizer} (int max=LINE\_\-SZ)				\item 				template$$ int \bf{parse\_\-next\_\-trans} (std::ifstream \&infile, \bf{pat\_\-fam}$$ \&freq\_\-pats, \bf{storage\_\-manager}$$ \&vat\_\-hmap)				\end{CompactItemize}												\subsection{Detailed Description}				\subsubsection*{template$$ class tokenizer$$}								Itemset tokenizer class by partial specialization of the generic tokenizer class. 								the template argument is instantiated with a pattern that has no\_\-edge pattern property, Fk X Fk and vert\_\-mine mining property, PAT\_\-ST type of pattern storage and CC type of canocial code. 																\subsection{Member Typedef Documentation}				\index{tokenizer< ISET_PATTERN, DMTL_TKNZ_PROP, ALLOC >@{tokenizer$$}!VAT_T@{VAT\_\-T}}				\index{VAT_T@{VAT\_\-T}!tokenizer< ISET_PATTERN, DMTL_TKNZ_PROP, ALLOC >@{tokenizer$$}}				\subsubsection{\setlength{\rightskip}{0pt plus 5cm}template$$ typedef int \bf{tokenizer}$$::\bf{VAT\_\-T}}\label{classtokenizer_3_01ISET__PATTERN_00_01DMTL__TKNZ__PROP_00_01ALLOC_01_4_44bbfa02daea852ad122585be39c455d}												VAT id-type for itemset 								\subsection{Constructor \& Destructor Documentation}				\index{tokenizer< ISET_PATTERN, DMTL_TKNZ_PROP, ALLOC >@{tokenizer$$}!tokenizer@{tokenizer}}				\index{tokenizer@{tokenizer}!tokenizer< ISET_PATTERN, DMTL_TKNZ_PROP, ALLOC >@{tokenizer$$}}				\subsubsection{\setlength{\rightskip}{0pt plus 5cm}template$$ \bf{tokenizer}$$::\bf{tokenizer} (int {\em max} = {\tt LINE\_\-SZ})\hspace{0.3cm}{\tt  [inline]}}\label{classtokenizer_3_01ISET__PATTERN_00_01DMTL__TKNZ__PROP_00_01ALLOC_01_4_966ef0603dfdd9535a748dcaa003570c}												default constructor 								\subsection{Member Function Documentation}				\index{tokenizer< ISET_PATTERN, DMTL_TKNZ_PROP, ALLOC >@{tokenizer$$}!parse_next_trans@{parse\_\-next\_\-trans}}				\index{parse_next_trans@{parse\_\-next\_\-trans}!tokenizer< ISET_PATTERN, DMTL_TKNZ_PROP, ALLOC >@{tokenizer$$}}				\subsubsection{\setlength{\rightskip}{0pt plus 5cm}template$$ template$$ int \bf{tokenizer}$$::parse\_\-next\_\-trans (std::ifstream \& {\em infile}, \bf{pat\_\-fam}$$ \& {\em freq\_\-pats}, \bf{storage\_\-manager}$$ \& {\em vat\_\-hmap})\hspace{0.3cm}{\tt  [inline]}}\label{classtokenizer_3_01ISET__PATTERN_00_01DMTL__TKNZ__PROP_00_01ALLOC_01_4_158ed911fe33b11e01923c50c103fbb8}												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:\begin{CompactItemize}				\item 				iset\_\-tokenizer.h\end{CompactItemize}							

相关资源