Extending object-oriented languages by declarative specifications of complex objects using answer-set programming
2012 (English)In: 26th Workshop on Logic Programming, WLP 2012 - Proceedings, 2012, p. 129-137Conference paper, Published paper (Refereed)
Abstract [en]
Many applications require complexly structured data objects. Developing new or adapting existing algorithmic solutions for creating such objects can be a non-trivial and costly task if the considered objects are subject to different application-specific constraints. Often, however, it is comparatively easy to declaratively describe the required objects. In this paper, we propose an approach for instantiating objects in standard object-oriented programming languages. In particular, we extend Java with declarative specifications in terms of answer-set programming (ASP), a well-established declarative programming paradigm from the area of logic-based artificial intelligence, from which the required objects can be automatically generated using available ASP solver technology.
Place, publisher, year, edition, pages
2012. p. 129-137
Keywords [en]
Artificial intelligence, Computer circuits, Logic programming, Specifications, Algorithmic solutions, Answer set programming, Application specific, Automatically generated, Complex objects, Declarative Programming, Non-trivial, Structured data objects, Object oriented programming
National Category
Computer Sciences
Identifiers
URN: urn:nbn:se:hj:diva-63573Scopus ID: 2-s2.0-85088706708OAI: oai:DiVA.org:hj-63573DiVA, id: diva2:1838417
Conference
26th Workshop on Logic Programming, WLP 2012, 24-25 September 2012, Bonn, Germany
2024-02-162024-02-162024-02-16Bibliographically approved