首页> 外文期刊>Constraints >Search combinators
【24h】

Search combinators

机译:搜索组合器

获取原文
获取原文并翻译 | 示例
           

摘要

The ability to model search in a constraint solver can be an essential asset for solving combinatorial problems. However, existing infrastructure for defining search heuristics is often inadequate. Either modeling capabilities are extremely limited or users are faced with a general-purpose programming language whose features are not tailored towards writing search heuristics. As a result, major improvements in performance may remain unexplored. This article introduces search combinators, a lightweight and solver-independent method that bridges the gap between a conceptually simple modeling language for search (high-level, functional and naturally compositional) and an efficient implementation (low-level, imperative and highly non-modular). By allowing the user to define application-tailored search strategies from a small set of primitives, search combinators effectively provide a rich domain-specific language (DSL) for modeling search to the user. Remarkably, this DSL comes at a low implementation cost to the developer of a constraint solver. The article discusses two modular implementation approaches and shows, by empirical evaluation, that search combinators can be implemented without overhead compared to a native, direct implementation in a constraint solver.
机译:在约束求解器中对搜索进行建模的功能可能是解决组合问题的重要资产。但是,用于定义搜索试探法的现有基础结构通常不足。要么建模能力受到极大限制,要么用户面对的通用编程语言的功能并未针对编写搜索试探法而量身定制。因此,性能的重大改进可能仍待探索。本文介绍了搜索组合器,这是一种轻量级且与求解器无关的方法,可弥补概念上简单的搜索建模语言(高级,功能性和自然构成)与有效实现(低级,命令性和高度非模块化)之间的差距)。通过允许用户从一小组原语中定义应用程序量身定制的搜索策略,搜索组合器有效地提供了丰富的领域特定语言(DSL),用于为用户建模搜索。值得注意的是,这种DSL对约束求解器的开发人员来说实现成本很低。本文讨论了两种模块化实现方法,并通过经验评估表明,与约束求解器中的本机直接实现相比,搜索组合器可以实现无开销。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号