Table 1: Description of the automaton’s actions.
Action Description
move The agent sends itself a newStep event if there is no alarm.
notifyPosition
Determines if the agent becomes the chief. The chief is the agent closer to the alarm and the ties
are solved in favour of the agent that has a lower index. The agent sends itself a ChiefDesignation
event if it becomes the chief.
stayInRearguard
The agent updates its role as rearguard and learns who the chief is. The robot does not move while
it has this role.
subordinate
The agent (1) updates its role as subordinate and learns who is the chief, and (2) sends itself a
newStep event.
assignRoles
The agent (1) updates its role as chief, (2) assigns to what corner the chief should go, (3) assigns
to what corners the three next closets agents to the alarm should go to, and sends them a
subordinateDesignation event that contains the following information: the target corner that it
should occupy and who is the chief robot, (4) send to the other agents a rearguardDesignation
event, and finally, (5) sends itself a newStep event. The notifyPosition action may be consulted to
know how the ties are solved.
goToFreeCorner
If the chief/subordinate agent is on the assigned target corner, then it sends itself an
alarmTargetCorner event; otherwise it determines to what corner it will move next, and it sends
itself a newStep event.
notifyChiefOfTheError
If the agent is a rearguard, then it sends an errorRearguard event to the chief; whereas if it is a
subordinate agent, then it sends an errorSubordinate event, which contains its identification
number to the chief. In both cases the agent marks the controlled robot as damaged.
informChief
The subordinate agent sends to the chief agent an alarmTargetCornerSub event, which contains
the subordinate agent identification number.
markReachedTarget
CornerSub
The chief agent (1) marks the target corner that the subordinate agent has occupied, (2) increases
the number of occupied corners, and, (3) notifies the user when four target corners have been
occupied.
markReachedTarget
CornerChief
The chief agent (1) marks the target corner that it has occupied, (2) increases the number of
occupied corners, and, (3) notifies the user when four target corners have been occupied.
selectSubordinate
InRearguard
The chief agent (1) increases the number of damaged robots, (2) identifies the closest rearguard
agent to the target corner to be occupied by the damaged subordinate agent, and, (3) sends a
subordinateDesignation event that contains the target corner and the chief identification number.
markFailureyRearguard
The chief agent (1) marks the rearguard agent that sent an errorRearguard event as damaged, and,
(2) increases the number of damaged robots.
generateRoles
Reasignation
The chief agent (1) marks itself as damaged, (2) increases number of damaged robots, and, (3)
sends to the rest of agents a rolesReassignation event that contains the location of the building
where the alarm occurred.
ACKNOWLEDGEMENTS
This work was partially supported by Spanish
Ministerio de Ciencia e Innovación TIN2007-67586-
C02-02, and Junta de Comunidades de Castilla-La
Mancha PII2I09-0069-0994 and PEII09-0054-9581
grants.
REFERENCES
Bordini, R.H., Dastani, M., Dix, J., El Fallah Seghrouchni,
A. (Editors.). (2005). Multi-Agent Programming:
Languages, Platforms and Applications. Springer.
Braubach, L., Pokahr, A. (2009).
http://jadex.informatik.uni-
hamburg.de/bin/view/Links/Agent+Platforms.
Caire, G., Coulier, W., Garijo, F., Gómez, J., Pavón, J.,
Leal, F., Chainho, P., Kearney, P., Stark, J., Evans, R.,
Massonet, P. (2002). Agent-oriented analysis using
MESSAGE/UML. LNCS 2222, pp. 119-135.
Celorrio, C., Verdejo, M.F. (2007). Adapted activity
deployment and configuration in a pervasive learning
framework. Pervasive Learning, PL2007, pp. 51-58.
Garijo, F., Polo, F., Spina, D., Rodríguez, C. (2008).
ICARO-T User Manual. Technical Report, Telefonica
I+D.
Garijo, F., Bravo, S., Gonzalez, J., Bobadilla, E. (2004)
BOGAR_LN: An agent based component framework
for developing multi-modal services using natural
language. LNAI 3040, pp. 207-220.
Garijo, F., Tous, J., Matias, J.M., Corley, S., Tesselaar, M.
(1998). Development of a multi-agent system for
cooperative work with network negotiation
Capabilities. LNCS 1437, pp. 204–219.
Gascueña, J.M., Fernández-Caballero, A. (2009). Towards
an integrative methodology to develop multi-agent
systems. First International Conference on Agents and
Artificial Intelligence, ICAART'09, pp. 392-399.
Gascueña, J.M., Fernández-Caballero, A. (2009). On the
use of agent technology in intelligent, multi-sensory
and distributed surveillance. The Knowledge
Engineering Review, to appear.
Gómez-Sanz, J., Pavón, J., Díaz-Carrasco, A. (2003). The
PSI3 agent recommender system. LNCS 2722, pp. 30-39.
ICAART 2010 - 2nd International Conference on Agents and Artificial Intelligence
290