Batched Evaluation of Linear Tabled Logic Programs.
Saved in:
| Title: | Batched Evaluation of Linear Tabled Logic Programs. |
|---|---|
| Authors: | Areias, Miguel1 miguel-areias@dcc.fc.up.pt, Rocha, Ricardo1 ricrocg@dcc.fc.up.pt |
| Source: | Computer Science & Information Systems. Oct2013, Vol. 10 Issue 4, p1775-1797. 23p. |
| Subjects: | Logic programming, Prolog (Computer program language), Computer scheduling, Computer programming, Time-sharing computer systems |
| Abstract: | Logic Programming languages, such as Prolog, provide a highlevel, declarative approach to programming. Despite the power, flexibility and good performance that Prolog systems have achieved, some deficiencies in Prolog's evaluation strategy - SLD resolution - limit the potential of the logic programming paradigm. Tabled evaluation is a recognized and powerful technique that overcomes SLD's susceptibility in dealing with recursion and redundant sub-computations. In a tabled evaluation, there are several points where we may have to choose between different tabling operations. The decision on which operation to perform is determined by the scheduling algorithm. The two most successful tabling scheduling algorithms are local scheduling and batched scheduling. In previous work, we have developed a framework, on top of the Yap Prolog system, that supports the combination of different linear tabling strategies for local scheduling. In this work, we propose the extension of our framework to support batched scheduling. In particular, we are interested in the two most successful linear tabling strategies, the DRA and DRE strategies. To the best of our knowledge, no other Prolog system supports both strategies simultaneously for batched scheduling. Our experimental results show that the combination of the DRA and DRE strategies can effectively reduce the execution time for batched evaluation. [ABSTRACT FROM AUTHOR] |
| Copyright of Computer Science & Information Systems is the property of ComSIS Consortium and its content may not be copied or emailed to multiple sites without the copyright holder's express written permission. Additionally, content may not be used with any artificial intelligence tools or machine learning technologies. However, users may print, download, or email articles for individual use. This abstract may be abridged. No warranty is given about the accuracy of the copy. Users should refer to the original published version of the material for the full abstract. (Copyright applies to all Abstracts.) | |
| Database: | Engineering Source |
| FullText | Links: – Type: pdflink Text: Availability: 0 |
|---|---|
| Header | DbId: egs DbLabel: Engineering Source An: 97676492 AccessLevel: 6 PubType: Academic Journal PubTypeId: academicJournal PreciseRelevancyScore: 0 |
| IllustrationInfo | |
| Items | – Name: Title Label: Title Group: Ti Data: Batched Evaluation of Linear Tabled Logic Programs. – Name: Author Label: Authors Group: Au Data: <searchLink fieldCode="AR" term="%22Areias%2C+Miguel%22">Areias, Miguel</searchLink><relatesTo>1</relatesTo><i> miguel-areias@dcc.fc.up.pt</i><br /><searchLink fieldCode="AR" term="%22Rocha%2C+Ricardo%22">Rocha, Ricardo</searchLink><relatesTo>1</relatesTo><i> ricrocg@dcc.fc.up.pt</i> – Name: TitleSource Label: Source Group: Src Data: <searchLink fieldCode="JN" term="%22Computer+Science+%26+Information+Systems%22">Computer Science & Information Systems</searchLink>. Oct2013, Vol. 10 Issue 4, p1775-1797. 23p. – Name: Subject Label: Subjects Group: Su Data: <searchLink fieldCode="DE" term="%22Logic+programming%22">Logic programming</searchLink><br /><searchLink fieldCode="DE" term="%22Prolog+%28Computer+program+language%29%22">Prolog (Computer program language)</searchLink><br /><searchLink fieldCode="DE" term="%22Computer+scheduling%22">Computer scheduling</searchLink><br /><searchLink fieldCode="DE" term="%22Computer+programming%22">Computer programming</searchLink><br /><searchLink fieldCode="DE" term="%22Time-sharing+computer+systems%22">Time-sharing computer systems</searchLink> – Name: Abstract Label: Abstract Group: Ab Data: Logic Programming languages, such as Prolog, provide a highlevel, declarative approach to programming. Despite the power, flexibility and good performance that Prolog systems have achieved, some deficiencies in Prolog's evaluation strategy - SLD resolution - limit the potential of the logic programming paradigm. Tabled evaluation is a recognized and powerful technique that overcomes SLD's susceptibility in dealing with recursion and redundant sub-computations. In a tabled evaluation, there are several points where we may have to choose between different tabling operations. The decision on which operation to perform is determined by the scheduling algorithm. The two most successful tabling scheduling algorithms are local scheduling and batched scheduling. In previous work, we have developed a framework, on top of the Yap Prolog system, that supports the combination of different linear tabling strategies for local scheduling. In this work, we propose the extension of our framework to support batched scheduling. In particular, we are interested in the two most successful linear tabling strategies, the DRA and DRE strategies. To the best of our knowledge, no other Prolog system supports both strategies simultaneously for batched scheduling. Our experimental results show that the combination of the DRA and DRE strategies can effectively reduce the execution time for batched evaluation. [ABSTRACT FROM AUTHOR] – Name: AbstractSuppliedCopyright Label: Group: Ab Data: <i>Copyright of Computer Science & Information Systems is the property of ComSIS Consortium and its content may not be copied or emailed to multiple sites without the copyright holder's express written permission. Additionally, content may not be used with any artificial intelligence tools or machine learning technologies. However, users may print, download, or email articles for individual use. This abstract may be abridged. No warranty is given about the accuracy of the copy. Users should refer to the original published version of the material for the full abstract.</i> (Copyright applies to all Abstracts.) |
| PLink | https://search.ebscohost.com/login.aspx?direct=true&site=eds-live&db=egs&AN=97676492 |
| RecordInfo | BibRecord: BibEntity: Identifiers: – Type: doi Value: 10.2298/CSIS121129066A Languages: – Code: eng Text: English PhysicalDescription: Pagination: PageCount: 23 StartPage: 1775 Subjects: – SubjectFull: Logic programming Type: general – SubjectFull: Prolog (Computer program language) Type: general – SubjectFull: Computer scheduling Type: general – SubjectFull: Computer programming Type: general – SubjectFull: Time-sharing computer systems Type: general Titles: – TitleFull: Batched Evaluation of Linear Tabled Logic Programs. Type: main BibRelationships: HasContributorRelationships: – PersonEntity: Name: NameFull: Areias, Miguel – PersonEntity: Name: NameFull: Rocha, Ricardo IsPartOfRelationships: – BibEntity: Dates: – D: 01 M: 10 Text: Oct2013 Type: published Y: 2013 Identifiers: – Type: issn-print Value: 18200214 Numbering: – Type: volume Value: 10 – Type: issue Value: 4 Titles: – TitleFull: Computer Science & Information Systems Type: main |
| ResultId | 1 |