Extending Object-Oriented Languages by Declarative Specifications of Complex Objects using Answer-Set Programming

12/05/2011
by   Johannes Oetsch, et al.
0

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.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
12/17/2021

Reducing Programs to Objects

C++, Java, C#, Python, Ruby, JavaScript are the most powerful object-ori...
research
02/17/2018

Generating Python Code From Object-Z Specifications

Object-Z is an object-oriented specification language which extends the ...
research
08/23/2018

Transpiling Programmable Computable Functions to Answer Set Programs

Programming Computable Functions (PCF) is a simplified programming langu...
research
07/28/2011

Complex Optimization in Answer Set Programming

Preference handling and optimization are indispensable means for address...
research
12/14/2021

Rushing and Strolling among Answer Sets – Navigation Made Easy

Answer set programming (ASP) is a popular declarative programming paradi...
research
09/22/2020

Automated Aggregator – Rewriting with the Counting Aggregate

Answer set programming is a leading declarative constraint programming p...
research
08/05/2022

A Preliminary Data-driven Analysis of Common Errors Encountered by Novice SPARC Programmers

Answer Set Programming (ASP), a modern development of Logic Programming,...

Please sign up or login with your details

Forgot password? Click here to reset