The spreadsheet application is among the most widely used computing tools in modern society. It provides excellent usability and usefulness, and it easily enables a non-programmer to perform programming-like tasks in a visual tabular "pen and paper" approach. However, spreadsheets are mostly limited to bookkeeping-like applications due to their mono-directional data flow. This paper shows how the spreadsheet computing paradigm is extended to break this limitation for solving constraint satisfaction problems. We present an enhanced spreadsheet system where finite-domain constraint solving is well supported in a visual environment. Furthermore, a spreadsheet-specific constraint language is constructed for general users to specify constraints among data cells in a declarative and scalable way. The new spreadsheet system significantly simplifies the development of many constraint-based applications using a visual tabular interface. Examples are given to illustrate the usability and usefulness of the extended spreadsheet paradigm. KEYWORDS: Spreadsheet computing, Finite-domain constraint satisfaction, Constraint logic programming
翻译:电子表格应用程序是现代社会最广泛使用的计算工具之一。 它提供了极佳的可用性和实用性, 并且很容易使非程序设计员能够以视觉表格“ 纸和纸” 方式执行类似编程的任务。 但是, 电子表格由于它们的单向数据流, 大部分限于簿记类应用程序。 本文展示了电子表格计算模式如何扩大, 以打破这一限制, 解决限制满意度问题。 我们展示了一个强化的电子表格系统, 有限域限制的解决在视觉环境中得到了很好的支持。 此外, 还为一般用户设计了一个电子表格专用的制约语言, 以声明和可缩放的方式指定数据单元格之间的限制。 新的电子表格系统大大简化了使用视觉表格界面的许多基于限制的应用程序的开发。 举例说明了扩展电子表格模式的可用性和有用性。 KEYWORDS: 电子表格计算、 Finite- domaincess、 Constraint 逻辑程序。