Constraint solving for sequences in software validation and verification

  • Authors:
  • Nikolai Kosmatov

  • Affiliations:
  • CASSIS, INRIA Lorraine, LIFC, University of Franche-Comté, Besançon, France

  • Venue:
  • INAP'05 Proceedings of the 16th international conference on Applications of Declarative Programming and Knowledge Management
  • Year:
  • 2005

Quantified Score

Hi-index 0.00

Visualization

Abstract

Constraint programming techniques are successfully used in various areas of software engineering for industry, commerce, transport, finance etc. Constraint solvers for different data types are applied in validation and verification of programs containing data elements of these types. A general constraint solver for sequences is necessary to take into account this data type in the existing validation and verification tools. In this work, we present an original constraint solver for sequences implemented in CHR and based on T. Frühwirth's solver for lists with the propagation of two constraints: generalized concatenation and size. Experimental results show its better efficiency compared to the intuitive propagation algorithm based on subsequences. The applications of the solver (with the validation and verification tool BZTT) to different software engineering problems are illustrated by the example of a waiting room model.