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

源代码在线查看: classcanonical__code_3_01seq__prop_00_01v__t_00_01e__t_00_01alloc_01_4.tex

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

相关代码

				\section{canonical\_\-code$$ Class Template Reference}				\label{classcanonical__code_3_01SEQ__PROP_00_01V__T_00_01E__T_00_01ALLOC_01_4}\index{canonical_code< SEQ_PROP, V_T, E_T, ALLOC >@{canonical\_\-code$$}}				Sequence canonical Code class by partial specialization of generic \doxyref{canonical\_\-code}{p.}{classcanonical__code} class.  												{\tt \#include $$}								\subsection*{Public Types}				\begin{CompactItemize}				\item 				typedef int \textbf{STORAGE\_\-TYPE}\label{classcanonical__code_3_01SEQ__PROP_00_01V__T_00_01E__T_00_01ALLOC_01_4_923648526b5dba9ed510f92dcba6c8fb}								\item 				typedef V\_\-T \textbf{INIT\_\-TYPE}\label{classcanonical__code_3_01SEQ__PROP_00_01V__T_00_01E__T_00_01ALLOC_01_4_f2abf659835c32f1ccdf81fa61f74afc}								\item 				typedef \bf{eqint} \textbf{COMPARISON\_\-FUNC}\label{classcanonical__code_3_01SEQ__PROP_00_01V__T_00_01E__T_00_01ALLOC_01_4_0b2c598e9064b48aa241e7fdb946efca}								\end{CompactItemize}				\subsection*{Public Member Functions}				\begin{CompactItemize}				\item 				template$$ void \bf{init} (V\_\-T v, PAT $\ast$)				\item 				void \bf{insert\_\-vertex} (const V\_\-T \&v)				\item 				void \textbf{update\_\-code} ()\label{classcanonical__code_3_01SEQ__PROP_00_01V__T_00_01E__T_00_01ALLOC_01_4_03d52727c5b7dfb9f79faf34fc3ae93b}								\item 				STORAGE\_\-TYPE \bf{get\-Code} () const 				\end{CompactItemize}												\subsection{Detailed Description}				\subsubsection*{template$$ class canonical\_\-code$$}								Sequence canonical Code class by partial specialization of generic \doxyref{canonical\_\-code}{p.}{classcanonical__code} class. 								pattern\_\-prop is set to directed, acyclic, indegree\_\-lte\_\-one, outdegree\_\-lte\_\-one(sequence property) 																\subsection{Member Function Documentation}				\index{canonical_code< SEQ_PROP, V_T, E_T, ALLOC >@{canonical\_\-code$$}!getCode@{getCode}}				\index{getCode@{getCode}!canonical_code< SEQ_PROP, V_T, E_T, ALLOC >@{canonical\_\-code$$}}				\subsubsection{\setlength{\rightskip}{0pt plus 5cm}template$$ STORAGE\_\-TYPE \bf{canonical\_\-code}$$::get\-Code () const\hspace{0.3cm}{\tt  [inline]}}\label{classcanonical__code_3_01SEQ__PROP_00_01V__T_00_01E__T_00_01ALLOC_01_4_7a34f6286fe7abd4604f7fb1efb2b5c2}												Return the canonical code. \index{canonical_code< SEQ_PROP, V_T, E_T, ALLOC >@{canonical\_\-code$$}!init@{init}}				\index{init@{init}!canonical_code< SEQ_PROP, V_T, E_T, ALLOC >@{canonical\_\-code$$}}				\subsubsection{\setlength{\rightskip}{0pt plus 5cm}template$$ template$$ void \bf{canonical\_\-code}$$::init (V\_\-T {\em v}, PAT $\ast$)\hspace{0.3cm}{\tt  [inline]}}\label{classcanonical__code_3_01SEQ__PROP_00_01V__T_00_01E__T_00_01ALLOC_01_4_82a7503a4fb19ab6def59f4e640e093a}												Used to initialize the canonical code. Called from \doxyref{db\_\-reader}{p.}{classdb__reader} so that the pattern's canonical code can be initialized. \index{canonical_code< SEQ_PROP, V_T, E_T, ALLOC >@{canonical\_\-code$$}!insert_vertex@{insert\_\-vertex}}				\index{insert_vertex@{insert\_\-vertex}!canonical_code< SEQ_PROP, V_T, E_T, ALLOC >@{canonical\_\-code$$}}				\subsubsection{\setlength{\rightskip}{0pt plus 5cm}template$$ void \bf{canonical\_\-code}$$::insert\_\-vertex (const V\_\-T \& {\em v})\hspace{0.3cm}{\tt  [inline]}}\label{classcanonical__code_3_01SEQ__PROP_00_01V__T_00_01E__T_00_01ALLOC_01_4_1c173ca2f2b1dd498469e35940642eea}												Update the canonical code when a node is added. 								The documentation for this class was generated from the following file:\begin{CompactItemize}				\item 				seq\_\-can\_\-code.h\end{CompactItemize}							

相关资源