Skip to Main content Skip to Navigation
Journal articles

Lightweight String Reasoning in Model Finding

Fabian Büttner 1, 2 Jordi Cabot 1
1 ATLANMOD - Modeling Technologies for Software Production, Operation, and Evolution
LINA - Laboratoire d'Informatique de Nantes Atlantique, Département informatique - EMN, Inria Rennes – Bretagne Atlantique
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.
Document type :
Journal articles
Complete list of metadata

Cited literature [29 references]  Display  Hide  Download

https://hal.inria.fr/hal-00814991
Contributor : Fabian Buettner <>
Submitted on : Thursday, April 18, 2013 - 9:45:11 AM
Last modification on : Wednesday, September 25, 2019 - 10:20:07 AM
Long-term archiving on: : Friday, July 19, 2013 - 4:00:45 AM

File

paper.pdf
Files produced by the author(s)

Identifiers

Citation

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

Share

Metrics

Record views

696

Files downloads

665