TuCSoN4Jason Home

Warning: For security reasons, the document is displayed in restricted mode as it is not the current version. There may be differences and errors due to this.

TuCSoN4Jason Home

What is TuCSoN4Jason

TuCSoN4Jason (T4Jn for short) is a Java library enabling Jason agents to exploit TuCSoN coordination services wrapped as Jason internal actions. Jason is a well-known Java-based implementation of the AgentSpeak(L) language for BDI agents. TuCSoN is Java-based middleware providing software agents with coordination as a service via programmable logic tuple spaces, called tuple centres.

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.

T4Jn is available under GNU LGPL license.

Getting Started

  • download t4jn.jar archive from the Downloads section on its Bitbucket repository
  • download the libraries it depends on
    • Jason — from its Download page (jason.jar)
    • TuCSoN — from its Downloads section (tucson.jar)
    • tuProlog — from its Downloads section (2p.jar)
  • open a command prompt in the folder where you put all the four jars above, then type
    • on Linux & Mac OS
      java -cp libs/tucson.jar:libs/2p.jar alice.TuCSoN.service.TucsonNodeService
    • on Windows
      java -cp libs/tucson.jar;libs/2p.jar alice.TuCSoN.service.TucsonNodeService
  • open a new tab/window of the command prompt in the folder where you put all the four jars above, then type
    • on Linux & Mac OS
      java -cp t4jn.jar:../libs/jason.jar:../libs/2p.jar:../libs/tucson.jar jason.infra.centralised.RunCentralisedMAS t4jn_bookTrading.mas2j
    • on Windows
      java -cp t4jn.jar;../libs/jason.jar;../libs/2p.jar;../libs/tucson.jar jason.infra.centralised.RunCentralisedMAS t4jn_bookTrading.mas2j
  • Jason GUI should appear with the t4jn welcome banner, as depicted below
    • t4jn-running.jpeg
      You should see many prints on Jason GUI, tracking what happens in the MAS.

      Environment

      Failed to execute the [velocity] macro. Cause: [The execution of the [velocity] script macro is not allowed in [xwiki:TuCSoN.Environment]. Check the rights of its last author or the parameters if it's rendered from another script.]. Click on this message for details.

Logo

Contacts

Giovanni Ciatto email  |  Andrea Omicini email  |  Stefano Mariani email

Links

Official  |  APICe  |  Google Code  |  SourceForge  |  FaceBook

2P  |  A&A  |  MoK  |  ReSpecT  |  T4J  |  T4Jn