节点文献

智能算法平台中设计模式的应用

Using Design Pattern in the Intelligence Algorithm Platform

  • 推荐 CAJ下载
  • PDF下载
  • 不支持迅雷等下载工具,请取消加速工具后下载。

【作者】 金彤李元香王珑刘海峰

【Author】 Jin Tong Li Yuan-xiang Wang Long Liu Hai-feng State Key Lab of Software Engineering,Wuhan University,Wuhan,430072

【机构】 武汉大学软件工程国家重点实验室

【摘要】 智能算法的类型与其所解决的问题类型存在着多对多的关系,通常在使用不同算法解决不同问题时,存在大量重复编码与设计工作。而且对这些不同的算法类型和问题类型进行管理,也存在大量繁琐而重复的劳动。本文从软件工程的角度出发,使用设计模式中的Mediator模式和Strategy模式,将算法类型和问题类型进行分离和拼装,并且将算法的源代码进行动态管理和运行。不仅方便重用和扩展,对算法的添加和替换也有非常好的效果。

【Abstract】 Because there is many-to-many relationship between Intelligence Algorithm type and problem type.,usually a large number of repeated coding and design work happens when use them to solve different type problem and manage these algorithms and problems.In this paper,from the perspective of software engineering,we use Mediator pattern and Strategy pattern to split and encapsulate algorithm type and problem type,and analyze a dynamic way of management and operation of the Intelligence Algorithm’s source code.This way is good not only for reusing and plugging,but also for adding and altering new algorithm.

  • 【会议录名称】 全国第20届计算机技术与应用学术会议(CACIS·2009)暨全国第1届安全关键技术与应用学术会议论文集(上册)
  • 【会议名称】全国第20届计算机技术与应用学术会议(CACIS·2009)暨全国第1届安全关键技术与应用学术会议
  • 【会议时间】2009-07-17
  • 【会议地点】中国广西南宁
  • 【分类号】TP311.52
  • 【主办单位】中国仪器仪表学会(CIS)、中国系统仿真学会(CSSS)、中国仪器仪表学会微型计算机应用学会(CACIS)、中国系统仿真学会复杂系统建模与仿真计算专业委员会筹备处(CSSC)
节点文献中: