Modifiche per il documento TuCSoN4Jason
Dalla versione 10.1
modificato da Andrea Omicini
il 02/11/2022 19:28
il 02/11/2022 19:28
Cambia il commento:
Nessun commento per questa versione
Alla versione 4.1
modificato da Andrea Omicini
il 04/11/2021 00:30
il 04/11/2021 00:30
Cambia il commento:
Nessun commento per questa versione
Summary
-
Page properties (2 modified, 0 added, 0 removed)
Details
- Page properties
-
- Titolo
-
... ... @@ -1,0 +1,1 @@ 1 +TuCSoN4Jason - Content
-
... ... @@ -1,31 +1,54 @@ 1 - ={{t4jnshort='n'/}}=1 +>What is {{displayName name='tucson4jason'/}} 2 2 3 - >Whatis {{t4jn short='n'/}}3 +{{displayName name='tucson4jason'/}} ({{displayName name='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. 4 4 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 AgentSpeak(L) 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. 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]]. 6 6 7 - By combining {{tucson/}} and Jason, {{t4jn/}} aims at providingMASengineers withafull-featured //MAS middleware// for cognitiveagents, enabling them to exploit bothdimensions of agent-oriented software engineering — //individual//, through Jason agents; //social//, via {{tucson/}} tuple centres — in a complete and well-balanced way.9 +>Getting Started 8 8 9 -{{t4jn/}} is available under [[GNU LGPL license>>https://www.gnu.org/licenses/lgpl.html]]. 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> 13 + <li>Download the libraries it depends on:</li> 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> 18 + </ul> 19 + <li>Open a command prompt in the folder where you put all the four jars above, then type:</li> 20 + <ul style="list-style-type: disc"> 21 + <li> on Linux & Mac OS </li> 22 + 10 10 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 19 {{code}}java -cp libs/tucson.jar:libs/2p.jar alice.TuCSoN.service.TucsonNodeService{{/code}} 20 -** on Windows 25 + 26 + <li>on Windows</li> 27 + 28 + 21 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 30 + 31 + </ul> 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 + <ul style="list-style-type: disc"> 34 + <li> on Linux & Mac OS </li> 35 + 36 + 24 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 38 + 39 + <li>on Windows</li> 40 + 41 + 26 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. 43 + 44 + </ul> 45 + <li>#jason() GUI should appear with the t4jn welcome banner, as depicted below:</li> 46 + <ul style="list-style-type: none"> 47 + <li>[[image:t4jn-running.jpeg||width="800"]]</li> 48 + ##<li>{image:t4jn-running.png|width=800|height=300}</li> 49 + </ul> 50 +</ul> 51 +<p/> 52 +You should see many prints on #jason() GUI, tracking what happens in the MAS. 30 30 {{include reference='Environment'/}} 31 31