📄 classcanonical__code_3_01iset__prop_00_01vertex__t_00_01edge__t_00_01alloc_01_4.tex
字号:
\section{canonical\_\-code$<$ ISET\_\-PROP, vertex\_\-t, edge\_\-t, ALLOC $>$ Class Template Reference}\label{classcanonical__code_3_01ISET__PROP_00_01vertex__t_00_01edge__t_00_01ALLOC_01_4}\index{canonical_code< ISET_PROP, vertex_t, edge_t, ALLOC >@{canonical\_\-code$<$ ISET\_\-PROP, vertex\_\-t, edge\_\-t, ALLOC $>$}}Itemset canonical Code class by partial specialization of generic \doxyref{canonical\_\-code}{p.}{classcanonical__code} class. {\tt \#include $<$iset\_\-can\_\-code.h$>$}\subsection*{Public Types}\begin{CompactItemize}\item typedef int \textbf{STORAGE\_\-TYPE}\label{classcanonical__code_3_01ISET__PROP_00_01vertex__t_00_01edge__t_00_01ALLOC_01_4_ef30575abe94f97a5703236c59aed8a9}\item typedef vertex\_\-t \textbf{INIT\_\-TYPE}\label{classcanonical__code_3_01ISET__PROP_00_01vertex__t_00_01edge__t_00_01ALLOC_01_4_4b23113c1ba1f224cf353a886f86a9e8}\item typedef \bf{eqint} \textbf{COMPARISON\_\-FUNC}\label{classcanonical__code_3_01ISET__PROP_00_01vertex__t_00_01edge__t_00_01ALLOC_01_4_372e03596c35f6ca788477c7b9ced159}\end{CompactItemize}\subsection*{Public Member Functions}\begin{CompactItemize}\item template$<$class PAT$>$ void \bf{init} (INIT\_\-TYPE v, PAT $\ast$pat)\item void \bf{insert\_\-vertex} (const vertex\_\-t \&v)\item STORAGE\_\-TYPE \bf{get\-Code} () const \item void \textbf{update\_\-code} ()\label{classcanonical__code_3_01ISET__PROP_00_01vertex__t_00_01edge__t_00_01ALLOC_01_4_06f69cf8758f46a221ff6d92f15eb1bf}\end{CompactItemize}\subsection{Detailed Description}\subsubsection*{template$<$class PP, typename vertex\_\-t, typename edge\_\-t, template$<$ typename $>$ class ALLOC$>$ class canonical\_\-code$<$ ISET\_\-PROP, vertex\_\-t, edge\_\-t, ALLOC $>$}Itemset canonical Code class by partial specialization of generic \doxyref{canonical\_\-code}{p.}{classcanonical__code} class. pattern\_\-prop is set to no\_\-edges(itemset property) \subsection{Member Function Documentation}\index{canonical_code< ISET_PROP, vertex_t, edge_t, ALLOC >@{canonical\_\-code$<$ ISET\_\-PROP, vertex\_\-t, edge\_\-t, ALLOC $>$}!getCode@{getCode}}\index{getCode@{getCode}!canonical_code< ISET_PROP, vertex_t, edge_t, ALLOC >@{canonical\_\-code$<$ ISET\_\-PROP, vertex\_\-t, edge\_\-t, ALLOC $>$}}\subsubsection{\setlength{\rightskip}{0pt plus 5cm}template$<$class PP, typename vertex\_\-t, typename edge\_\-t, template$<$ typename $>$ class ALLOC$>$ STORAGE\_\-TYPE \bf{canonical\_\-code}$<$ ISET\_\-PROP, vertex\_\-t, edge\_\-t, ALLOC $>$::get\-Code () const\hspace{0.3cm}{\tt [inline]}}\label{classcanonical__code_3_01ISET__PROP_00_01vertex__t_00_01edge__t_00_01ALLOC_01_4_f64c94a469efd1f88fa0eae4ebaae39a}Return the canonical code. \index{canonical_code< ISET_PROP, vertex_t, edge_t, ALLOC >@{canonical\_\-code$<$ ISET\_\-PROP, vertex\_\-t, edge\_\-t, ALLOC $>$}!init@{init}}\index{init@{init}!canonical_code< ISET_PROP, vertex_t, edge_t, ALLOC >@{canonical\_\-code$<$ ISET\_\-PROP, vertex\_\-t, edge\_\-t, ALLOC $>$}}\subsubsection{\setlength{\rightskip}{0pt plus 5cm}template$<$class PP, typename vertex\_\-t, typename edge\_\-t, template$<$ typename $>$ class ALLOC$>$ template$<$class PAT$>$ void \bf{canonical\_\-code}$<$ ISET\_\-PROP, vertex\_\-t, edge\_\-t, ALLOC $>$::init (INIT\_\-TYPE {\em v}, PAT $\ast$ {\em pat})\hspace{0.3cm}{\tt [inline]}}\label{classcanonical__code_3_01ISET__PROP_00_01vertex__t_00_01edge__t_00_01ALLOC_01_4_2b59ec2827bf38a2e0f663946ba6fa53}Used to initialize the canonical code. Called from \doxyref{db\_\-reader}{p.}{classdb__reader} so that the pattern's canonical code can be initialized. \begin{Desc}\item[Parameters:]\begin{description}\item[\mbox{$\leftarrow$} {\em v}]It is the vertex for which the code is generated \item[\mbox{$\leftarrow$} {\em pat}]The associated pattern \end{description}\end{Desc}\begin{Desc}\item[Returns:]void \end{Desc}\index{canonical_code< ISET_PROP, vertex_t, edge_t, ALLOC >@{canonical\_\-code$<$ ISET\_\-PROP, vertex\_\-t, edge\_\-t, ALLOC $>$}!insert_vertex@{insert\_\-vertex}}\index{insert_vertex@{insert\_\-vertex}!canonical_code< ISET_PROP, vertex_t, edge_t, ALLOC >@{canonical\_\-code$<$ ISET\_\-PROP, vertex\_\-t, edge\_\-t, ALLOC $>$}}\subsubsection{\setlength{\rightskip}{0pt plus 5cm}template$<$class PP, typename vertex\_\-t, typename edge\_\-t, template$<$ typename $>$ class ALLOC$>$ void \bf{canonical\_\-code}$<$ ISET\_\-PROP, vertex\_\-t, edge\_\-t, ALLOC $>$::insert\_\-vertex (const vertex\_\-t \& {\em v})\hspace{0.3cm}{\tt [inline]}}\label{classcanonical__code_3_01ISET__PROP_00_01vertex__t_00_01edge__t_00_01ALLOC_01_4_67b54c6a06e8e47d05bba349504d7f74}Generate canonical code for each length-1 pattern from static-id \begin{Desc}\item[Parameters:]\begin{description}\item[\mbox{$\leftarrow$} {\em v}]Input vertex of vertex\_\-t datatype. \end{description}\end{Desc}\begin{Desc}\item[Returns:]void \end{Desc}The documentation for this class was generated from the following file:\begin{CompactItemize}\item iset\_\-can\_\-code.h\end{CompactItemize}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -