Monadic Constraint Programming with Gecode
Monadic Constraint Programming with Gecode
复制标题
使用 Gecode 进行单子约束编程
DOI:
--
复制
发表时间:
2009
期刊:
影响因子:
--
通讯作者:
Tom Schrijvers
中科院分区:
文献类型:
--
作者:
Pieter Wuille;Tom Schrijvers
This paper presents FD-MCP, a finite domain modeling language on top of the Monadic Constraint Programming framework for Haskell. FD-MCP leverages Haskell’s rich static type system and powerful abstraction mechanisms for implementing syntactic sugar, model transformations and compilation to solver backends. Two backends are provided: a basic Haskell solver and a Gecode code generator. Our benchmarks establish that FD-MCP models are much more concise than handcoded Gecode programs, more so when using disjunction, without sacrificing performance.