摘要
针对面向Agent编程(AOP)在实际推广中的现状,可以从设计模式的角度来解决编程规范化的问题。通过介绍一种命令式的AOP编程语言—CAOPLE的基础设施和语法规范,以及在多Agent环境下完成组队任务的三种不同代码实现方式,提出一种基于角色划分的设计模式。该模式从可维护性、可扩展性以及运行效率三个方面优化了AOP编程,并希望以此为切入点,推进AOP设计模式的研究以及在面向Agent软件工程领域中的应用。
In view of the current situation of Agent-Oriented Programming(AOP)in practical popularization,the problem of programming standardization can be solved from the perspective of design pattern.By introducing an imperative AOP programming language—CAOPLE's infrastructure and grammar specification,and three different code implementations for completing team tasks in a multi-agent environment,a design pattern based on role partition is proposed.This model optimizes AOP programming in terms of maintainability,scalability,and operational efficiency,and hopes to use this as a starting point to advance the research ofAOP design patterns and applications in the field ofAgent-oriented software engineering.
作者
徐承志
张国玉
XU Cheng-zhi;ZHANG Guo-yu(Hubei University of Technology,School of Computer Science,Wuhan 430068 China;Hubei Central China Technology Development of Electric Power Co.,Ltd.,Wuhan 430077 China)
出处
《自动化技术与应用》
2019年第8期59-64,68,共7页
Techniques of Automation and Applications
基金
湖北省教育厅科学技术研究计划项目(编号B2017048)
欧盟FP7项目(编号PIRSES-GA-2011-295222)