arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2008.13460cs.PL
收藏

使用自由数组的约束逻辑面向对象程序设计

Constraint-Logic Object-Oriented Programming with Free Arrays

Jan C. Dageförde, Herbert Kuchen

摘要:

约束逻辑面向对象编程提供了面向对象编程和约束逻辑搜索之间的有用的共生关系。以集成方式使用逻辑变量、约束、非确定性搜索和面向对象编程的能力,有助于在面向对象应用程序中将与搜索相关的程序部分和其他业务逻辑相结合。通过这项工作,我们概念化数组类型的逻辑变量(“自由数组”),从而完成了一套类型的逻辑变量可以假设在约束逻辑面向对象编程。自由数组具有一些有趣的特性,比如长度不确定和对数组元素的访问不确定。

英文摘要:

Constraint-logic object-oriented programming provides a useful symbiosis between object-oriented programming and constraint-logic search. The ability to use logic variables, constraints, non-deterministic search, and object-oriented programming in an integrated way facilitates the combination of search-related program parts and other business logic in object-oriented applications. With this work we conceptualize array-typed logic variables ("free arrays"), thus completing the set of types that logic variables can assume in constraint-logic object-oriented programming. Free arrays exhibit interesting properties, such as indeterminate lengths and non-deterministic accesses to array elements.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑