Introduction to the constraint language NCL

Jianyang Zhou
{"title":"Introduction to the constraint language NCL","authors":"Jianyang Zhou","doi":"10.1016/S0743-1066(99)00063-1","DOIUrl":null,"url":null,"abstract":"<div><p>The design, implementation and application of a natural constraint language <span>NCL</span> <!-->are presented. At the solver level, to support the solving of a large scope of combinatorial problems, a rich set of conventional constraints is defined within a constraint framework that strongly combines Boolean logic, integer constraints and set reasoning over finite domains. The basic computation model for solving conjunctions of elementary constraints with possible existential and universal quantifications is described using rewrite rules. At the language level, to upgrade the expressive power, a natural syntax (context-dependent), which completely adopts mathematical notations, is designed. To enhance the constraint handling capability, quantification, logical switch, referencing mechanism, global/dynamic constraints, meta expressions, multi-criteria optimization, and search specifications are cooperatively introduced in a single constraint system. Compared to existing modeling languages, a strong feature of <span>NCL</span> <!-->is: Data, constraints and control are fully integrated and are clearly separable. Especially, though <span>NCL</span> <!-->deals with several data types such as Boolean, integer, set, index, reference, array and tuple, there is no need to declare data explicitly. This context-sensitive data typing makes <span>NCL</span> <!-->programs direct, concise and liberal.</p></div>","PeriodicalId":101236,"journal":{"name":"The Journal of Logic Programming","volume":"45 1","pages":"Pages 71-103"},"PeriodicalIF":0.0000,"publicationDate":"2000-09-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"https://sci-hub-pdf.com/10.1016/S0743-1066(99)00063-1","citationCount":"23","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"The Journal of Logic Programming","FirstCategoryId":"1085","ListUrlMain":"https://www.sciencedirect.com/science/article/pii/S0743106699000631","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 23

Abstract

The design, implementation and application of a natural constraint language NCL are presented. At the solver level, to support the solving of a large scope of combinatorial problems, a rich set of conventional constraints is defined within a constraint framework that strongly combines Boolean logic, integer constraints and set reasoning over finite domains. The basic computation model for solving conjunctions of elementary constraints with possible existential and universal quantifications is described using rewrite rules. At the language level, to upgrade the expressive power, a natural syntax (context-dependent), which completely adopts mathematical notations, is designed. To enhance the constraint handling capability, quantification, logical switch, referencing mechanism, global/dynamic constraints, meta expressions, multi-criteria optimization, and search specifications are cooperatively introduced in a single constraint system. Compared to existing modeling languages, a strong feature of NCL is: Data, constraints and control are fully integrated and are clearly separable. Especially, though NCL deals with several data types such as Boolean, integer, set, index, reference, array and tuple, there is no need to declare data explicitly. This context-sensitive data typing makes NCL programs direct, concise and liberal.

查看原文
分享 分享
微信好友 朋友圈 QQ好友 复制链接
本刊更多论文
约束语言NCL简介
介绍了一种自然约束语言NCL的设计、实现和应用。在求解器层面,为了支持解决大范围的组合问题,在约束框架内定义了一组丰富的常规约束,该约束框架将布尔逻辑、整数约束和有限域上的集合推理强有力地结合在一起。用改写规则描述了求解具有可能存在量和可能全称量的初等约束连词的基本计算模型。在语言层面,为了提升表达能力,设计了一种完全采用数学符号的自然语法(上下文相关)。为了增强约束处理能力,在单个约束系统中协同引入量化、逻辑切换、引用机制、全局/动态约束、元表达式、多准则优化和搜索规范。与现有的建模语言相比,NCL的一个强大特点是:数据、约束和控制完全集成,并且可以清晰地分离。特别是,尽管NCL处理多种数据类型,如布尔值、整数、集合、索引、引用、数组和元组,但不需要显式声明数据。这种上下文敏感的数据类型使得NCL程序直接、简洁和自由。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 去求助
来源期刊
自引率
0.00%
发文量
0
期刊最新文献
More on tractable disjunctive Datalog Decidability of logic program semantics and applications to testing Pair-sharing over rational trees Meta-agent programs Index
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
现在去查看 取消
×
提示
确定
0
微信
客服QQ
Book学术公众号 扫码关注我们
反馈
×
意见反馈
请填写您的意见或建议
请填写您的手机或邮箱
已复制链接
已复制链接
快去分享给好友吧!
我知道了
×
扫码分享
扫码分享
Book学术官方微信
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术
文献互助 智能选刊 最新文献 互助须知 联系我们:info@booksci.cn
Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。
Copyright © 2023 Book学术 All rights reserved.
ghs 京公网安备 11010802042870号 京ICP备2023020795号-1