Greedy Algorithms in Datalog

dc.creatorGreco, Sergio
dc.creatorZaniolo, Carlo
dc.date2003-12-18
dc.date.accessioned2026-07-07T03:20:45Z
dc.date.available2026-07-07T03:20:45Z
dc.descriptionIn the design of algorithms, the greedy paradigm provides a powerful tool for solving efficiently classical computational problems, within the framework of procedural languages. However, expressing these algorithms within the declarative framework of logic-based languages has proven a difficult research challenge. In this paper, we extend the framework of Datalog-like languages to obtain simple declarative formulations for such problems, and propose effective implementation techniques to ensure computational complexities comparable to those of procedural formulations. These advances are achieved through the use of the "choice" construct, extended with preference annotations to effect the selection of alternative stable-models and nondeterministic fixpoints. We show that, with suitable storage structures, the differential fixpoint computation of our programs matches the complexity of procedural algorithms in classical search and optimization problems.
dc.description27 pages
dc.identifierhttps://arxiv.org/abs/cs/0312041
dc.identifierhttp://arxiv.org/abs/cs/0312041
dc.identifierTheory and Practice of Logic Programming, 1(4): 381-407, 2001
dc.identifier.urihttp://salesiana.dossiersoluciones.com/handle/123456789/31937
dc.subjectDatabases
dc.subjectArtificial Intelligence
dc.subjectD.1.6; F.3.1; F.4.1
dc.titleGreedy Algorithms in Datalog
dc.typetext

Files

Collections