International Workshop Peer-reviewed

Class Responsibility Assignment as Fuzzy Constraint Satisfaction

Shinpei Hayashi, Takuto Yanagida, Motoshi Saeki, Hidenori Mimura

In Proceedings of the 6th International Workshop on Empirical Software Engineering in Practice (IWESEP 2014), pp. 19–24, Osaka, Japan, November 2014.

Abstract

We formulate the class responsibility assignment (CRA) problem as the fuzzy constraint satisfaction problem (FCSP) for automating CRA of high quality. Responsibilities are contracts or obligations of objects that they should assume, by aligning them to classes appropriately, quality designs realize. Typical conditions of a desirable design are having a low coupling between highly cohesive classes. However, because of a trade-off among such conditions, solutions that satisfy the conditions moderately are desired, and computer assistance is needed. Additionally, if we have an initial assignment, the improved one by our technique should keep the original assignment as much as possible because it involves with the intention of human designers. We represent such conditions as fuzzy constraints, and formulate CRA as FCSP. That enables us to apply common FCSP solvers to the problem and to derive solution representing a CRA. The conducted preliminary evaluation indicates the effectiveness of our technique.

Related papers

This work builds on

Continued in

BibTeX

@inproceedings{hayashi-iwesep2014,
    author = {Shinpei Hayashi and Takuto Yanagida and Motoshi Saeki and Hidenori Mimura},
    title = {Class Responsibility Assignment as Fuzzy Constraint Satisfaction},
    booktitle = {Proceedings of the 6th International Workshop on Empirical Software Engineering in Practice},
    pages = {19--24},
    doi = {10.1109/IWESEP.2014.13},
    year = 2014,
}
Type
International Workshop
Conference
IWESEP 2014
Location
Osaka, Japan
Presented
November 12, 2014
Volume / Pages
pp. 19–24
Acceptance rate
10/18 (56%)
DOI
10.1109/IWESEP.2014.13