loading...
 This Article 
   
 Share 
   
 Bibliographic References 
   
 Add to: 
 
Digg
Furl
Spurl
Blink
Simpy
Google
Del.icio.us
Y!MyWeb
 
 Search 
   
9th International Database Engineering & Application Symposium (IDEAS'05)
NP Datalog: A Logic Language for NP Search and Optimization Queries
Montreal, Canada
July 25-July 27
ISBN: 0-7695-2404-4
Sergio Greco, Università della Calabria
Irina Trubitsyna, Università della Calabria
Ester Zumpano, Università della Calabria
This paper presents a logic language, called NP Datalog for NP search and optimization problems. The ?search? language extends stratified Datalog with constraints and partition rules defining (nondeterministically) partition of relations. NP optimization problems are then formulated by adding a max(or min) construct to select the solution (stable model) which maximizes (resp., minimizes) the result of a polynomial function applied to the answer relation. We show that NP Datalog queries can be easily evaluated by translating them into ILOG programs which are next solved by means of the ILOG OPL Studio suite. To prove the effectiveness of our proposal, we have implemented a module, written in Sicstus Prolog, which takes in input a NP Datalog query and outputs an equivalent ILOG program. Several experiments comparing the computation of queries by different logic systems have been also performed.
Citation:
Sergio Greco, Irina Trubitsyna, Ester Zumpano, "NP Datalog: A Logic Language for NP Search and Optimization Queries," ideas, pp.344-353, 9th International Database Engineering & Application Symposium (IDEAS'05), 2005
Usage of this product signifies your acceptance of the Terms of Use.