arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1210.1184cs.SEcs.AI
收藏

基于交互式演化计算的优雅面向对象软件设计

Elegant Object-oriented Software Design via Interactive, Evolutionary Computation

University of the West of England(西英格兰大学)

Christopher L. Simons, Ian C. Parmee

摘要:

设计是软件开发的基础,但可能要求执行。因此,为了帮助软件设计师,进化计算越来越多地应用于基于机器的,定量的适应度函数来进化软件设计。然而,在自然界中,优雅和对称在各种生物的生殖适应性中起着至关重要的作用。此外,在交互式演化计算(IEC)中也引入了主观评价的思想.因此,为了研究优雅和对称在软件设计中的作用,基于设计元素分布的均匀性,提出了四种新颖的优雅度量。在一个动态的交互式演化计算环境中的控制实验中,设计师提出了面向对象的软件设计,他们根据优雅的主观评估排名的可视化。对于提出的四个优雅衡量标准中的三个,发现优雅值与获得的奖励之间存在显着相关性。这三个优雅度量评估了(a)类之间的属性和方法,(b)类之间的外部耦合,以及(c)属性与方法的比率的分布均匀性。它的结论是对称优雅在某种程度上是重要的软件设计,这可以利用动态,多目标的交互式演化计算,以产生优雅的软件设计。

英文摘要:

Design is fundamental to software development but can be demanding to perform. Thus to assist the software designer, evolutionary computing is being increasingly applied using machine-based, quantitative fitness functions to evolve software designs. However, in nature, elegance and symmetry play a crucial role in the reproductive fitness of various organisms. In addition, subjective evaluation has also been exploited in Interactive Evolutionary Computation (IEC). Therefore to investigate the role of elegance and symmetry in software design, four novel elegance measures are proposed based on the evenness of distribution of design elements. In controlled experiments in a dynamic interactive evolutionary computation environment, designers are presented with visualizations of object-oriented software designs, which they rank according to a subjective assessment of elegance. For three out of the four elegance measures proposed, it is found that a significant correlation exists between elegance values and reward elicited. These three elegance measures assess the evenness of distribution of (a) attributes and methods among classes, (b) external couples between classes, and (c) the ratio of attributes to methods. It is concluded that symmetrical elegance is in some way significant in software design, and that this can be exploited in dynamic, multi-objective interactive evolutionary computation to produce elegant software designs.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑