Changes for page TuCSoN4Jason
To version 7.1
edited by Andrea Omicini
on 13/11/2021 01:32
on 13/11/2021 01:32
Change comment:
There is no comment for this version
Summary
-
Page properties (4 modified, 0 added, 0 removed)
Details
- Page properties
-
- Title
-
... ... @@ -1,1 +1,0 @@ 1 -TuCSoN4Jason - Author
-
... ... @@ -1,1 +1,1 @@ 1 -XWiki. SMariani1 +XWiki.AndreaOmicini - Syntax
-
... ... @@ -1,1 +1,1 @@ 1 -XWiki 1.01 +XWiki 2.1 - Content
-
... ... @@ -1,60 +1,31 @@ 1 -#includeMacros("Main.MacroSheet") 2 -#includeMacros("Publications.MacroSheet") 3 -#includeMacros("People.MacroSheet") 1 += {{stringIta}}Home di {{/stringIta}}{{t4jn short='n'/}}{{stringEng}} Home{{/stringEng}} = 4 4 5 - 1#tforjn()Home3 +>What is {{t4jn short='n'/}} 6 6 7 - 1.1What is#tforjn()5 +{{t4jn short='n'/}} ({{t4jn/}} 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. 8 8 9 - #tforjn()(#tforjnsh()forshort)is aJava library enabling#jason()agents toexploit#tucson() coordinationserviceswrappedas#jason()internalactions.[Jason> http://http://jason.sourceforge.net/wp/]is a well-knownJava-basedimplementation ofthe #agentsl() languageforBDI agents.[TuCSoN> http://tucson.unibo.it] is Java-based middlewareproviding softwareagentswithcoordinationasa serviceviaprogrammablelogictuplespaces,called tuplecentres.7 +By combining {{tucson/}} and Jason, {{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. 10 10 11 - By combining #tucson() and #jason(),#tforjnsh() aims at providing MAS engineers withafull-featured~~MAS middleware~~forcognitiveagents, enabling them to exploit both dimensions of agent-orientedsoftware engineering — ~~individual~~, through #jason() agents; ~~social~~, via #tucson() tuplecentres— in a complete and well-balanced way.9 +{{t4jn/}} is available under [[GNU LGPL license>>https://www.gnu.org/licenses/lgpl.html]]. 12 12 13 -#tforjnsh() is available under [GNU LGPL license > https://www.gnu.org/licenses/lgpl.html]. 11 +>Getting Started 12 +* download t4jn.jar archive from the [[Downloads>>http://bitbucket.org/smariani/tucson4jason/downloads]] section on its [[Bitbucket repository>>http://bitbucket.org/smariani/tucson4jason/]] 13 +* download the libraries it depends on 14 +** Jason — from its [[Download>>http://sourceforge.net/projects/jason/files/]] page //(jason.jar)// 15 +** {{tucson/}} — from its [[Downloads>>TuCSoN.Downloads]] section //(tucson.jar)// 16 +** {{tuprolog/}} — from its [[Downloads>>Tuprolog.Downloads]] section //(2p.jar)// 17 +* open a command prompt in the folder where you put all the four jars above, then type 18 +** on Linux & Mac OS 19 +{{code}}java -cp libs/tucson.jar:libs/2p.jar alice.TuCSoN.service.TucsonNodeService{{/code}} 20 +** on Windows 21 +{{code}}java -cp libs/tucson.jar;libs/2p.jar alice.TuCSoN.service.TucsonNodeService{{/code}} 22 +* open a new tab/window of the command prompt in the folder where you put all the four jars above, then type 23 +** on Linux & Mac OS 24 +{{code}}java -cp t4jn.jar:../libs/jason.jar:../libs/2p.jar:../libs/tucson.jar jason.infra.centralised.RunCentralisedMAS t4jn_bookTrading.mas2j{{/code}} 25 +** on Windows 26 +{{code}}java -cp t4jn.jar;../libs/jason.jar;../libs/2p.jar;../libs/tucson.jar jason.infra.centralised.RunCentralisedMAS t4jn_bookTrading.mas2j{{/code}} 27 +* Jason GUI should appear with the t4jn welcome banner, as depicted below 28 +** [[image:t4jn-running.jpeg||width="800"]] 29 +You should see many prints on Jason GUI, tracking what happens in the MAS. 30 +{{include reference='Environment'/}} 14 14 15 ----- 16 - 17 -1.1 Getting Started 18 - 19 -<ul style="list-style-type: decimal"> 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> 21 - <li>Download the libraries it depends on:</li> 22 - <ul style="list-style-type: disc"> 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> 26 - </ul> 27 - <li>Open a command prompt in the folder where you put all the four jars above, then type:</li> 28 - <ul style="list-style-type: disc"> 29 - <li> on Linux \& Mac OS </li> 30 - {code}java -cp libs/tucson.jar:libs/2p.jar alice.TuCSoN.service.TucsonNodeService{code} 31 - <li>on Windows</li> 32 - {code}java -cp libs/tucson.jar;libs/2p.jar alice.TuCSoN.service.TucsonNodeService{code} 33 - </ul> 34 - <li>Open a new tab/window of the command prompt in the folder where you put all the four jars above, then type:</li> 35 - <ul style="list-style-type: disc"> 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} 38 - <li>on Windows</li> 39 - {code}java -cp t4jn.jar;../libs/jason.jar;../libs/2p.jar;../libs/tucson.jar jason.infra.centralised.RunCentralisedMAS t4jn_bookTrading.mas2j{code} 40 - </ul> 41 - <li>#jason() GUI should appear with the t4jn welcome banner, as depicted below:</li> 42 - <ul style="list-style-type: none"> 43 - <li>{image:t4jn-running.jpeg|width=800}</li> 44 - ##<li>{image:t4jn-running.png|width=800|height=300}</li> 45 - </ul> 46 -</ul> 47 - 48 -You should see many prints on #jason() GUI, tracking what happens in the MAS. 49 - 50 ----- 51 - 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)