Extending Object-Oriented Languages by Declarative Specifications of Complex Objects Using Answer-Set Programming
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, the authors propose an approach for instantiating objects in standard object-oriented programming languages. In particular, they 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.