An Entropy-Based Algorithm for Proposing a Suitable Design Pattern
Volume 27, Issue 4 (2016), pp. 843–862
Pub. online: 1 January 2016
Type: Research Article
Received
1 May 2015
1 May 2015
Accepted
1 September 2016
1 September 2016
Published
1 January 2016
1 January 2016
Abstract
This paper deals with the problem of selecting a suitable design pattern when necessary. The number of design patterns has been rapidly rising, but management and searching facilities appear to be lagging behind. In this paper we will present a platform, which is used to search for suitable design patterns and for design patterns knowledge exchange. We are introducing a novel design pattern proposing approach: the developer no longer searches for an appropriate design pattern, but rather the intelligent component asks the developer questions. We do not want to invest extra effort in terms of maintaining a special expert system. Guided dialogues consist of independent questions from different sources and authors that are automatically combined. The enabling algorithm and formulas are discussed in detail. This paper also presents our comparison with human-created expert systems via a decision tree. Experiments were executed in order to verify our approach performance. The control group used a human-created expert system, while others were given a proposing component to find appropriate design patterns.