Multi-threaded communicating agents in qu-prolog

  • Authors:
  • Keith L. Clark;Peter J. Robinson;Silvana Zappacosta Amboldi

  • Affiliations:
  • Dept. of Computing, Imperial College, London;School of ITEE, The University of Queensland, Brisbane;Dept. of Computing, Imperial College, London

  • Venue:
  • CLIMA'05 Proceedings of the 6th international conference on Computational Logic in Multi-Agent Systems
  • Year:
  • 2005

Quantified Score

Hi-index 0.00

Visualization

Abstract

In this tutorial paper we summarise the key features of the multi-threaded Qu-Prolog language for implementing multi-threaded communicating agent applications. Internal threads of an agent communicate using the shared dynamic database used as a generalisation of Linda tuple store. Threads in different agents, perhaps on different hosts, communicate using either a thread-to-thread store and forward communication system, or by a publish and subscribe mechanism in which messages are routed to their destinations based on content test subscriptions. We illustrate the features using an auction house application. This is fully distributed with multiple auctioneers and bidders which participate in simultaneous auctions. The application makes essential use of the three forms of inter-thread communication of Qu-Prolog. The agent bidding behaviour is specified graphically as a finite state automaton and its implementation is essentially the execution of its state transition function. The paper assumes familiarity with Prolog and the basic concepts of multi-agent systems.