⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 internaldomain.html

📁 SHOP2 一个人工智能里面关于任务分解和任务规划的系统。JSHOP2是其java版本。
💻 HTML
📖 第 1 页 / 共 3 页
字号:
<A NAME="addCalc(java.lang.String)"><!-- --></A><H3>addCalc</H3><PRE>public void <B>addCalc</B>(java.lang.String&nbsp;what)</PRE><DL><DD>To add the <code>String</code> name of an external code call to the list  of such code calls.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>what</CODE> - the name of the code call being added.</DL></DD></DL><HR><A NAME="addMethod(JSHOP2.InternalMethod)"><!-- --></A><H3>addMethod</H3><PRE>public void <B>addMethod</B>(<A HREF="../JSHOP2/InternalMethod.html" title="class in JSHOP2">InternalMethod</A>&nbsp;method)</PRE><DL><DD>To add a method to the list of methods read from the file.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>method</CODE> - the method to be added.</DL></DD></DL><HR><A NAME="addOperator(JSHOP2.InternalOperator)"><!-- --></A><H3>addOperator</H3><PRE>public void <B>addOperator</B>(<A HREF="../JSHOP2/InternalOperator.html" title="class in JSHOP2">InternalOperator</A>&nbsp;op)</PRE><DL><DD>To add an operator to the list of operators read from the file.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>op</CODE> - the operator to be added.</DL></DD></DL><HR><A NAME="addPrimitiveTask(java.lang.String)"><!-- --></A><H3>addPrimitiveTask</H3><PRE>public int <B>addPrimitiveTask</B>(java.lang.String&nbsp;s)</PRE><DL><DD>To add a <code>String</code> used as a name of a primitive task in the  domain description to the list of primitive task names, in case it has not  been added before.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>s</CODE> - the <code>String</code> to be added.<DT><B>Returns:</B><DD>the index assigned to this name.</DL></DD></DL><HR><A NAME="close(int)"><!-- --></A><H3>close</H3><PRE>public void <B>close</B>(int&nbsp;varsMaxSize)           throws java.io.IOException</PRE><DL><DD>This function writes the Java code necessary to produce this domain at  run time in the appropriate file.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>varsMaxSize</CODE> - the maximum number of variables seen in any variable scope in          this domain.<DT><B>Throws:</B><DD><CODE>java.io.IOException</CODE></DL></DD></DL><HR><A NAME="commandInitialize()"><!-- --></A><H3>commandInitialize</H3><PRE>public void <B>commandInitialize</B>()                       throws java.io.IOException</PRE><DL><DD>This function performs some necessary initialization when a problem file  is being compiled, mainly reading and parsing the text file associated  with the domain the planning problem is defined in.<P><DD><DL><DT><B>Throws:</B><DD><CODE>java.io.IOException</CODE></DL></DD></DL><HR><A NAME="commandToCode(java.util.LinkedList, java.util.LinkedList)"><!-- --></A><H3>commandToCode</H3><PRE>public void <B>commandToCode</B>(java.util.LinkedList&lt;java.util.Vector&lt;<A HREF="../JSHOP2/Predicate.html" title="class in JSHOP2">Predicate</A>&gt;&gt;&nbsp;states,                          java.util.LinkedList&lt;<A HREF="../JSHOP2/TaskList.html" title="class in JSHOP2">TaskList</A>&gt;&nbsp;taskLists)                   throws java.io.IOException</PRE><DL><DD>This function writes the Java code necessary to produce these planning  problems at run time in the appropriate file.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>states</CODE> - the list of initial state of the world, one per each planning          problem.<DD><CODE>taskLists</CODE> - the list of the task lists to be achieved, one per each planning          problem.<DT><B>Throws:</B><DD><CODE>java.io.IOException</CODE></DL></DD></DL><HR><A NAME="dumpStringArray(java.io.BufferedWriter, java.util.Vector)"><!-- --></A><H3>dumpStringArray</H3><PRE>public void <B>dumpStringArray</B>(java.io.BufferedWriter&nbsp;dest,                            java.util.Vector&lt;?&gt;&nbsp;list)                     throws java.io.IOException</PRE><DL><DD>This function saves a given <code>Vector</code> of <code>String</code>s  in a given file.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>dest</CODE> - the file where the <code>Vector</code> is to be saved.<DD><CODE>list</CODE> - the <code>Vector</code> to be saved.<DT><B>Throws:</B><DD><CODE>java.io.IOException</CODE></DL></DD></DL><HR><A NAME="getAxiomNo()"><!-- --></A><H3>getAxiomNo</H3><PRE>public int <B>getAxiomNo</B>()</PRE><DL><DD>This function returns the number of axioms in this domain.<P><DD><DL><DT><B>Returns:</B><DD>the number of axioms in this domain.</DL></DD></DL><HR><A NAME="getCompoundTasks()"><!-- --></A><H3>getCompoundTasks</H3><PRE>public java.util.Vector&lt;java.lang.String&gt; <B>getCompoundTasks</B>()</PRE><DL><DD>This function returns the <code>Vector</code> where the  <code>String</code> names of the compound tasks in this domain are  stored.<P><DD><DL><DT><B>Returns:</B><DD>the <code>Vector</code> where the <code>String</code> names of          the compound tasks in this domain are stored.</DL></DD></DL><HR><A NAME="getConstants()"><!-- --></A><H3>getConstants</H3><PRE>public java.util.Vector&lt;java.lang.String&gt; <B>getConstants</B>()</PRE><DL><DD>This function returns the <code>Vector</code> where the  <code>String</code> names of the constant symbols in this domain are  stored.<P><DD><DL><DT><B>Returns:</B><DD>the <code>Vector</code> where the <code>String</code> names of          the constant symbols in this domain are stored.</DL></DD></DL><HR><A NAME="getMethodNo()"><!-- --></A><H3>getMethodNo</H3><PRE>public int <B>getMethodNo</B>()</PRE><DL><DD>This function returns the number of methods in this domain.<P><DD><DL><DT><B>Returns:</B><DD>the number of methods in this domain.</DL></DD></DL><HR><A NAME="getName()"><!-- --></A><H3>getName</H3><PRE>public java.lang.String <B>getName</B>()</PRE><DL><DD>This function returns the <code>String</code> name of this domain.<P><DD><DL><DT><B>Returns:</B><DD>the <code>String</code> name of this domain.</DL></DD></DL><HR><A NAME="getPrimitiveTasks()"><!-- --></A><H3>getPrimitiveTasks</H3><PRE>public java.util.Vector&lt;java.lang.String&gt; <B>getPrimitiveTasks</B>()</PRE><DL><DD>This function returns the <code>Vector</code> where the  <code>String</code> names of the primitive tasks in this domain are  stored.<P><DD><DL><DT><B>Returns:</B><DD>the <code>Vector</code> where the <code>String</code> names of          the primitive tasks in this domain are stored.</DL></DD></DL><HR><A NAME="main(java.lang.String[])"><!-- --></A><H3>main</H3><PRE>public static void <B>main</B>(java.lang.String[]&nbsp;args)                 throws java.lang.Exception</PRE><DL><DD>The main function that is called to do the compilation.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>args</CODE> - the command line arguments.<DT><B>Throws:</B><DD><CODE>java.lang.Exception</CODE></DL></DD></DL><HR><A NAME="readStringArray(java.io.BufferedReader, java.util.Vector)"><!-- --></A><H3>readStringArray</H3><PRE>public int <B>readStringArray</B>(java.io.BufferedReader&nbsp;src,                           java.util.Vector&lt;java.lang.String&gt;&nbsp;list)                    throws java.io.IOException</PRE><DL><DD>This function reads a <code>Vector</code> of <code>String</code>s from  a given file.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>src</CODE> - the input file.<DD><CODE>list</CODE> - the <code>Vector</code> to be read.<DT><B>Returns:</B><DD>the number of the elements in the <code>Vector</code>.<DT><B>Throws:</B><DD><CODE>java.io.IOException</CODE></DL></DD></DL><HR><A NAME="setName(java.lang.String)"><!-- --></A><H3>setName</H3><PRE>public void <B>setName</B>(java.lang.String&nbsp;nameIn)</PRE><DL><DD>To set the name of this planning domain.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>nameIn</CODE> - the name of this planning domain.</DL></DD></DL><HR><A NAME="setProbName(java.lang.String)"><!-- --></A><H3>setProbName</H3><PRE>public void <B>setProbName</B>(java.lang.String&nbsp;probNameIn)</PRE><DL><DD>To set the name of this planning problem.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>probNameIn</CODE> - the name of this planning problem.</DL></DD></DL><HR><A NAME="vectorToCode(java.util.Vector, java.lang.String)"><!-- --></A><H3>vectorToCode</H3><PRE>public java.lang.String <B>vectorToCode</B>(java.util.Vector&lt;java.lang.String&gt;&nbsp;list,                                     java.lang.String&nbsp;name)</PRE><DL><DD>This function produces the Java code needed to allocate and initialize an  array the elements of which are drawn from a given <code>Vector</code> of  <code>String</code>s.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>list</CODE> - the <code>Vector</code> the elements of which are to be stored in          the resulting array.<DD><CODE>name</CODE> - the name of the array where the elements of the          <code>Vector</code> are to be stored.<DT><B>Returns:</B><DD>the produced Java code.</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/InternalAxiom.html" title="class in JSHOP2"><B>PREV CLASS</B></A>&nbsp;&nbsp;<A HREF="../JSHOP2/InternalElement.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/InternalDomain.html" target="_top"><B>FRAMES</B></A>  &nbsp;&nbsp;<A HREF="InternalDomain.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 + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -