{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,10,5]],"date-time":"2026-10-05T04:55:50Z","timestamp":1791176150567,"version":"4.1.0"},"reference-count":0,"publisher":"Cambridge University Press (CUP)","issue":"4","license":[{"start":{"date-parts":[[2001,6,25]],"date-time":"2001-06-25T00:00:00Z","timestamp":993427200000},"content-version":"unspecified","delay-in-days":0,"URL":"https:\/\/www.cambridge.org\/core\/terms"}],"content-domain":{"domain":[],"crossmark-restriction":false},"short-container-title":["Theory and Practice of Logic Programming"],"published-print":{"date-parts":[[2001,7]]},"abstract":"<jats:p>In the design of algorithms, the greedy paradigm provides a powerful tool for solving efficiently \nclassical computational problems, within the framework of procedural languages. However, \nexpressing these algorithms within the declarative framework of logic-based languages has \nproven a difficult research challenge. In this paper, we extend the framework of Datalog-like \nlanguages to obtain simple declarative formulations for such problems, and propose \neffective implementation techniques to ensure computational complexities comparable to \nthose of procedural formulations. These advances are achieved through the use of the <jats:italic>choice<\/jats:italic> \nconstruct, extended with preference annotations to effect the selection of alternative stable-models \nand nondeterministic fixpoints. We show that, with suitable storage structures, the \ndifferential fixpoint computation of our programs matches the complexity of procedural \nalgorithms in classical search and optimization problems.<\/jats:p>","DOI":"10.1017\/s1471068401001090","type":"journal-article","created":{"date-parts":[[2002,7,27]],"date-time":"2002-07-27T13:16:36Z","timestamp":1027775796000},"page":"381-407","source":"Crossref","is-referenced-by-count":17,"title":["Greedy algorithms in Datalog"],"prefix":"10.1017","volume":"1","author":[{"given":"SERGIO","family":"GRECO","sequence":"first","affiliation":[],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"CARLO","family":"ZANIOLO","sequence":"additional","affiliation":[],"role":[{"vocabulary":"crossref","role":"author"}]}],"member":"56","published-online":{"date-parts":[[2001,6,25]]},"container-title":["Theory and Practice of Logic Programming"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/www.cambridge.org\/core\/services\/aop-cambridge-core\/content\/view\/S1471068401001090","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2019,3,31]],"date-time":"2019-03-31T19:25:50Z","timestamp":1554060350000},"score":1,"resource":{"primary":{"URL":"https:\/\/www.cambridge.org\/core\/product\/identifier\/S1471068401001090\/type\/journal_article"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2001,6,25]]},"references-count":0,"journal-issue":{"issue":"4","published-print":{"date-parts":[[2001,7]]}},"alternative-id":["S1471068401001090"],"URL":"https:\/\/doi.org\/10.1017\/s1471068401001090","relation":{},"ISSN":["1471-0684","1475-3081"],"issn-type":[{"value":"1471-0684","type":"print"},{"value":"1475-3081","type":"electronic"}],"subject":[],"published":{"date-parts":[[2001,6,25]]}}}