TY - GEN
T1 - Type inference in flexible model-driven engineering
AU - Zolotas, Athanasios
AU - Matragkas, Nicholas
AU - Devlin, Sam
AU - Kolovos, Dimitrios S.
AU - Paige, Richard F.
N1 - This is an author-produced version of the published paper. Uploaded in accordance with the publisher’s self-archiving policy. Further copying may not be permitted; contact the publisher for details.
PY - 2015/7/17
Y1 - 2015/7/17
N2 - In Model-Driven Engineering (MDE), models conform to metamodels. In flexible modelling, engineers construct example models with free-form drawing tools; these examples may later need to conform to a metamodel. Flexible modelling can lead to errors: drawn elements that should represent the same domain concept could instantiate different types; other drawn elements could be left untyped. We propose a novel type inference approach to calculating types from example models, based on the Classification and Regression Trees (CART) algorithm. We describe the approach and evaluate it on a number of randomly generated models, considering the accuracy and precision of the resultant classifications. Experimental results suggest that on average 80% of element types are correctly identified. In addition, the results reveal a correlation between the accuracy and the ratio of known-to-unknown types in a model.
AB - In Model-Driven Engineering (MDE), models conform to metamodels. In flexible modelling, engineers construct example models with free-form drawing tools; these examples may later need to conform to a metamodel. Flexible modelling can lead to errors: drawn elements that should represent the same domain concept could instantiate different types; other drawn elements could be left untyped. We propose a novel type inference approach to calculating types from example models, based on the Classification and Regression Trees (CART) algorithm. We describe the approach and evaluate it on a number of randomly generated models, considering the accuracy and precision of the resultant classifications. Experimental results suggest that on average 80% of element types are correctly identified. In addition, the results reveal a correlation between the accuracy and the ratio of known-to-unknown types in a model.
UR - http://www.scopus.com/inward/record.url?scp=84949939812&partnerID=8YFLogxK
U2 - 10.1007/978-3-319-21151-0_6
DO - 10.1007/978-3-319-21151-0_6
M3 - Conference contribution
AN - SCOPUS:84949939812
SN - 9783319211503
VL - 9153
T3 - Lecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics)
SP - 75
EP - 91
BT - Modelling Foundations and Applications
PB - Springer
T2 - 11th European Conference on Modelling Foundations and Applications, ECMFA 2015 Held as Part of International Conference on Software Technologies: Applications and Foundations, STAF 2015
Y2 - 20 July 2015 through 24 July 2015
ER -