📄 mathematicalexpression.treenode.html
字号:
<P><!-- ============ FIELD DETAIL =========== --><A NAME="field_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>Field Detail</B></FONT></TH></TR></TABLE><A NAME="funs"><!-- --></A><H3>funs</H3><PRE>public static java.lang.String[] <B>funs</B></PRE><DL><DD>The known functions<P><DL></DL></DL><HR><A NAME="arity"><!-- --></A><H3>arity</H3><PRE>public static int[] <B>arity</B></PRE><DL><DD>The arity of the known functions<P><DL></DL></DL><!-- ========= CONSTRUCTOR DETAIL ======== --><A NAME="constructor_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>Constructor Detail</B></FONT></TH></TR></TABLE><A NAME="MathematicalExpression.TreeNode(double)"><!-- --></A><H3>MathematicalExpression.TreeNode</H3><PRE>public <B>MathematicalExpression.TreeNode</B>(double v)</PRE><DL><DD>Construct a constant node<P><DL><DT><B>Parameters:</B><DD><CODE>v</CODE> - the value of the constant</DL></DL><HR><A NAME="MathematicalExpression.TreeNode(weka.core.MathematicalExpression.TreeNode)"><!-- --></A><H3>MathematicalExpression.TreeNode</H3><PRE>public <B>MathematicalExpression.TreeNode</B>(<A HREF="../../weka/core/MathematicalExpression.TreeNode.html" title="class in weka.core">MathematicalExpression.TreeNode</A> n)</PRE><DL><DD>Construct a constant node<P><DL><DT><B>Parameters:</B><DD><CODE>n</CODE> - the value of the constant</DL></DL><HR><A NAME="MathematicalExpression.TreeNode(java.lang.String)"><!-- --></A><H3>MathematicalExpression.TreeNode</H3><PRE>public <B>MathematicalExpression.TreeNode</B>(java.lang.String v)</PRE><DL><DD>Construct a variable node<P><DL><DT><B>Parameters:</B><DD><CODE>v</CODE> - the name of the variable</DL></DL><HR><A NAME="MathematicalExpression.TreeNode(java.util.Vector)"><!-- --></A><H3>MathematicalExpression.TreeNode</H3><PRE>public <B>MathematicalExpression.TreeNode</B>(java.util.Vector p)</PRE><DL><DD>Construct an ifelse node<P><DL><DT><B>Parameters:</B><DD><CODE>p</CODE> - parameters of the ifelse</DL></DL><HR><A NAME="MathematicalExpression.TreeNode(java.lang.String, java.util.Vector)"><!-- --></A><H3>MathematicalExpression.TreeNode</H3><PRE>public <B>MathematicalExpression.TreeNode</B>(java.lang.String f, java.util.Vector ops) throws java.lang.Exception</PRE><DL><DD>Construct a function node<P><DL><DT><B>Parameters:</B><DD><CODE>f</CODE> - the name of the function<DD><CODE>ops</CODE> - the operands of the function<DT><B>Throws:</B><DD><CODE>java.lang.Exception</CODE> - if function is unknown or wrong arity</DL></DL><HR><A NAME="MathematicalExpression.TreeNode(int, java.util.Vector)"><!-- --></A><H3>MathematicalExpression.TreeNode</H3><PRE>public <B>MathematicalExpression.TreeNode</B>(int t, java.util.Vector ops) throws java.lang.Exception</PRE><DL><DD>Construct an operator node<P><DL><DT><B>Parameters:</B><DD><CODE>t</CODE> - the operator '+','-','*','/'<DD><CODE>ops</CODE> - the operands of the operator<DT><B>Throws:</B><DD><CODE>java.lang.Exception</CODE> - is something goes wrong</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="eval(java.util.Map)"><!-- --></A><H3>eval</H3><PRE>public double <B>eval</B>(java.util.Map symbols) throws java.lang.Exception</PRE><DL><DD>Evaluate the tree with for specific values of the variables<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>symbols</CODE> - a map associating a Double value to each variable name<DT><B>Returns:</B><DD>the evaluation<DT><B>Throws:</B><DD><CODE>java.lang.Exception</CODE> - if a symbol, function or node type is unknown</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> </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"> <A HREF="../../weka/core/MathematicalExpression.Tokenizer.html" title="class in weka.core"><B>PREV CLASS</B></A> <A HREF="../../weka/core/Matrix.html" title="class in weka.core"><B>NEXT CLASS</B></A></FONT></TD><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../index.html?weka/core/MathematicalExpression.TreeNode.html" target="_top"><B>FRAMES</B></A> <A HREF="MathematicalExpression.TreeNode.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="#field_summary">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: <A HREF="#field_detail">FIELD</A> | <A HREF="#constructor_detail">CONSTR</A> | <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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -