Programming finite-domain constraint propagators in action rules

被引:13
|
作者
Zhou, Neng-Fa [1 ]
机构
[1] CUNY Brooklyn Coll, Dept Comp & Informat Sci, Brooklyn, NY 11210 USA
[2] CUNY, Grad Ctr, New York, NY USA
关键词
constraint programming; constraint propagation; action rules;
D O I
10.1017/S1471068405002590
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
In this paper, we propose a new language, called AR (Action Rules), and describe how various propagators for finite-domain constraints can be implemented in it. An action rule specifies a pattern for agents, an action that the agents can carry out, and an event pattern for events that can activate the agents. AR combines the goal-oriented execution model of logic programming with the event-driven execution model. This hybrid execution model facilitates programming constraint propagators. A propagator for a constraint is an agent that maintains the consistency of the constraint and is activated by the updates of the domain variables in the constraint. AR has a much stronger descriptive power than indexicals, the language widely used in the current finite-domain constraint systems, and is flexible for implementing not only interval-consistency but also arc-consistency algorithms. As examples, we present a weak arc-consistency propagator for the all-distinct constraint and a hybrid algorithm for n-ary linear equality constraints. B-Prolog has been extended to accommodate action rules. Benchmarking shows that B-Prolog as a CLP(FD) system significantly outperforms other CLP(FD) systems.
引用
收藏
页码:483 / 507
页数:25
相关论文
共 50 条
  • [41] Synthesizing visual and action routines using constraint programming
    Banerjee, Bonny
    Chandrasekaran, B.
    DIAGRAMMATIC REPRESENTATION AND INFERENCE, PROCEEDINGS, 2006, 4045 : 196 - 198
  • [42] CPT-FDR: An Approach to Translating PPDDL Conformant Planning Tasks into Finite-Domain Representations
    Li Weisheng
    Zhang Zhen
    Wang Weixing
    CHINESE JOURNAL OF ELECTRONICS, 2012, 21 (01): : 53 - 58
  • [43] Enhanced quasi-multiple medium technology for fast finite-domain electrostatic BEM simulation
    Yu, W
    Wang, Z
    BOUNDARY ELEMENT TECHNOLOGY XV, 2003, 4 : 65 - 74
  • [44] Discovering rules to design newspapers: An inductive constraint logic programming approach
    Bernard, M
    Jacquenet, F
    APPLIED ARTIFICIAL INTELLIGENCE, 1998, 12 (06) : 547 - 567
  • [45] Constraint based action rule discovery with single classification rules
    Tzacheva, Angelina
    Ras, Zbigniew W.
    ROUGH SETS, FUZZY SETS, DATA MINING AND GRANULAR COMPUTING, PROCEEDINGS, 2007, 4482 : 322 - +
  • [46] CP(graph): Introducing a graph computation domain in constraint programming
    Dooms, G
    Deville, Y
    Dupont, P
    PRINCIPLES AND PRACTICE OF CONSTRAINT PROGRAMMING - CP 2005, PROCEEDINGS, 2005, 3709 : 211 - 225
  • [47] Numerical investigation on vortex dynamics of flow around a pitching hydrofoil via the finite-domain impulse theory
    Hao, Hui-Yun
    Liu, Yun-Qing
    Wu, Qin
    Liu, Ying
    ACTA MECHANICA SINICA, 2025, 41 (01)
  • [48] Hybrid BDD and SAT finite domain constraint solver
    Hawkins, P
    Stuckey, PJ
    PRACTICAL ASPECTS OF DECLARATIVE LANGUAGES, 2006, 3819 : 103 - 117
  • [49] Finite domain constraint satisfaction using quantum computation
    Angelsmark, O
    Dahllöf, V
    Jonsson, P
    MATHEMATICAL FOUNDATIONS OF COMPUTER SCIENCE 2002, 2002, 2420 : 93 - 103
  • [50] Constraint Logic Programming with Polynomial Constraints over Finite Domains
    Bergenti, Federico
    Monica, Stefania
    Rossi, Gianfranco
    FUNDAMENTA INFORMATICAE, 2018, 161 (1-2) : 9 - 27