Zolotas, Athanasios, Clarisó, Robert, Matragkas, Nikolaos orcid.org/0000-0002-8594-1912 et al. (2 more authors) (2017) Constraint programming for type inference in flexible model-driven engineering. Computer Languages, Systems and Structures. pp. 216-230. ISSN 1477-8424
Abstract
Domain experts typically have detailed knowledge of the concepts that are used in their domain; however they often lack the technical skills needed to translate that knowledge into model-driven engineering (MDE) idioms and technologies. Flexible or bottom-up modelling has been introduced to assist with the involvement of domain experts by promoting the use of simple drawing tools. In traditional MDE the engineering process starts with the definition of a metamodel which is used for the instantiation of models. In bottom-up MDE example models are defined at the beginning, letting the domain experts and language engineers focus on expressing the concepts rather than spending time on technical details of the metamodelling infrastructure. The metamodel is then created manually or inferred automatically. The flexibility that bottom-up MDE offers comes with the cost of having nodes in the example models left untyped. As a result, concepts that might be important for the definition of the domain will be ignored while the example models cannot be adequately re-used in future iterations of the language definition process. In this paper, we propose a novel approach that assists in the inference of the types of untyped model elements using Constraint Programming. We evaluate the proposed approach in a number of example models to identify the performance of the prediction mechanism and the benefits it offers. The reduction in the effort needed to complete the missing types reaches up to 91.45% compared to the scenario where the language engineers had to identify and complete the types without guidance.
Metadata
Item Type: | Article |
---|---|
Authors/Creators: |
|
Copyright, Publisher and Additional Information: | © 2016 The Authors |
Keywords: | Bottom-up modelling,Constraint programming,Example-driven modelling,Flexible modelling,Type inference |
Dates: |
|
Institution: | The University of York |
Academic Units: | The University of York > Faculty of Sciences (York) > Computer Science (York) |
Depositing User: | Pure (York) |
Date Deposited: | 06 Jan 2017 10:44 |
Last Modified: | 19 Mar 2025 00:07 |
Published Version: | https://doi.org/10.1016/j.cl.2016.12.002 |
Status: | Published |
Refereed: | Yes |
Identification Number: | 10.1016/j.cl.2016.12.002 |
Related URLs: | |
Open Archives Initiative ID (OAI ID): | oai:eprints.whiterose.ac.uk:110204 |
Download
Filename: 1_s2.0_S1477842416300288_main.pdf
Description: Constraint programming for type
Licence: CC-BY 2.5