Lightweight String Reasoning in Model Finding - Inria - Institut national de recherche en sciences et technologies du numérique Access content directly
Journal Articles Software and Systems Modeling Year : 2013

Lightweight String Reasoning in Model Finding

Abstract

Models play a key role in assuring software quality in the model-driven approach. Precise models usually require the definition of well-formedness rules to specify constraints that cannot be expressed graphically. The Object Constraint Language (OCL) is a de-facto standard to define such rules. Techniques that check the satisfiability of such models and find corresponding instances of them are important in various activities, such as model-based testing and validation. Several tools for these activities have been developed, but to our knowledge, none of them supports OCL string operations on scale that is sufficient for, e.g., model-based testing. As, in contrast, many industrial models do contain such operations, there is evidently a gap. We present a lightweight solver that is specifically tailored to generate large solutions for tractable string constraints in model finding, and that is suitable for directly express the main operations of the OCL datatype String. It is based on constraint logic programming (CLP) and constraint handling rules (CHR), and can be seamlessly combined with other constraint solvers in CLP. We have integrated our solver into the EMFtoCSP model finder, and we show that our implementation efficiently solves several common string constraints on a large instances.
Fichier principal
Vignette du fichier
paper.pdf (349.35 Ko) Télécharger le fichier
Origin : Files produced by the author(s)
Loading...

Dates and versions

hal-00814991 , version 1 (18-04-2013)

Identifiers

Cite

Fabian Büttner, Jordi Cabot. Lightweight String Reasoning in Model Finding. Software and Systems Modeling, 2013, ⟨10.1007/s10270-013-0332-x⟩. ⟨hal-00814991⟩
265 View
303 Download

Altmetric

Share

Gmail Facebook X LinkedIn More