A Novel Approach to String Constraint Solving

被引:16
作者
Amadini, Roberto [1 ]
Gange, Graeme [1 ]
Stuckey, Peter J. [1 ]
Tack, Guido [2 ]
机构
[1] Univ Melbourne, Melbourne, Vic, Australia
[2] Monash Univ, Melbourne, Vic, Australia
来源
PRINCIPLES AND PRACTICE OF CONSTRAINT PROGRAMMING (CP 2017) | 2017年 / 10416卷
基金
澳大利亚研究理事会;
关键词
D O I
10.1007/978-3-319-66158-2_1
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
String processing is ubiquitous across computer science, and arguably more so in web programming. In order to reason about programs manipulating strings we need to solve constraints over strings. In Constraint Programming, the only approaches we are aware for representing string variables-having bounded yet possibly unknown size-degrade when the maximum possible string length becomes too large. In this paper, we introduce a novel approach that decouples the size of the string representation from its maximum length. The domain of a string variable is dynamically represented by a simplified regular expression that we called a dashed string, and the constraint solving relies on propagation of information based on equations between dashed strings. We implemented this approach in G-Strings, a new string solver-built on top of Gecode solver-that already shows some promising results.
引用
收藏
页码:3 / 20
页数:18
相关论文
共 34 条
[1]  
Amadini R., 2016, LOGIC BASED PROGRAM
[2]   Combining String Abstract Domains for Java']JavaScript Analysis: An Evaluation [J].
Amadini, Roberto ;
Jordan, Alexander ;
Gange, Graeme ;
Gauthier, Francois ;
Schachte, Peter ;
Sondergaard, Harald ;
Stuckey, Peter J. ;
Zhang, Chenyi .
TOOLS AND ALGORITHMS FOR THE CONSTRUCTION AND ANALYSIS OF SYSTEMS, TACAS 2017, PT I, 2017, 10205 :41-57
[3]  
Amadini R, 2015, PROCEEDINGS OF THE TWENTY-FOURTH INTERNATIONAL JOINT CONFERENCE ON ARTIFICIAL INTELLIGENCE (IJCAI), P232
[4]  
[Anonymous], 2016, THESIS
[5]   Constraint programming in structural bioinformatics [J].
Barahona, Pedro ;
Krippahl, Ludwig .
CONSTRAINTS, 2008, 13 (1-2) :3-20
[6]  
Bisht P, 2011, PROCEEDINGS OF THE 18TH ACM CONFERENCE ON COMPUTER & COMMUNICATIONS SECURITY (CCS 11), P575
[7]  
Bjordal G., 2016, THESIS
[8]   A constraint-based local search backend for MiniZinc [J].
Bjordal, Gustav ;
Monette, Jean-Noel ;
Flener, Pierre ;
Pearson, Justin .
CONSTRAINTS, 2015, 20 (03) :325-345
[9]  
Bjorner N, 2009, LECT NOTES COMPUT SC, V5505, P307, DOI 10.1007/978-3-642-00768-2_27
[10]  
Chu G. G., 2011, THESIS