using the ASF (Agent Society Framework) (Silva,
Cortés and Lucena, 2004), that represents the main
point of the approach. However, the tool does not
enable the checking of the models in relation to
MAS-ML metamodel, neither the modeling of the
normative concepts.
NormML Tool Kit (Figueiredo, 2011) is a
modeling environment based in the NormML
language that supports the mechanisms for model
checking and checking for conflicts between norms.
The environment is composed for two plugins for
Eclipse framework (Eclipse Platform,
www.eclipse.org): NormML Editor and NormML
Conflict Checker. However, only the modeling of
the normative elements is supported, thus the
modeling of the typical entities of MAS and their
properties is not foreseen.
Finally, MAS-ML tool (Feijó, 2012) is a
modeling environment that allows the modeling of
MAS according to the specification of the MAS-ML
metamodel. This tool allows the modeling of the
static diagrams and the dynamic sequence diagram
defined in the language. It was developed as an
Eclipse plugin through model driven approach and
provides the mechanisms for model checking.
However, the tool does not allow the complete
modeling of the statics elements that compose a
norm: only the modeling of permission and
obligation norms for agents that are associated with
agent roles, sub-organizations and organizations are
supported.
Considering that MAS-ML tool and NorMAS-
ML are based in MAS-ML metamodel, this makes it
more suitable to be evolved in order to allow
modeling of the norm diagram along with the model
checking.
3 BACKGROUD
3.1 NorMAS-ML
NorMAS-ML (Freire et al., 2012) is a modeling
language based in UML that allow the modeling of the
all static elements that compose a norm (Figueiredo,
2011) along with the typical entities of MAS. This
language is result of the MAS-ML extension (Silva et
al., 2007).
The NorMAS-ML metamodel (Figure 1) was
defined through the creation of the new metaclasses
and relationships in MAS-ML metamodel in order to
represent the following static normative elements
defined by Figueiredo (2011):
Deontic Concepts: the deontic logic refers to the logic
of requests, commands, rules, laws, moral principles
and judgments (Meyer and Wieringa, 1993). In
MAS, such concepts have been used to describe the
constraints for the behavior of agents in the form of
obligations (what the agent must execute),
permissions (what the agent can execute) and
prohibitions (what the agent cannot execute).
Involved Entities: considering that the norms are
defined to restrict the entities behavior, the
identification of the related entities is essential. The
norm may regulate the behavior of individuals (for
example, a particular agent, or an agent while playing
a particular role), or the behavior of a group of
individuals (for example, all agents playing a
particular role, groups of agents, groups of agents
playing roles or all agents in the system).
Actions: once a norm is set to restrict the behavior of
the entities, it is important the clear specification of
the actions that are being regulated. Such actions may
be communication, usually represented by sending
and receiving a message, or non-communicative
actions (such as access and modify a resource, get in
an organization, move to another environment, etc.).
Activation Constraints: a norm have a period of time
in which its restrictions must be fulfilled, but only
when this norm, is active. Norms may be activated by
a constraint or a set of constraints that can be: the
execution of actions, the definition of specific time
intervals (before, after or in between), the reaching of
system states or temporal aspects (such as dates) and
also the activation/deactivation of other norm and
fulfillment/violation of a norm.
Sanctions: when a norm is violated the entity may
suffer a punishment, and when a norm is fulfilled, the
entity involved may receive a reward. Rewards and
punishments are referred to as sanctions and should
be related to the norm specification.
Context: the norms are usually defined in a
determined context that determines its application
area. The norm may, for example, be described in the
context of a specific environment and must be filled
only by agents in execution in the environment.
Similarly, a norm can be defined in the context of an
organization and fulfilled only by the agents that play
a role in the organization.
3.2 MAS-ML Tool
MAS-ML tool (Feijó, 2012) is a modeling
environment that allows the modeling of MAS.
Through this environment, developers can work with
the concepts of problem domain, while using
explicitly concepts defined in the solution domain, in
this case the concepts and abstractions for the
ICEIS2013-15thInternationalConferenceonEnterpriseInformationSystems
452