Extending Object-Oriented Languages by Declarative Specifications of Complex Objects using Answer-Set Programming
Abstract
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 to use answer-set programming (ASP)---a well-established declarative programming paradigm from the area of artificial intelligence---for instantiating objects in standard object-oriented programming languages. In particular, we extend Java with declarative specifications from which the required objects can be automatically generated using available ASP solver technology.
- Publication:
-
arXiv e-prints
- Pub Date:
- December 2011
- DOI:
- 10.48550/arXiv.1112.0922
- arXiv:
- arXiv:1112.0922
- Bibcode:
- 2011arXiv1112.0922O
- Keywords:
-
- Computer Science - Programming Languages;
- Computer Science - Artificial Intelligence
- E-Print:
- Submitted to the 34th International Conference on Software Engineering (ICSE), New Ideas and Emerging Results (NIER) track