| 摘要: |
| 限制描述了对象间的一组复杂关系,现有OOPL中一般不支持它们的表示和计算.本文给出了一种限制的对象表示法,其思想是在引入限制的同时不引入额外的概念,保持对象模型和语言的简单性。本文还讨论了这种表示法引入的问题和解决方法. |
| 关键词: 限制 限制求解 对象 面向对象程序设计 程序设计. |
| DOI: |
| 分类号: |
| 基金项目: |
|
| USING OBJECTS TO REPRESENT AND COMPUTE CONSTRAINTS |
|
Xi Jianqing,Wang Nengbin
|
| Abstract: |
| Constraints reflect relationships among a group of objects or among p arts of an object. Current object oriented paradigm does not support the explicitly expressing and computing. This paper introduces a method to explicitly express constraints using objects. The purpose ofit is to keep the language model simple when introducing constraints.Problems are also discussed with possible solutions. |
| Key words: Constraints constraint satisfaction object OOPL PL. |