Finite domain constraints in SICStus prolog
Year: 2001
Type: conference-paper
Abstract: The solver provides three ways of defining propagators: (a) in Prolog, via a public API; (b) in C, using an internal API; and (c) via indexicals. An indexical pi for constraint p is a function from {D(xj) | 1 ≤ j ≤ n ∧ i 6= j} to D(xi), the domain of xi. So it takes k indexicals to propagate a k-ary constraint. Indexicals can be hand-written, but are normally compiled from SMT formulas (see below). They are executed by a custom bytecode emulator. Propagators of types (a,b) are stateful whereas indexicals are stateless. The solver comes with a library of propagators of types (b,c). Application code can define new propagators of types (a,c). In order to seamlessly integrate with the host system, the solver heavily uses features such as coroutining, attributed variables and mutable terms. Data structures such as domains and suspension lists are Prolog terms.
Author: Mats Carlsson
Language: English
Subfield: Artificial Intelligence
Field: Computer Science
Domain: Physical Sciences
Open Access status: green
OpenAlex ID: W78201000
