arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 1309.7145cs.AIcs.FL
收藏

验证常规计数约束

Propagating Regular Counting Constraints

Mines de Nantes(南特矿业学院);Uppsala University(乌普萨拉大学);NICTA(澳大利亚国家信息与通信技术研究院);The University of Melbourne(墨尔本大学)

Nicolas Beldiceanu, Pierre Flener, Justin Pearson, Pascal Van Hentenryck

摘要:

有限变量序列上的约束在排序和排序中是普遍存在的。此外,在实际应用中的各种各样的这种约束导致了一般的建模技术和通用的传播算法,通常基于确定性有限自动机(DFA)及其扩展。我们考虑反DFA(cDFA),它提供了简洁的模型,定期计数的约束,这是约束的次数,定期语言模式出现在一个序列。我们展示了如何在多项式时间内执行域一致性,最多和至少定期计数约束的基础上,频繁的情况下,只接受状态和一个单一的计数器,可以通过转换递增的cDFA。我们还证明了精确正则计数约束的满足是NP难的,并指出精确正则计数约束的不完全算法比[3]中现有的传播算子更快,并提供更多的修剪。常规计数约束与CostRegular约束密切相关,但有助于自然抽象和一些计算优势。

英文摘要:

Constraints over finite sequences of variables are ubiquitous in sequencing and timetabling. Moreover, the wide variety of such constraints in practical applications led to general modelling techniques and generic propagation algorithms, often based on deterministic finite automata (DFA) and their extensions. We consider counter-DFAs (cDFA), which provide concise models for regular counting constraints, that is constraints over the number of times a regular-language pattern occurs in a sequence. We show how to enforce domain consistency in polynomial time for atmost and atleast regular counting constraints based on the frequent case of a cDFA with only accepting states and a single counter that can be incremented by transitions. We also prove that the satisfaction of exact regular counting constraints is NP-hard and indicate that an incomplete algorithm for exact regular counting constraints is faster and provides more pruning than the existing propagator from [3]. Regular counting constraints are closely related to the CostRegular constraint but contribute both a natural abstraction and some computational advantages.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑