Bridging Agent Theory and Object Orientation: Importing Social Roles in Object Oriented Languages

  • Matteo Baldoni
  • Guido Boella
  • Leendert van der Torre
Conference paper

DOI: 10.1007/11678823_4

Part of the Lecture Notes in Computer Science book series (LNCS, volume 3862)
Cite this paper as:
Baldoni M., Boella G., van der Torre L. (2006) Bridging Agent Theory and Object Orientation: Importing Social Roles in Object Oriented Languages. In: Bordini R.H., Dastani M.M., Dix J., El Fallah Seghrouchni A. (eds) Programming Multi-Agent Systems. ProMAS 2005. Lecture Notes in Computer Science, vol 3862. Springer, Berlin, Heidelberg

Abstract

Social roles structure social institutions like organizations in Multi-Agent Systems (MAS). In this paper we describe how to introduce the notion of social role in programming languages. To avoid the commitment to a particular agent model, architecture or language, we decided to extend Java, the most prominent object oriented programming language, by adding social roles. The obtained language allows an easier implementation of MAS’s w.r.t. the Java language. We also show that many important properties of social roles, studied in the MAS field, can be applied to objects. Two are the essential features of social roles according to an analysis reported in the paper: social roles are defined by other entities (called institutions), and when an agent plays a role it is endowed with powers by the institution that defines it. We interpret these two features into the object oriented paradigm as the fact that social roles are objects, which are defined in and exist only inside other objects (corresponding to institutions), and that, through a role, external objects playing the role can access to the object (institution) the role belongs to.

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

Copyright information

© Springer-Verlag Berlin Heidelberg 2006

Authors and Affiliations

  • Matteo Baldoni
    • 1
  • Guido Boella
    • 1
  • Leendert van der Torre
    • 2
  1. 1.Dipartimento di InformaticaUniversità degli Studi di TorinoTorinoItaly
  2. 2.CWI Amsterdam and Delft University of TechnologyThe Netherlands

Personalised recommendations