Using dashed strings is an approach recently introduced in Constraint Programming (CP) to represent the domain of string variables, when solving combinatorial problems with string constraints. One of the most important string constraints is that of regular membership: regular (x, R) imposes string x to be a member of the regular language defined by automaton R. The regular constraint is useful for specifying complex constraints on fixed length finite sequences, and regularly appears in CP models. Dealing with regular is also desirable in software testing and verification, because regular expressions are often used in modern programming languages for pattern matching. In this paper, we define a regular propagator for dashed string solvers. We show that this propagator, implemented in the G-Strings solver, is substantially better than the current state-of-the-art. We also demonstrate that many regular constraints appearing in string solving benchmarks can actually be tackled by dashed strings solvers without explicitly using REGULAR.

Propagating Regular membership with dashed strings / Amadini R.; Gange G.; Stuckey P.J.. - ELETTRONICO. - 11008:(2018), pp. 13-29. (Intervento presentato al convegno 24th International Conference on the Principles and Practice of Constraint Programming, CP 2018 tenutosi a fra nel 2018) [10.1007/978-3-319-98334-9_2].

Propagating Regular membership with dashed strings

Amadini R.
;
2018

Abstract

Using dashed strings is an approach recently introduced in Constraint Programming (CP) to represent the domain of string variables, when solving combinatorial problems with string constraints. One of the most important string constraints is that of regular membership: regular (x, R) imposes string x to be a member of the regular language defined by automaton R. The regular constraint is useful for specifying complex constraints on fixed length finite sequences, and regularly appears in CP models. Dealing with regular is also desirable in software testing and verification, because regular expressions are often used in modern programming languages for pattern matching. In this paper, we define a regular propagator for dashed string solvers. We show that this propagator, implemented in the G-Strings solver, is substantially better than the current state-of-the-art. We also demonstrate that many regular constraints appearing in string solving benchmarks can actually be tackled by dashed strings solvers without explicitly using REGULAR.
2018
24th International Conference on the Principles and Practice of Constraint Programming, CP 2018
13
29
Propagating Regular membership with dashed strings / Amadini R.; Gange G.; Stuckey P.J.. - ELETTRONICO. - 11008:(2018), pp. 13-29. (Intervento presentato al convegno 24th International Conference on the Principles and Practice of Constraint Programming, CP 2018 tenutosi a fra nel 2018) [10.1007/978-3-319-98334-9_2].
Amadini R.; Gange G.; Stuckey P.J.
File in questo prodotto:
Eventuali allegati, non sono esposti

I documenti in IRIS sono protetti da copyright e tutti i diritti sono riservati, salvo diversa indicazione.

Utilizza questo identificativo per citare o creare un link a questo documento: https://hdl.handle.net/11585/708559
 Attenzione

Attenzione! I dati visualizzati non sono stati sottoposti a validazione da parte dell'ateneo

Citazioni
  • ???jsp.display-item.citation.pmc??? ND
  • Scopus 7
  • ???jsp.display-item.citation.isi??? 4
social impact