04 The Development of Multi Agent System Using Finite State Machine
04 The Development of Multi Agent System Using Finite State Machine
Abstract
This paper sets out to develop and create a search
agent that can retrieve requested information from two
databases; the user will be able to search for a book by
inputting variables such as title, author, ISBN and
more significantly for this study the price. The system
will identify the books requested, where they can be
found and will show the cheapest available. SAS will
work from the Application software and will link to the
two databases, the design will allow more databases to
be incorporated in the future. Each of the two
databases has the same names of the titles however
each database may contain a different price. The agent
will get the required information quickly, helping the
user to find the cheapest and possibly nearest. The
agent will connect to the database using the Agent
Interface; there are two agents in the system, known as
MAS. These agents collect the required data and send
it to the Agent Handler.
Keywords: Finite State Machine, Multi-Agent System
JFLAP, Java, and UML.
1. Introduction
The main contribution of this paper is to create
Search Agent System (SAS), which helps the user to
perform a search for a book title quickly; the
information about the books will be stored on two
different databases. The user can search for the book
by name; author or ISBN number and the system will
present all options as well as identify the cheapest price
for the user. The system uses a multi-agent
configuration that works together with a special
platform, the JADE program.
In order to model and demonstrate the software the
Finite State Machine (FSM) is used.
It will
demonstrate how the software will run with multi
agents to search for the requested book and give the
cheapest price. The user can start the search by
selecting either the book name, ISBN, author or price
978-0-7695-3687-3/09 $25.00 2009 IEEE
DOI 10.1109/NISS.2009.162
2. Multi-Agent System
An agent is a software program that communicates
with other software programs, interacting and
responding to behaviour, acting and linking with
available resources on demand. Each agent has size,
capability and speed; all these are attributes of each
203
Multi-Agent
Simulation
Collective
robotics
Multi-Agent
system
Host 2
Application Agent
Application Agent
Application Agent
Host 3
Application Agent
Application Agent
Application Agent
Application Agent
Application Agent
Host 2
Application Agent
JRE 1.2
JRE 1.2
JRE 1.2
Building artificial
Worlds
Program
5. Implementation
Agent Modelling
Agent Search
Agent Class
diagram
Belief and Plan
modelling
MAS Architecting
Agent Organisation
Considering Agent
Coordination
Agent Internal
Architecting
205
6. Discussion
This paper used two types of testing, which are
Black Box and White Box testing tools. The first
testing is the functional testing, that examines whether
the system behaved according to the set-out objectives
of the search system, for example whether or not the
system was successful in identifying the cheapest book
as in Table 1.
Table 1. Black Test
Book Name Author Host Price Result
Cheapest
JAVA
JAVA
JAVA
The
cheapest
is 22
SUN
SUN
SUN
1
1
1
25
27
22
Found list
Found list
Found list
8. Acknowledgment
The authors wish to acknowledge contributions to
Hussein Zedan, Hongji Yang and Antonio Cau.
9. References
[1] J. Ferber, Multi agent systems, an introduction to
distributed artificial intelligence, Addison Wesley/ Pearson,
London, 1999.
[2] A. Roberto, Multi agent, available from:
http://www.acm.org/crossroads/xrds5-4/multiagent.html
[3]
H.
Fran
Available
from:
http://www.itdirector.com/article.php?articleid=11774, 2004.
[4] M. Dastani, and J. Gomez-sanz, Programming multiagent systems. Knowl. Eng. Rev., Cambridge University
Press, vol. 20(2), pp. 151-164, 2005.
[5]
Agent
Solution,
retrieve
on
2/1/2009
from:
http://www.agentisolutions.com/brahms.htm.
[6] F Bellifemine, et al., JADE: a FIPA2000 compliant agent
development environment, In Proc. of the Fifth on
Autonomous Agents, ACM, New York, pp: 216-217, 2001.
[7] F. Bellifemine, et al., JADE, White Paper, V.3(3), 2003.
[8] Bellifemine, et al., Developing Multi-agent Systems with
JADE. In Proc. of the 7th international Workshop on
intelligent Agents,. Springer, London, pp: 89-103,2001
[9] B. Lee and E. Lee, Interaction of Finite State Machines
and Concurrency Models, in Proc. of Thirty Second Annual
Asilomar Conference on Signals, Systems, and Computers,
Pacific Grove, California, 1998.
[10] S. Rodger, et al., Increasing interaction and support in
the formal languages and automata theory course, SIGCSE
Bull, vol.39(3) ACM New York, NY, USA, pp:58-62, 2007