parser.html
来自「数据挖掘的最常用工具。由于开源」· HTML 代码 · 共 716 行 · 第 1/3 页
HTML
716 行
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"><!--NewPage--><HTML><HEAD><!-- Generated by javadoc (build 1.5.0_13) on Tue Jul 15 15:48:51 NZST 2008 --><TITLE>Parser</TITLE><META NAME="keywords" CONTENT="weka.filters.unsupervised.instance.subsetbyexpression.Parser class"><LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../../stylesheet.css" TITLE="Style"><SCRIPT type="text/javascript">function windowTitle(){ parent.document.title="Parser";}</SCRIPT><NOSCRIPT></NOSCRIPT></HEAD><BODY BGCOLOR="white" onload="windowTitle();"><!-- ========= START OF TOP NAVBAR ======= --><A NAME="navbar_top"><!-- --></A><A HREF="#skip-navbar_top" 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_top_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> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </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> </TD> </TR></TABLE></TD><TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM></EM></TD></TR><TR><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> PREV CLASS <A HREF="../../../../../weka/filters/unsupervised/instance/subsetbyexpression/Scanner.html" title="class in weka.filters.unsupervised.instance.subsetbyexpression"><B>NEXT CLASS</B></A></FONT></TD><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../../../index.html?weka/filters/unsupervised/instance/subsetbyexpression/Parser.html" target="_top"><B>FRAMES</B></A> <A HREF="Parser.html" target="_top"><B>NO FRAMES</B></A> <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: NESTED | <A HREF="#fields_inherited_from_class_weka.core.parser.java_cup.runtime.lr_parser">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD></TR></TABLE><A NAME="skip-navbar_top"></A><!-- ========= END OF TOP NAVBAR ========= --><HR><!-- ======== START OF CLASS DATA ======== --><H2><FONT SIZE="-1">weka.filters.unsupervised.instance.subsetbyexpression</FONT><BR>Class Parser</H2><PRE>java.lang.Object <IMG SRC="../../../../../resources/inherit.gif" ALT="extended by "><A HREF="../../../../../weka/core/parser/java_cup/runtime/lr_parser.html" title="class in weka.core.parser.java_cup.runtime">weka.core.parser.java_cup.runtime.lr_parser</A> <IMG SRC="../../../../../resources/inherit.gif" ALT="extended by "><B>weka.filters.unsupervised.instance.subsetbyexpression.Parser</B></PRE><HR><DL><DT><PRE>public class <B>Parser</B><DT>extends <A HREF="../../../../../weka/core/parser/java_cup/runtime/lr_parser.html" title="class in weka.core.parser.java_cup.runtime">lr_parser</A></DL></PRE><P>CUP v0.11a beta 20060608 generated parser.<P><P><DL><DT><B>Version:</B></DT> <DD>Thu Jun 19 13:14:21 NZST 2008</DD></DL><HR><P><!-- =========== FIELD SUMMARY =========== --><A NAME="field_summary"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"><B>Field Summary</B></FONT></TH></TR></TABLE> <A NAME="fields_inherited_from_class_weka.core.parser.java_cup.runtime.lr_parser"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TH ALIGN="left"><B>Fields inherited from class weka.core.parser.java_cup.runtime.<A HREF="../../../../../weka/core/parser/java_cup/runtime/lr_parser.html" title="class in weka.core.parser.java_cup.runtime">lr_parser</A></B></TH></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="../../../../../weka/core/parser/java_cup/runtime/lr_parser.html#symbolFactory">symbolFactory</A></CODE></TD></TR></TABLE> <!-- ======== CONSTRUCTOR SUMMARY ======== --><A NAME="constructor_summary"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"><B>Constructor Summary</B></FONT></TH></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><B><A HREF="../../../../../weka/filters/unsupervised/instance/subsetbyexpression/Parser.html#Parser()">Parser</A></B>()</CODE><BR> Default constructor.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><B><A HREF="../../../../../weka/filters/unsupervised/instance/subsetbyexpression/Parser.html#Parser(weka.core.parser.java_cup.runtime.Scanner)">Parser</A></B>(<A HREF="../../../../../weka/core/parser/java_cup/runtime/Scanner.html" title="interface in weka.core.parser.java_cup.runtime">Scanner</A> s)</CODE><BR> Constructor which sets the default scanner.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><B><A HREF="../../../../../weka/filters/unsupervised/instance/subsetbyexpression/Parser.html#Parser(weka.core.parser.java_cup.runtime.Scanner, weka.core.parser.java_cup.runtime.SymbolFactory)">Parser</A></B>(<A HREF="../../../../../weka/core/parser/java_cup/runtime/Scanner.html" title="interface in weka.core.parser.java_cup.runtime">Scanner</A> s, <A HREF="../../../../../weka/core/parser/java_cup/runtime/SymbolFactory.html" title="interface in weka.core.parser.java_cup.runtime">SymbolFactory</A> sf)</CODE><BR> Constructor which sets the default scanner.</TD></TR></TABLE> <!-- ========== METHOD SUMMARY =========== --><A NAME="method_summary"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"><B>Method Summary</B></FONT></TH></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> short[][]</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../weka/filters/unsupervised/instance/subsetbyexpression/Parser.html#action_table()">action_table</A></B>()</CODE><BR> Access to parse-action table.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../../../weka/core/parser/java_cup/runtime/Symbol.html" title="class in weka.core.parser.java_cup.runtime">Symbol</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../weka/filters/unsupervised/instance/subsetbyexpression/Parser.html#do_action(int, weka.core.parser.java_cup.runtime.lr_parser, java.util.Stack, int)">do_action</A></B>(int act_num, <A HREF="../../../../../weka/core/parser/java_cup/runtime/lr_parser.html" title="class in weka.core.parser.java_cup.runtime">lr_parser</A> parser, java.util.Stack stack, int top)</CODE><BR> Invoke a user supplied parse action.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> int</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../weka/filters/unsupervised/instance/subsetbyexpression/Parser.html#EOF_sym()">EOF_sym</A></B>()</CODE><BR> <code>EOF</code> Symbol index.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> int</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../weka/filters/unsupervised/instance/subsetbyexpression/Parser.html#error_sym()">error_sym</A></B>()</CODE><BR> <code>error</code> Symbol index.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static <A HREF="../../../../../weka/core/Instances.html" title="class in weka.core">Instances</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../weka/filters/unsupervised/instance/subsetbyexpression/Parser.html#filter(java.lang.String, weka.core.Instances)">filter</A></B>(java.lang.String expression, <A HREF="../../../../../weka/core/Instances.html" title="class in weka.core">Instances</A> input)</CODE><BR> Filters the input dataset against the provided expression.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> java.util.Hashtable</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../weka/filters/unsupervised/instance/subsetbyexpression/Parser.html#getAttributeTypes()">getAttributeTypes</A></B>()</CODE><BR> Returns the current attribute - attribute-type relation in use.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> java.lang.Boolean</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../weka/filters/unsupervised/instance/subsetbyexpression/Parser.html#getResult()">getResult</A></B>()</CODE><BR> Returns the result of the evaluation.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> java.util.HashMap</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../weka/filters/unsupervised/instance/subsetbyexpression/Parser.html#getSymbols()">getSymbols</A></B>()</CODE><BR> Returns the current variable - value relation in use.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static java.lang.Object</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../weka/filters/unsupervised/instance/subsetbyexpression/Parser.html#getValue(weka.core.Instance, int)">getValue</A></B>(<A HREF="../../../../../weka/core/Instance.html" title="class in weka.core">Instance</A> instance,
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?