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 条
  • [1] Action Rules for programming constraint propagators and interactive user interfaces
    Zhou, NF
    WEB KNOWLEDGE MANAGEMENT AND DECISION SUPPORTS, 2003, 2543 : 197 - 204
  • [2] An efficient finite-domain constraint solver for circuits
    Parthasarathy, G
    Iyer, MK
    Cheng, KT
    Wang, LC
    41ST DESIGN AUTOMATION CONFERENCE, PROCEEDINGS 2004, 2004, : 212 - 217
  • [3] Strictness analysis as finite-domain constraint solving
    Gabric, T
    Glynn, K
    Sondergaard, H
    LOGIC-BASED PROGRAM SYNTHESIS AND TRANSFORMATION, 1999, 1559 : 255 - 270
  • [4] IMPLEMENTING FINITE-DOMAIN CONSTRAINT LOGIC PROGRAMMING ON TOP OF A PROLOG-SYSTEM WITH DELAY-MECHANISM
    DESCHREYE, D
    POLLET, D
    RONSYN, J
    BRUYNOOGHE, M
    LECTURE NOTES IN COMPUTER SCIENCE, 1990, 432 : 106 - 117
  • [5] Representing and solving finite-domain constraint problems using systems of polynomials
    Jefferson, Christopher
    Jeavons, Peter
    Green, Martin J.
    van Dongen, M. R. C.
    ANNALS OF MATHEMATICS AND ARTIFICIAL INTELLIGENCE, 2013, 67 (3-4) : 359 - 382
  • [6] DesertFD: a finite-domain constraint based tool for design space exploration
    Brandon K. Eames
    Sandeep K. Neema
    Rohit Saraswat
    Design Automation for Embedded Systems, 2010, 14 : 43 - 74
  • [7] A Finite-Domain Constraint-Based Approach on the Stockyard Planning Problem
    Loeffler, Sven
    Becker, Ilja
    Hofstedt, Petra
    DATABASE AND EXPERT SYSTEMS APPLICATIONS, DEXA 2023, PT II, 2023, 14147 : 126 - 133
  • [8] Representing and solving finite-domain constraint problems using systems of polynomials
    Christopher Jefferson
    Peter Jeavons
    Martin J. Green
    M. R. C. van Dongen
    Annals of Mathematics and Artificial Intelligence, 2013, 67 : 359 - 382
  • [9] DesertFD: a finite-domain constraint based tool for design space exploration
    Eames, Brandon K.
    Neema, Sandeep K.
    Saraswat, Rohit
    DESIGN AUTOMATION FOR EMBEDDED SYSTEMS, 2010, 14 (01) : 43 - 74
  • [10] Multi-objective Finite-Domain Constraint-Based Forest Management
    Eloy, Eduardo
    Bushenkov, Vladimir
    Abreu, Salvador
    OPERATIONAL RESEARCH, IO 2022-OR, 2023, 437 : 75 - 88