From: <jom...@us...> - 2008-09-21 19:45:05
|
Revision: 1375 http://jason.svn.sourceforge.net/jason/?rev=1375&view=rev Author: jomifred Date: 2008-09-21 19:45:01 +0000 (Sun, 21 Sep 2008) Log Message: ----------- use UMLGraph to produce UML diagrams in api doc Modified Paths: -------------- trunk/build.xml trunk/doc/index.html trunk/src/jason/bb/BeliefBase.java trunk/src/jason/bb/ChainBBAdapter.java Added Paths: ----------- trunk/lib/UmlGraph.jar Modified: trunk/build.xml =================================================================== --- trunk/build.xml 2008-09-18 17:42:52 UTC (rev 1374) +++ trunk/build.xml 2008-09-21 19:45:01 UTC (rev 1375) @@ -220,12 +220,28 @@ use="true" version="true" author="true" - windowtitle="Jason - AgentSpeak Java Interpreter"> + windowtitle="Jason - AgentSpeak Java Interpreter" + stylesheetfile="doc/faq.css"> <classpath refid="project.classpath" /> + <doclet name="org.umlgraph.doclet.UmlGraphDoc" path="lib/UMLGraph.jar"> + <!--param name="-inferrel"/ --> + <!--param name="-inferdep"/--> + <param name="-hide" value="java.*"/> + <!--param name="-collpackages" value="java.util.*"/--> + <param name="-qualify"/> + <!--param name="-collapsible"/--> + <param name="-postfixpackage"/> + <param name="-nodefontsize" value="16"/> + <param name="-nodefontpackagesize" value="12"/> + <param name="-edgefontsize" value="14"/> + + <param name="-link" value="http://java.sun.com/j2se/1.5.0/docs/guide/javadoc/doclet/spec"/> + <param name="-link" value="http://java.sun.com/j2se/1.5/docs/api"/> + </doclet> </javadoc> - <exec executable="doxygen"> + <!--exec executable="doxygen"> <arg line="doc/jason.doxygen"/> - </exec> + </exec--> </target> <target name="dist" depends="cleanExamples,plugin" description="Build distribution."> @@ -263,7 +279,6 @@ <delete dir="${distDir}/bin/classes" /> <delete dir="${distDir}/bin/classes-eclipse" /> <delete dir="${distDir}/doc/faq" /> - <delete dir="${distDir}/doc/api" /> <delete dir="${distDir}/doc/mini-tutorial/src" /> <tar compression="gzip" tarfile="${distFile}.tgz" longfile="gnu"> Modified: trunk/doc/index.html =================================================================== --- trunk/doc/index.html 2008-09-18 17:42:52 UTC (rev 1374) +++ trunk/doc/index.html 2008-09-21 19:45:01 UTC (rev 1375) @@ -17,10 +17,10 @@ <li><a href="faq.html">FAQ</a> (html)</li><br/> -<li><a href="api-doxygen/html/namespacejason_1_1stdlib.html">Stantard internal actions</a> (html)</li> -<li><a href="api-doxygen/html/namespacejason_1_1functions.html">Stantard arithmetic functions</a> (html)</li> +<li><a href="api/jason/stdlib/package-summary.html#package_description">Stantard internal actions</a> (html)</li> +<li><a href="api/jason/functions/package-summary.html">Stantard arithmetic functions</a> (html)</li> -<li><a href="api-doxygen/html/index.html">API of all classes</a> (html)</li><br> +<li>API of all classes: generated by <a href="api/index.html">JavaDoc</a> or by <a href="api-doxygen/html/index.html">Doxygen</a>.</li><br> <li><a href="AS2JavaParser.html">Syntax of AgentSpeak</a> as interpreted by <a href="http://jason.sf.net"><b><i>Jason</i></b></a> (html Property changes on: trunk/lib/UmlGraph.jar ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Modified: trunk/src/jason/bb/BeliefBase.java =================================================================== --- trunk/src/jason/bb/BeliefBase.java 2008-09-18 17:42:52 UTC (rev 1374) +++ trunk/src/jason/bb/BeliefBase.java 2008-09-21 19:45:01 UTC (rev 1375) @@ -43,8 +43,14 @@ */ public interface BeliefBase extends Iterable<Literal>, Cloneable { - public static final Term TPercept = Pred.createSource(new Atom("percept")); - public static final Term TSelf = Pred.createSource(new Atom("self")); + public static final Term ASelf = new Atom("self"); + public static final Term APercept = new Atom("percept"); + + /** represents the structure 'source(percept)' */ + public static final Term TPercept = Pred.createSource(APercept); + + /** represents the structure 'source(self)' */ + public static final Term TSelf = Pred.createSource(ASelf); /** * Called before the MAS execution with the agent that uses this Modified: trunk/src/jason/bb/ChainBBAdapter.java =================================================================== --- trunk/src/jason/bb/ChainBBAdapter.java 2008-09-18 17:42:52 UTC (rev 1374) +++ trunk/src/jason/bb/ChainBBAdapter.java 2008-09-21 19:45:01 UTC (rev 1375) @@ -46,6 +46,8 @@ } </pre> + @navassoc - nextBB - BeliefBase + @author Jomi */ This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |