term.html

来自「SHOP2 一个人工智能里面关于任务分解和任务规划的系统。JSHOP2是其jav」· HTML 代码 · 共 487 行 · 第 1/2 页

HTML
487
字号
</TABLE>&nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TH ALIGN="left"><B>Methods inherited from class java.lang.Object</B></TH></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait</CODE></TD></TR></TABLE>&nbsp;<P><!-- ========= 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="Term()"><!-- --></A><H3>Term</H3><PRE>public <B>Term</B>()</PRE><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="bind(JSHOP2.Term[])"><!-- --></A><H3>bind</H3><PRE>public abstract <A HREF="../JSHOP2/Term.html" title="class in JSHOP2">Term</A> <B>bind</B>(<A HREF="../JSHOP2/Term.html" title="class in JSHOP2">Term</A>[]&nbsp;binding)</PRE><DL><DD>To apply a given binding to this term.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>binding</CODE> - an array of terms, indexed by the integers associated with          variable symbols.<DT><B>Returns:</B><DD>the result of binding.</DL></DD></DL><HR><A NAME="equals(JSHOP2.Term)"><!-- --></A><H3>equals</H3><PRE>public abstract boolean <B>equals</B>(<A HREF="../JSHOP2/Term.html" title="class in JSHOP2">Term</A>&nbsp;t)</PRE><DL><DD>Whether or not another term is equivalent to this term.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>t</CODE> - the term being compared to this term.<DT><B>Returns:</B><DD><code>true</code> if the two terms are equal, <code>false</code>          otherwise.</DL></DD></DL><HR><A NAME="findUnifier(JSHOP2.Term, JSHOP2.Term[])"><!-- --></A><H3>findUnifier</H3><PRE>public abstract boolean <B>findUnifier</B>(<A HREF="../JSHOP2/Term.html" title="class in JSHOP2">Term</A>&nbsp;t,                                    <A HREF="../JSHOP2/Term.html" title="class in JSHOP2">Term</A>[]&nbsp;binding)</PRE><DL><DD>To find a unifier that binds this term to another given term.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>t</CODE> - the term with which we are finding a unifier.<DD><CODE>binding</CODE> - the unifier to be returned.<DT><B>Returns:</B><DD><code>false</code> if the two terms can not be unified,          <code>true</code> otherwise.</DL></DD></DL><HR><A NAME="isGround()"><!-- --></A><H3>isGround</H3><PRE>public abstract boolean <B>isGround</B>()</PRE><DL><DD>Is this term ground (i.e., has no variables)?<P><DD><DL><DT><B>Returns:</B><DD><code>true</code> if this term is ground, <code>false</code>          otherwise.</DL></DD></DL><HR><A NAME="isNil()"><!-- --></A><H3>isNil</H3><PRE>public boolean <B>isNil</B>()</PRE><DL><DD>Is this a <code>NIL</code> term?<P><DD><DL><DT><B>Returns:</B><DD><code>true</code> if this is a <code>NIL</code> term,          <code>false</code> otherwise.</DL></DD></DL><HR><A NAME="merge(JSHOP2.Term[], JSHOP2.Term[])"><!-- --></A><H3>merge</H3><PRE>public static void <B>merge</B>(<A HREF="../JSHOP2/Term.html" title="class in JSHOP2">Term</A>[]&nbsp;inp1,                         <A HREF="../JSHOP2/Term.html" title="class in JSHOP2">Term</A>[]&nbsp;inp2)</PRE><DL><DD>This function is used to merge two bindings. Bindings are represented as  an array of terms, each element showing what its corresponding variable  should be mapped to.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>inp1</CODE> - the first binding, also the result of merging.<DD><CODE>inp2</CODE> - the second binding.</DL></DD></DL><HR><A NAME="merge(JSHOP2.Term[][], int)"><!-- --></A><H3>merge</H3><PRE>public static <A HREF="../JSHOP2/Term.html" title="class in JSHOP2">Term</A>[] <B>merge</B>(<A HREF="../JSHOP2/Term.html" title="class in JSHOP2">Term</A>[][]&nbsp;inp,                           int&nbsp;howMany)</PRE><DL><DD>This function is used to merge an arbitrary number of bindings.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>inp</CODE> - the bindings to be merged. This is a two dimensional array, the          first dimension indexes the different bindings, and the second          dimension indexes variables within each binding.<DD><CODE>howMany</CODE> - how many of available bindings we want to merge. Bindings indexed          0 to <code>howMany</code>-1 are merged.<DT><B>Returns:</B><DD>the result of merging.</DL></DD></DL><HR><A NAME="print()"><!-- --></A><H3>print</H3><PRE>public void <B>print</B>()</PRE><DL><DD>This function is used to print the value of this term.<P><DD><DL></DL></DD></DL><HR><A NAME="toString()"><!-- --></A><H3>toString</H3><PRE>public abstract java.lang.String <B>toString</B>()</PRE><DL><DD>This function is used to produce a printable <code>String</code> showing  the value of this term.<P><DD><DL><DT><B>Overrides:</B><DD><CODE>toString</CODE> in class <CODE>java.lang.Object</CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD>the printable <code>String</code> that shows the value of this          term.</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="../JSHOP2/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>  </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="../JSHOP2/TaskList.html" title="class in JSHOP2"><B>PREV CLASS</B></A>&nbsp;&nbsp;<A HREF="../JSHOP2/TermCall.html" title="class in JSHOP2"><B>NEXT CLASS</B></A></FONT></TD><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">  <A HREF="../index.html?JSHOP2/Term.html" target="_top"><B>FRAMES</B></A>  &nbsp;&nbsp;<A HREF="Term.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;<A HREF="#fields_inherited_from_class_JSHOP2.CompileTimeObject">FIELD</A>&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 + -
显示快捷键?