Wiki source code of TuCSoN4JADE
Last modified by Stefano Mariani on 2020/10/07 22:49
Show last authors
author | version | line-number | content |
---|---|---|---|
1 | #includeMacros("Main.MacroSheet") | ||
2 | #includeMacros("Publications.MacroSheet") | ||
3 | #includeMacros("People.MacroSheet") | ||
4 | |||
5 | 1 #tforj() Home | ||
6 | |||
7 | 1.1 What is #tforj() | ||
8 | |||
9 | #tforj() (#tforjsh() for short) is a Java library enabling #jade() agents to exploit #tucson() coordination services wrapped as an ad-hoc API into a #jade() kernel service. | ||
10 | |||
11 | [#jade() | http://jade.tilab.com] is a FIPA-compliant Java-based agent development framework featuring standard ~~MAS middleware~~ features such as agent mobility, white and yellow pages service, ACL-based message passing, and built-in FIPA protocols. [#tucson() | TuCSoN.WebHome] is a Java-based middleware providing software agents with ~~coordination as a service~~ via programmable logic tuple spaces, called tuple centres. By combining #tucson() and #jade(), #tforjsh() aims at providing MAS engineers with a full-featured MAS middleware, enabling them to exploit both dimensions of ~~agent-oriented software engineering~~ — ~~individual~~, through #jade() agents; ~~social~~, via #tucson() tuple centres — in a complete and well-balanced way. | ||
12 | |||
13 | #tforjsh() is available under [GNU LGPL license | https://www.gnu.org/licenses/lgpl.html]. | ||
14 | |||
15 | |||
16 | ---- | ||
17 | |||
18 | 1.1 Getting Started | ||
19 | |||
20 | <ul style="list-style-type: decimal"> | ||
21 | <li>Download t4j.jar archive from the [Downloads | http://bitbucket.org/smariani/tucson4jade/downloads] section on its [Bitbucket repository | http://bitbucket.org/smariani/tucson4jade/]</li> | ||
22 | <li>Download the libraries it depends on:</li> | ||
23 | <ul style="list-style-type: disc"> | ||
24 | <li>#jade() — from its [Download | http://jade.tilab.com/download/jade/] page ~~(jade.jar)~~</li> | ||
25 | <li>#tucson() — from its [Downloads | TuCSoN.Download] section ~~(tucson.jar)~~</li> | ||
26 | <li>#tuprolog() — from its [Download | Tuprolog.Download] section ~~(2p.jar)~~</li> | ||
27 | </ul> | ||
28 | <li>Open a command prompt in the folder where you put all the four jars above, then type:</li> | ||
29 | <ul style="list-style-type: disc"> | ||
30 | <li> on Linux \& Mac OS </li> | ||
31 | {code}java -cp t4j.jar:tucson.jar:2p.jar:jade.jar jade.Boot -gui -services it.unibo.tucson.jade.service.TucsonService{code} | ||
32 | <li>on Windows</li> | ||
33 | {code}java -cp t4j.jar:tucson.jar;2p.jar;jade.jar jade.Boot -gui -services it.unibo.tucson.jade.service.TucsonService{code} | ||
34 | </ul> | ||
35 | <li>#jade() GUI should appear as depicted below:</li> | ||
36 | <ul style="list-style-type: none"> | ||
37 | <li>{image:t4j-running.jpeg|width=800}</li> | ||
38 | ##<li>{image:t4j-running.png|width=800|height=300}</li> | ||
39 | </ul> | ||
40 | </ul> | ||
41 | |||
42 | ---- | ||
43 | |||
44 | 1.1 News | ||
45 | |||
46 | #includeMacros("Blog.CategoriesCode") | ||
47 | |||
48 | #getEntriesForCategory("Blog.T4J" $entries $total) | ||
49 | #displayBlog($entries 'category' true) | ||
50 | ## displayNavigationLinks requires a blog document, to determine how should the entries be split into pages. Return this | ||
51 | ## document, as the macro fallbacks to 'paginated' in case the right setting cannot be determined. | ||
52 | #displayNavigationLinks($doc) |