摘要
算法演示系统是利用图形和动画来表现算法的运行过程的系统。一直以来人们采用事件驱动技术进行算法演示系统的开发,但传统的实现方案容易导致代码混乱和分散,以及可重用性和可维护性低等缺点。提出使用面向方面技术开发算法演示系统的方案,与传统实现方案相比,基于面向方面技术的实现方案具有系统模块松散耦合、可重用性高等优点。
An algorithm anitnation system visualizes the behavior of an algorithm by means of graphical displays. The traditional implementation of event-driven technology easily lead to code tangling and scattering, and lower reusability and maintainability. This article proposed a method based on aspect-oriented programming (AOP) to implement algo- rithm animation system. Comparing to the traditional implementation, AOP-based method provides a more loose-couple and reusability approach to modularize the animation system.
出处
《计算机科学》
CSCD
北大核心
2008年第12期247-249,257,共4页
Computer Science
基金
国家自然科学基金项目(No.60673050)
关键词
面向方面
AOP
算法演示
事件驱动
Aspect-oriented, AOP, Algorithm animation, Event-driven