lr_item_core.html

来自「数据挖掘的最常用工具。由于开源」· HTML 代码 · 共 584 行 · 第 1/2 页

HTML
584
字号
lr_item_core</H3><PRE>public <B>lr_item_core</B>(<A HREF="../../../../weka/core/parser/java_cup/production.html" title="class in weka.core.parser.java_cup">production</A>&nbsp;prod,                    int&nbsp;pos)             throws <A HREF="../../../../weka/core/parser/java_cup/internal_error.html" title="class in weka.core.parser.java_cup">internal_error</A></PRE><DL><DD>Full constructor.<P><DL><DT><B>Parameters:</B><DD><CODE>prod</CODE> - production this item uses.<DD><CODE>pos</CODE> - position of the "dot" within the item.<DT><B>Throws:</B><DD><CODE><A HREF="../../../../weka/core/parser/java_cup/internal_error.html" title="class in weka.core.parser.java_cup">internal_error</A></CODE></DL></DL><HR><A NAME="lr_item_core(weka.core.parser.java_cup.production)"><!-- --></A><H3>lr_item_core</H3><PRE>public <B>lr_item_core</B>(<A HREF="../../../../weka/core/parser/java_cup/production.html" title="class in weka.core.parser.java_cup">production</A>&nbsp;prod)             throws <A HREF="../../../../weka/core/parser/java_cup/internal_error.html" title="class in weka.core.parser.java_cup">internal_error</A></PRE><DL><DD>Constructor for dot at start of right hand side.<P><DL><DT><B>Parameters:</B><DD><CODE>prod</CODE> - production this item uses.<DT><B>Throws:</B><DD><CODE><A HREF="../../../../weka/core/parser/java_cup/internal_error.html" title="class in weka.core.parser.java_cup">internal_error</A></CODE></DL></DL><!-- ============ METHOD DETAIL ========== --><A NAME="method_detail"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"><B>Method Detail</B></FONT></TH></TR></TABLE><A NAME="the_production()"><!-- --></A><H3>the_production</H3><PRE>public <A HREF="../../../../weka/core/parser/java_cup/production.html" title="class in weka.core.parser.java_cup">production</A> <B>the_production</B>()</PRE><DL><DD>The production for the item.<P><DD><DL></DL></DD></DL><HR><A NAME="dot_pos()"><!-- --></A><H3>dot_pos</H3><PRE>public int <B>dot_pos</B>()</PRE><DL><DD>The position of the "dot" -- this indicates the part of the production   that the marker is before, so 0 indicates a dot at the beginning of   the RHS.<P><DD><DL></DL></DD></DL><HR><A NAME="dot_at_end()"><!-- --></A><H3>dot_at_end</H3><PRE>public boolean <B>dot_at_end</B>()</PRE><DL><DD>Is the dot at the end of the production?<P><DD><DL></DL></DD></DL><HR><A NAME="symbol_after_dot()"><!-- --></A><H3>symbol_after_dot</H3><PRE>public <A HREF="../../../../weka/core/parser/java_cup/symbol.html" title="class in weka.core.parser.java_cup">symbol</A> <B>symbol_after_dot</B>()</PRE><DL><DD>Return the symbol after the dot.  If there is no symbol after the dot  we return null.<P><DD><DL></DL></DD></DL><HR><A NAME="dot_before_nt()"><!-- --></A><H3>dot_before_nt</H3><PRE>public <A HREF="../../../../weka/core/parser/java_cup/non_terminal.html" title="class in weka.core.parser.java_cup">non_terminal</A> <B>dot_before_nt</B>()</PRE><DL><DD>Determine if we have a dot before a non terminal, and if so which one   (return null or the non terminal).<P><DD><DL></DL></DD></DL><HR><A NAME="shift_core()"><!-- --></A><H3>shift_core</H3><PRE>public <A HREF="../../../../weka/core/parser/java_cup/lr_item_core.html" title="class in weka.core.parser.java_cup">lr_item_core</A> <B>shift_core</B>()                        throws <A HREF="../../../../weka/core/parser/java_cup/internal_error.html" title="class in weka.core.parser.java_cup">internal_error</A></PRE><DL><DD>Produce a new lr_item_core that results from shifting the dot one   position to the right.<P><DD><DL><DT><B>Throws:</B><DD><CODE><A HREF="../../../../weka/core/parser/java_cup/internal_error.html" title="class in weka.core.parser.java_cup">internal_error</A></CODE></DL></DD></DL><HR><A NAME="core_equals(weka.core.parser.java_cup.lr_item_core)"><!-- --></A><H3>core_equals</H3><PRE>public boolean <B>core_equals</B>(<A HREF="../../../../weka/core/parser/java_cup/lr_item_core.html" title="class in weka.core.parser.java_cup">lr_item_core</A>&nbsp;other)</PRE><DL><DD>Equality comparison for the core only.  This is separate out because we   need separate access in a super class.<P><DD><DL></DL></DD></DL><HR><A NAME="equals(weka.core.parser.java_cup.lr_item_core)"><!-- --></A><H3>equals</H3><PRE>public boolean <B>equals</B>(<A HREF="../../../../weka/core/parser/java_cup/lr_item_core.html" title="class in weka.core.parser.java_cup">lr_item_core</A>&nbsp;other)</PRE><DL><DD>Equality comparison.<P><DD><DL></DL></DD></DL><HR><A NAME="equals(java.lang.Object)"><!-- --></A><H3>equals</H3><PRE>public boolean <B>equals</B>(java.lang.Object&nbsp;other)</PRE><DL><DD>Generic equality comparison.<P><DD><DL><DT><B>Overrides:</B><DD><CODE>equals</CODE> in class <CODE>java.lang.Object</CODE></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="core_hashCode()"><!-- --></A><H3>core_hashCode</H3><PRE>public int <B>core_hashCode</B>()</PRE><DL><DD>Hash code for the core (separated so we keep non overridden version).<P><DD><DL></DL></DD></DL><HR><A NAME="hashCode()"><!-- --></A><H3>hashCode</H3><PRE>public int <B>hashCode</B>()</PRE><DL><DD>Hash code for the item.<P><DD><DL><DT><B>Overrides:</B><DD><CODE>hashCode</CODE> in class <CODE>java.lang.Object</CODE></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="to_simple_string()"><!-- --></A><H3>to_simple_string</H3><PRE>public java.lang.String <B>to_simple_string</B>()                                  throws <A HREF="../../../../weka/core/parser/java_cup/internal_error.html" title="class in weka.core.parser.java_cup">internal_error</A></PRE><DL><DD>Convert to a string (separated out from toString() so we can call it  from subclass that overrides toString()).<P><DD><DL><DT><B>Throws:</B><DD><CODE><A HREF="../../../../weka/core/parser/java_cup/internal_error.html" title="class in weka.core.parser.java_cup">internal_error</A></CODE></DL></DD></DL><HR><A NAME="toString()"><!-- --></A><H3>toString</H3><PRE>public java.lang.String <B>toString</B>()</PRE><DL><DD>Convert to a string<P><DD><DL><DT><B>Overrides:</B><DD><CODE>toString</CODE> in class <CODE>java.lang.Object</CODE></DL></DD><DD><DL></DL></DD></DL><!-- ========= END OF CLASS DATA ========= --><HR><!-- ======= START OF BOTTOM NAVBAR ====== --><A NAME="navbar_bottom"><!-- --></A><A HREF="#skip-navbar_bottom" title="Skip navigation links"></A><TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""><TR><TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"><A NAME="navbar_bottom_firstrow"><!-- --></A><TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">  <TR ALIGN="center" VALIGN="top">  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="http://www.cs.waikato.ac.nz/ml/weka/" target="_blank"><FONT CLASS="NavBarFont1"><B>Weka's home</B></FONT></A>&nbsp;</TD>  </TR></TABLE></TD><TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM></EM></TD></TR><TR><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">&nbsp;<A HREF="../../../../weka/core/parser/java_cup/Lexer.html" title="class in weka.core.parser.java_cup"><B>PREV CLASS</B></A>&nbsp;&nbsp;<A HREF="../../../../weka/core/parser/java_cup/Main.html" title="class in weka.core.parser.java_cup"><B>NEXT CLASS</B></A></FONT></TD><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">  <A HREF="../../../../index.html?weka/core/parser/java_cup/lr_item_core.html" target="_top"><B>FRAMES</B></A>  &nbsp;&nbsp;<A HREF="lr_item_core.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;&nbsp;<SCRIPT type="text/javascript">  <!--  if(window==top) {    document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>');  }  //--></SCRIPT><NOSCRIPT>  <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A></NOSCRIPT></FONT></TD></TR><TR><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD></TR></TABLE><A NAME="skip-navbar_bottom"></A><!-- ======== END OF BOTTOM NAVBAR ======= --><HR></BODY></HTML>

⌨️ 快捷键说明

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