⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 forward_cursor.tex

📁 一个类似STL的自动机的源代码库
💻 TEX
字号:
\input{cursor}\verb+char_type letter() const+ & forward cursor & Return the letteron the pointed transition. The cursor must have been set to point to adefined transition beforehand by succesfully calling\verb+first_transition+, \verb+next_transition()+ or \verb+find+. \\\hline \verb+bool first_transition()+ & forward cursor & Make the cursorpoint to the first element of the transitions sequence of the sourcestate. Return \verb+true+ if there is such an element (if anytransition is defined), otherwise the pointed transition isundefined. \\ \hline \verb+bool next_transition()+ & forward cursor & Move the cursor tothe next element of the transitions sequence of source state. Return\verb+true+ if there is such an element (the cursor is not at the endof the sequence), otherwise the pointed transition isundefined. \verb+first_transition+ must have beensuccessfully called prior to using this method. \\ \hline\verb+bool find(const Alphabet &a)+ & forward cursor & Make the cursorpoint to the transition labelled with \verb+a+. Return \verb+true+ ifsuch a transition exists, otherwise the pointed transition isundefined. \\ \hline \verb+void forward()+ & forward cursor & Move forward on the currentlypointed transition. The cursor must have been set to point to adefined transition beforehand by succesfully calling\verb+first_transition+, \verb+next_transition()+ or \verb+find+. \\\hline \verb+bool aim_final() const+ & forward cursor & Return \verb+true+ ifthe aim state is final. The cursor must have been set to point to adefined transition beforehand by succesfully calling\verb+first_transition+, \verb+next_transition()+ or \verb+find+. \\\hline \verb+tag_type aim_tag() const+ & forward cursor & Return the objectassociated with the aim state. The cursor must have been set to point to adefined transition beforehand by succesfully calling\verb+first_transition+, \verb+next_transition()+ or \verb+find+. \\\hline \verb+state_type aim() const+ & forward cursor & Return the handle ofthe aim state the cursor is point to. The cursor must have been set to point to adefined transition beforehand by succesfully calling\verb+first_transition+, \verb+next_transition()+ or \verb+find+. \\ \hline

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -