plan.html

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

HTML
460
字号
<TD><CODE>equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait</CODE></TD></TR></TABLE>&nbsp;<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="cost"><!-- --></A><H3>cost</H3><PRE>private double <B>cost</B></PRE><DL><DD>The cost of the plan.<P><DL></DL></DL><HR><A NAME="endl"><!-- --></A><H3>endl</H3><PRE>static final java.lang.String <B>endl</B></PRE><DL><DD>The new line character in the platform JSHOP2 is running on.<P><DL></DL></DL><HR><A NAME="ops"><!-- --></A><H3>ops</H3><PRE>private java.util.LinkedList&lt;<A HREF="../JSHOP2/Predicate.html" title="class in JSHOP2">Predicate</A>&gt; <B>ops</B></PRE><DL><DD>The plan as a <code>LinkedList</code> of ground instances of operators.<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="Plan()"><!-- --></A><H3>Plan</H3><PRE>public <B>Plan</B>()</PRE><DL><DD>To initialize the plan to an empty list.<P></DL><HR><A NAME="Plan(java.util.LinkedList, double)"><!-- --></A><H3>Plan</H3><PRE>private <B>Plan</B>(java.util.LinkedList&lt;<A HREF="../JSHOP2/Predicate.html" title="class in JSHOP2">Predicate</A>&gt;&nbsp;opsIn,             double&nbsp;costIn)</PRE><DL><DD>This function is used by objects of this class to clone themselves.<P><DL><DT><B>Parameters:</B><DD><CODE>opsIn</CODE> - the operators in the plan.<DD><CODE>costIn</CODE> - the cost of the plan.</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="addOperator(JSHOP2.Operator, JSHOP2.Term[])"><!-- --></A><H3>addOperator</H3><PRE>public double <B>addOperator</B>(<A HREF="../JSHOP2/Operator.html" title="class in JSHOP2">Operator</A>&nbsp;op,                          <A HREF="../JSHOP2/Term.html" title="class in JSHOP2">Term</A>[]&nbsp;binding)</PRE><DL><DD>To add an operator instance to the end of the plan.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>op</CODE> - the operator the instance of which is being added.<DD><CODE>binding</CODE> - the binding to instantiate the operator.<DT><B>Returns:</B><DD>the cost of the operator instance being added.</DL></DD></DL><HR><A NAME="clone()"><!-- --></A><H3>clone</H3><PRE>public java.lang.Object <B>clone</B>()</PRE><DL><DD>To clone an object of this class.<P><DD><DL><DT><B>Overrides:</B><DD><CODE>clone</CODE> in class <CODE>java.lang.Object</CODE></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="getOps()"><!-- --></A><H3>getOps</H3><PRE>public java.util.LinkedList&lt;<A HREF="../JSHOP2/Predicate.html" title="class in JSHOP2">Predicate</A>&gt; <B>getOps</B>()</PRE><DL><DD>To get the sequence of operators represented by this object.<P><DD><DL><DT><B>Returns:</B><DD>A <code>LinkedList</code> of operator instances in this plan.</DL></DD></DL><HR><A NAME="removeOperator(double)"><!-- --></A><H3>removeOperator</H3><PRE>public void <B>removeOperator</B>(double&nbsp;opCost)</PRE><DL><DD>To remove the operator instance at the end of the plan.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>opCost</CODE> - the cost of the operator instance to be removed.</DL></DD></DL><HR><A NAME="toString()"><!-- --></A><H3>toString</H3><PRE>public java.lang.String <B>toString</B>()</PRE><DL><DD>This function returns a printable <code>String</code> representation of  this plan.<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 <code>String</code> representation of this plan.</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/Operator.html" title="class in JSHOP2"><B>PREV CLASS</B></A>&nbsp;&nbsp;<A HREF="../JSHOP2/PlanStepInfo.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/Plan.html" target="_top"><B>FRAMES</B></A>  &nbsp;&nbsp;<A HREF="Plan.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="#field_summary">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;<A HREF="#field_detail">FIELD</A>&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 + -
显示快捷键?