• 中国计算机学会会刊
  • 中国科技核心期刊
  • 中文核心期刊

J4 ›› 2011, Vol. 33 ›› Issue (10): 93-98.

• 论文 • Previous Articles     Next Articles

Design and Implementation of a Compiler for the SelfAdaptation Strategy Description Language

DONG Menggao1,MAO Xinjun1,YANG Hua2,QI Zhichang1   

  1. (1.School of Computer Science,National University of Defense Technology,Changsha 410073;2.Institute of Computing Technology,Chinese Academy Sciences,Beijing 100190,China)
  • Received:2010-01-04 Revised:2010-05-21 Online:2011-10-25 Published:2011-10-25

Abstract:

The software entity in complex adaptive systems should implement the enterprise and adaptation functions. To implement the adaptation functions, the software entity senses the environment continually and adjusts its structure and behavior according to the environmental changes. However, the adaptation logic and enterprise logic of selfadaptive systems are often tangled together in existing approaches, which makes it difficult and complicated to develop and maintain selfadaptive systems. In this paper, we abstract the autonomous running entity in selfadaptive systems as the selfadaptive agent, and believe it is necessary to separate the selfadaptation logic and enterprise logic of selfadaptive systems. A SelfAdaptation strategy Description Language SADL is therefore presented to express how agents adapt to the changes. To compile the adaptation strategy into the executable program, we design and implement the SADL compiler. Furthermore, for illustrating the feasibility and effectiveness of our proposed approach, a case study is presented to describe how to define the selfadaptation strategy, and show the compilation results.

Key words: selfadaptive , agent;strategy;description language;compiler