Constraint programming is a general and exact method based on constraint propagation and backtracking search. We provide a function decomposing a constraint network into a ternary constraint network (TCN) with a reduced number of operators. TCNs are not new and have been used since the inception of constraint programming, notably in constraint logic programming systems. This work aims to specify formally the decomposition function of discrete constraint network into TCN and its preprocessing. We aim to be self-contained and descriptive enough to serve as the basis of an implementation. Our primary usage of TCN is to obtain a regular data layout of constraints to efficiently execute propagators on graphics processing unit (GPU) hardware.
翻译:约束规划是一种基于约束传播与回溯搜索的通用精确方法。本文提出一种函数,可将约束网络分解为具有较少运算符的三元约束网络(TCN)。三元约束网络并非新概念,自约束规划诞生以来便已得到应用,尤其在约束逻辑编程系统中。本研究旨在形式化地定义离散约束网络到TCN的分解函数及其预处理过程。我们力求内容自包含且描述充分,以作为实现的基础。TCN的主要应用在于通过规整的约束数据布局,在图形处理器(GPU)硬件上高效执行传播器。