DocumentCode
3316943
Title
On reordering conjunctions of literals; a simple, fast algorithm
Author
Sheridan, Peter B.
Author_Institution
IBM Thomas J. Watson Res. Center, Yorktown Heights, NY, USA
fYear
1991
fDate
3-5 Apr 1991
Firstpage
73
Lastpage
79
Abstract
In most formulations, finding the optimal order of evaluation of subgoals in the body of a clause is known to be inherently exponential in time. On the other hand, the author has found it useful to apply a quick reordering algorithm, based only on individual rules, which, though not guaranteed always to generate an optimal order, often does yield large speedups in the executions of programs to which it is applied. The time complexity of the algorithm is-in the absence of nonlogical (builtin) predicates and in the presence of only safe negative literals-at most O (n 2 log n ) steps, where n is the length, in symbols, of the input conjunction
Keywords
computational complexity; formal logic; logic programming; programming theory; conjunctions; literals; reordering algorithm; safe negative literals; time complexity; Databases; Logic programming;
fLanguage
English
Publisher
ieee
Conference_Titel
Applied Computing, 1991., [Proceedings of the 1991] Symposium on
Conference_Location
Kansas City, MO
Print_ISBN
0-8186-2136-2
Type
conf
DOI
10.1109/SOAC.1991.143850
Filename
143850
Link To Document