Making exhaustive search programs deterministic (Q1094889): Difference between revisions
From MaRDI portal
Changed an Item |
Set profile property. |
||
Property / MaRDI profile type | |||
Property / MaRDI profile type: Publication / rank | |||
Normal rank |
Revision as of 02:12, 5 March 2024
scientific article
Language | Label | Description | Also known as |
---|---|---|---|
English | Making exhaustive search programs deterministic |
scientific article |
Statements
Making exhaustive search programs deterministic (English)
0 references
1987
0 references
This paper presents a technique for compiling a Horn-clause program intended for exhaustive search into a GHC (Guarded Horn Clauses) program. The technique can be viewed also as a transformation technique for Prolog programs which compiles away the `bagof' primitive and non-determinate bindings. The class of programs to which our technique is applicable is shown with a static checking algorithm; it is nontrivial and could be extended. An experiment on a compiler-based Prolog system showed that our technique improved the efficiency of exhaustive search by 6 times for a permutation generator program. This compilation technique is important also in that it exploits the AND-parallelism of GHC for parallel search.
0 references
multiple binding environments
0 references
compilation
0 references
program transformation
0 references
parallelism
0 references
Horn-clause program
0 references
exhaustive search
0 references
Prolog programs
0 references