这是一个用于数据挖掘的常用算法的模板库(数据挖掘的C++模板库for UNIX)
源代码在线查看: classseq__instance_3_01v__fkk__ind__mine__prop_01_4.tex
\section{seq\_\-instance$$ Class Template Reference} \label{classseq__instance_3_01V__Fkk__IND__MINE__PROP_01_4}\index{seq_instance< V_Fkk_IND_MINE_PROP >@{seq\_\-instance$$}} Class represents precisely one instance i.e. occurrence of a sequence in the dataset. This class is for induced sequence mining. {\tt \#include $$} \subsection*{Public Member Functions} \begin{CompactItemize} \item \bf{seq\_\-instance} (const int timestamp, const int position) \item \bf{seq\_\-instance} (const int position, const bool ind) \item int \textbf{get\_\-pos} () const \label{classseq__instance_3_01V__Fkk__IND__MINE__PROP_01_4_8b13d0ddf55f1f2058f3ca6d5d379054} \item bool \textbf{get\_\-induced} () const \label{classseq__instance_3_01V__Fkk__IND__MINE__PROP_01_4_0c18eb4097f06dbcaa72df4b266b23c9} \end{CompactItemize} \subsection*{Static Public Member Functions} \begin{CompactItemize} \item template$$ static void \bf{seq\_\-join\_\-seq} (const ST$$ \&i1, const ST$$ \&i2, ST$$ \&seqi\_\-inst, ST$$ \&seqj\_\-inst, bool \&seqi\_\-ind, bool \&seqj\_\-ind, bool \&seqi\_\-emb, bool \&seqj\_\-emb, const bool self\_\-join\_\-only, const bool skip0=false) \end{CompactItemize} \subsection*{Friends} \begin{CompactItemize} \item ostream \& \bf{operator$ \end{CompactItemize} \subsection{Detailed Description} \subsubsection*{template$$ class seq\_\-instance$$} Class represents precisely one instance i.e. occurrence of a sequence in the dataset. This class is for induced sequence mining. \subsection{Constructor \& Destructor Documentation} \index{seq_instance< V_Fkk_IND_MINE_PROP >@{seq\_\-instance$$}!seq_instance@{seq\_\-instance}} \index{seq_instance@{seq\_\-instance}!seq_instance< V_Fkk_IND_MINE_PROP >@{seq\_\-instance$$}} \subsubsection{\setlength{\rightskip}{0pt plus 5cm}template$$ \bf{seq\_\-instance}$$::\bf{seq\_\-instance} (const int {\em timestamp}, const int {\em position})\hspace{0.3cm}{\tt [inline]}}\label{classseq__instance_3_01V__Fkk__IND__MINE__PROP_01_4_c10031e99f7ea94675a2acb37808b30f} parameterized constructor \index{seq_instance< V_Fkk_IND_MINE_PROP >@{seq\_\-instance$$}!seq_instance@{seq\_\-instance}} \index{seq_instance@{seq\_\-instance}!seq_instance< V_Fkk_IND_MINE_PROP >@{seq\_\-instance$$}} \subsubsection{\setlength{\rightskip}{0pt plus 5cm}template$$ \bf{seq\_\-instance}$$::\bf{seq\_\-instance} (const int {\em position}, const bool {\em ind})\hspace{0.3cm}{\tt [inline]}}\label{classseq__instance_3_01V__Fkk__IND__MINE__PROP_01_4_9657a1d9da95318f26a425d489535d03} parameterized constructor \subsection{Member Function Documentation} \index{seq_instance< V_Fkk_IND_MINE_PROP >@{seq\_\-instance$$}!seq_join_seq@{seq\_\-join\_\-seq}} \index{seq_join_seq@{seq\_\-join\_\-seq}!seq_instance< V_Fkk_IND_MINE_PROP >@{seq\_\-instance$$}} \subsubsection{\setlength{\rightskip}{0pt plus 5cm}template$$ template$$ static void \bf{seq\_\-instance}$$::seq\_\-join\_\-seq (const ST$$ \& {\em i1}, const ST$$ \& {\em i2}, ST$$ \& {\em seqi\_\-inst}, ST$$ \& {\em seqj\_\-inst}, bool \& {\em seqi\_\-ind}, bool \& {\em seqj\_\-ind}, bool \& {\em seqi\_\-emb}, bool \& {\em seqj\_\-emb}, const bool {\em self\_\-join\_\-only}, const bool {\em skip0} = {\tt false})\hspace{0.3cm}{\tt [inline, static]}}\label{classseq__instance_3_01V__Fkk__IND__MINE__PROP_01_4_3b27452c8cc82536496f73b204ab2d59} \subsection{Friends And Related Function Documentation} \index{seq_instance< V_Fkk_IND_MINE_PROP >@{seq\_\-instance$$}!operator \index{operator \subsubsection{\setlength{\rightskip}{0pt plus 5cm}template$$ ostream\& operator$ Friend extraction operator for output The documentation for this class was generated from the following file:\begin{CompactItemize} \item seq\_\-instance.h\end{CompactItemize}