Changes for page TuCSoN4Jason
From version 3.1
edited by Andrea Omicini
on 04/11/2021 00:30
on 04/11/2021 00:30
Change comment:
There is no comment for this version
Summary
-
Page properties (3 modified, 0 added, 0 removed)
Details
- Page properties
-
- Author
-
... ... @@ -1,1 +1,1 @@ 1 -XWiki. AndreaOmicini1 +XWiki.SMariani - Syntax
-
... ... @@ -1,1 +1,1 @@ 1 -XWiki 2.11 +XWiki 1.0 - Content
-
... ... @@ -1,54 +1,60 @@ 1 ->What is {{displayName name='tucson4jason'/}} 1 +#includeMacros("Main.MacroSheet") 2 +#includeMacros("Publications.MacroSheet") 3 +#includeMacros("People.MacroSheet") 2 2 3 - {{displayNamename='tucson4jason'/}} ({{displayName name='t4jn'/}}forshort) is a Java library enabling Jason agents to exploit {{tucson/}} coordination services wrapped as Jason internal actions. [[Jason>>http://http://jason.sourceforge.net/wp/]] is a well-known Java-based implementation of the #agentsl()languagefor BDI agents. [[TuCSoN>>http://tucson.unibo.it]] is Java-basedmiddleware providing software agents with coordination as a service via programmable logic tuple spaces, called tuple centres.5 +1 #tforjn() Home 4 4 5 -By combining {{tucson/}} and Jason, {{displayName name='t4jn'/}} aims at providing MAS engineers with a full-featured //MAS middleware// for cognitive agents, enabling them to exploit both dimensions of agent-oriented software engineering — //individual//, through #jason() agents; //social//, via {{tucson/}} tuple centres — in a complete and well-balanced way. 6 -<p/> 7 -{{displayName name='t4jn'/}} is available under [[GNU LGPL license>>https://www.gnu.org/licenses/lgpl.html]]. 7 +1.1 What is #tforjn() 8 8 9 -> Getting Started9 +#tforjn() (#tforjnsh() for short) is a Java library enabling #jason() agents to exploit #tucson() coordination services wrapped as #jason() internal actions. [Jason > http://http://jason.sourceforge.net/wp/] is a well-known Java-based implementation of the #agentsl() language for BDI agents. [TuCSoN > http://tucson.unibo.it] is Java-based middleware providing software agents with coordination as a service via programmable logic tuple spaces, called tuple centres. 10 10 11 +By combining #tucson() and #jason(), #tforjnsh() aims at providing MAS engineers with a full-featured ~~MAS middleware~~ for cognitive agents, enabling them to exploit both dimensions of agent-oriented software engineering — ~~individual~~, through #jason() agents; ~~social~~, via #tucson() tuple centres — in a complete and well-balanced way. 12 + 13 +#tforjnsh() is available under [GNU LGPL license > https://www.gnu.org/licenses/lgpl.html]. 14 + 15 +---- 16 + 17 +1.1 Getting Started 18 + 11 11 <ul style="list-style-type: decimal"> 12 - <li>Download t4jn.jar archive from the [ [Downloads>>http://bitbucket.org/smariani/tucson4jason/downloads]]section on its [[Bitbucket repository>>http://bitbucket.org/smariani/tucson4jason/]]</li>20 + <li>Download t4jn.jar archive from the [Downloads | http://bitbucket.org/smariani/tucson4jason/downloads] section on its [Bitbucket repository | http://bitbucket.org/smariani/tucson4jason/]</li> 13 13 <li>Download the libraries it depends on:</li> 14 14 <ul style="list-style-type: disc"> 15 - <li>#jason() — from its [ [Download>>http://sourceforge.net/projects/jason/files/]]page//(jason.jar)//</li>16 - <li>#tucson() — from its [ [Downloads>>TuCSoN.Download]]section//(tucson.jar)//</li>17 - <li>#tuprolog() — from its [ [Download>>Tuprolog.Download]]section//(2p.jar)//</li>23 + <li>#jason() — from its [Download > http://sourceforge.net/projects/jason/files/] page ~~(jason.jar)~~</li> 24 + <li>#tucson() — from its [Downloads | TuCSoN.Download] section ~~(tucson.jar)~~</li> 25 + <li>#tuprolog() — from its [Download | Tuprolog.Download] section ~~(2p.jar)~~</li> 18 18 </ul> 19 19 <li>Open a command prompt in the folder where you put all the four jars above, then type:</li> 20 20 <ul style="list-style-type: disc"> 21 - <li> on Linux & Mac OS </li> 22 - 23 - 24 -{{code}}java -cp libs/tucson.jar:libs/2p.jar alice.TuCSoN.service.TucsonNodeService{{/code}} 25 - 29 + <li> on Linux \& Mac OS </li> 30 + {code}java -cp libs/tucson.jar:libs/2p.jar alice.TuCSoN.service.TucsonNodeService{code} 26 26 <li>on Windows</li> 27 - 28 - 29 -{{code}}java -cp libs/tucson.jar;libs/2p.jar alice.TuCSoN.service.TucsonNodeService{{/code}} 30 - 32 + {code}java -cp libs/tucson.jar;libs/2p.jar alice.TuCSoN.service.TucsonNodeService{code} 31 31 </ul> 32 32 <li>Open a new tab/window of the command prompt in the folder where you put all the four jars above, then type:</li> 33 33 <ul style="list-style-type: disc"> 34 - <li> on Linux & Mac OS </li> 35 - 36 - 37 -{{code}}java -cp t4jn.jar:../libs/jason.jar:../libs/2p.jar:../libs/tucson.jar jason.infra.centralised.RunCentralisedMAS t4jn_bookTrading.mas2j{{/code}} 38 - 36 + <li> on Linux \& Mac OS </li> 37 + {code}java -cp t4jn.jar:../libs/jason.jar:../libs/2p.jar:../libs/tucson.jar jason.infra.centralised.RunCentralisedMAS t4jn_bookTrading.mas2j{code} 39 39 <li>on Windows</li> 40 - 41 - 42 -{{code}}java -cp t4jn.jar;../libs/jason.jar;../libs/2p.jar;../libs/tucson.jar jason.infra.centralised.RunCentralisedMAS t4jn_bookTrading.mas2j{{/code}} 43 - 39 + {code}java -cp t4jn.jar;../libs/jason.jar;../libs/2p.jar;../libs/tucson.jar jason.infra.centralised.RunCentralisedMAS t4jn_bookTrading.mas2j{code} 44 44 </ul> 45 45 <li>#jason() GUI should appear with the t4jn welcome banner, as depicted below:</li> 46 46 <ul style="list-style-type: none"> 47 - <li> [[image:t4jn-running.jpeg||width="800"]]</li>43 + <li>{image:t4jn-running.jpeg|width=800}</li> 48 48 ##<li>{image:t4jn-running.png|width=800|height=300}</li> 49 49 </ul> 50 50 </ul> 51 - <p/>47 + 52 52 You should see many prints on #jason() GUI, tracking what happens in the MAS. 53 53 50 +---- 54 54 52 +##1.1 News 53 + 54 +##includeMacros("Blog.CategoriesCode") 55 + 56 +##getEntriesForCategory("Blog.T4Jn" $entries $total) 57 +##displayBlog($entries 'category' true) 58 +## displayNavigationLinks requires a blog document, to determine how should the entries be split into pages. Return this 59 +## document, as the macro fallbacks to 'paginated' in case the right setting cannot be determined. 60 +##displayNavigationLinks($doc)