Information Technology Reference
In-Depth Information
Fig. 4.
Example of mapping information related with Prometheus percepts into
INGENIAS
corresponding application. Notice that the Prometheus agent and actor concepts
have been directly mapped to INGENIAS agent and application concepts (see
arrows 3 and 4, respectively). Finally, let us highlight that action, message and
data concepts in Prometheus are equivalents to operation defined in the appli-
cations, interaction unit and application concepts, respectively, in INGENIAS.
The conceptual mappings have been automated specifying a Model-To-Model
(M2M) transformation using the Query/View/Transformation (QVT) language.
Once the transformation has been performed, three activities should be car-
ried out to complete the modeling. Firstly, it is necessary to identify the tasks
performed by each agent by examining the
interaction model
and the initial
envi-
ronment model
which are automatically generated from the Prometheus model
applying the transformation. Specifically, an agent should perform a task for
every received perception or message. After that, a
state diagram
describing
the behavior of each agent is specified using information about tasks, received
percepts and messages. Secondly, the
Applications
, obtained after once the trans-
formation is executed, only include methods to send perceptions to the agents
and to specify actions to be executed by the agents. Therefore, these applica-
tions should be refined to include new methods depending on the specific needs
of the system being developed. For example, in the proposed case study, the
CheckUser
method was added to the
BDD
application to get information stored
in a database, and the
GetId
method was added in
Reader A
application to get
its identifier. Finally, a model to describe the
application deployment
is specified
attaching numbers in notes to represent the number of instances that there are
in execution for each type of entity.
3.4
Implementation and Deployment Phases
Our approach considers that supporting tool for INGENIAS, Ingenias Develop-
ment Kit (IDK) [7], is an exceptional agent tool to develop a Model-To-Text
(M2T) transformation for generating code for any target language chosen, this
Search WWH ::
Custom Search