摘要
1引言
类图是反映面向对象程序结构的重要视图,它由类及类与类之问的关系(包括继承、关联和聚集)构成.在面向对象程序理解与测试中,通过对源程序进行静态分析可以获取类以及类之问的关系.
In this paper, a channel based volute layout algorithm is presented according to the complex topology of the association and aggregation in the class diagram. The key points of this algorithm are discussed in details. This algorithm has been applied to draw class diagram in Safepro/Java, a kind of testing tools for Java program. It is proved that graph implemented by this algorithm is symmetric and of high cohesion. It is the great improvement for inheritance based hierarchical layout algorithm.
出处
《计算机科学》
CSCD
北大核心
2002年第8期126-127,105,共3页
Computer Science
基金
国家九五重点攻关项目(98-760-01-02)