Abstract
Negation is intrinsic to human thinking and most of the time when searching for something, we base our patterns on both positive and negative conditions. In a recent work, the notion of term was extended to the one of anti-term, i.e. terms that may contain complement symbols. Here we generalize the syntactic anti-pattern matching to anti-pattern matching modulo an arbitrary equational theory ε, and we study the specific and practically very useful case of associativity, possibly with a unity ( ). To this end, based on the syntacticness of associativity, we present a rule-based associative matching algorithm, and we extend it to . This algorithm is then used to solve anti-pattern matching problems. This allows us to be generic enough so that for instance, the AllDiff standard predicate of constraint programming becomes simply expressible in this framework. anti-patterns are implemented in the Tom language and we show some examples of their usage. © 2008 Springer-Verlag Berlin Heidelberg.
Cite
CITATION STYLE
Kirchner, C., Kopetz, R., & Moreau, P. E. (2008). Anti-pattern matching modulo. In Lecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics) (Vol. 5196 LNCS, pp. 275–286). https://doi.org/10.1007/978-3-540-88282-4_26
Register to see more suggestions
Mendeley helps you to discover research relevant for your work.