Inference of Design Pattern Instances in UML models via Logic Programming
Author(s) -
Dae-Kyoo Kim,
Lunjin Lu
Publication year - 2006
Publication title -
11th ieee international conference on engineering of complex computer systems (iceccs'06)
Language(s) - English
Resource type - Book series
ISBN - 0-7695-2530-X
DOI - 10.1109/iceccs.2006.58
This paper formalizes the notion of a design model structurally conforming to a design pattern by representing the model as a logic program whilst the pattern as a query. The conformance of a model to a design pattern is equivalent to the satisfaction of the query by the logic program. Harnessing logic inference capability of logic programming languages, we obtain an automated method that infers all the instances of a design pattern in a UML class diagram. We use the Visitor pattern and a price calculation application to demonstrate the technique.
Accelerating Research
Robert Robinson Avenue,
Oxford Science Park, Oxford
OX4 4GP, United Kingdom
Address
John Eccles HouseRobert Robinson Avenue,
Oxford Science Park, Oxford
OX4 4GP, United Kingdom