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.

      TuCSoN Environment

Tags:

Logo

TuCSoN Related

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

TuCSoN Resources

Partita IVA: 01131710376 - Copyright © 2008-2022 APICe@DISI Research Group - PRIVACY