Combining Constraint-Based and Imperative Programming in MABS for More Reliable Modelling

被引:0
|
作者
Edmonds, Bruce [1 ]
Polhill, J. Gareth [2 ]
机构
[1] Manchester Metropolitan Univ, Ctr Policy Modelling, Manchester, Lancs, England
[2] James Hutton Inst, Aberdeen, Scotland
关键词
Constraint programming; declarative programming; imperative programming; Multi-Agent-Based Simulation; MABS; model joining; model comparison; internal checks; unit tests; strong typing;
D O I
10.1007/978-3-031-61034-9_4
中图分类号
TP18 [人工智能理论];
学科分类号
081104 ; 0812 ; 0835 ; 1405 ;
摘要
We argue for a combination of declarative/constraint and imperative programming approaches for MABS: a declarative layer that specified the ontology, assumptions, types, internal and checks for a simulation and the imperative code that satisfied the statements of the declarative layer - instantiating the behaviours. Such a system would be a generalisation of common elements of existing simulations. The two layers would be separately developed and communicated but work together. Using such a system one might: (a) start by importing an ontology of entities that have been previously agreed within a field, (b) work with domain experts to implement declarative statements that reflect what is known about the system, (c) develop the implementation starting with declarative internal checks and the outlines of the implementation, (d) slowly add imperative statements to fill in details, (e) finally when the simulation has been completely verified, the declarative layer could be switched off to allow faster exploration. This would ensure for a more reliable simulation and ensure its consistency with common ontologies etc. It would facilitate: joining models together with fewer mistakes, comparing models, provide enhanced and flexible error checking, make modules more reusable, allow for rapid prototyping, support the automation of modelling tools/add-ons, and allow the selective exploration of all possible behaviours of a sub-model using constraint programming techniques. Examples are given of previous work that moves in this direction.
引用
收藏
页码:46 / 57
页数:12
相关论文
共 50 条
  • [1] Combining Constraint Programming and Constraint-Based Mining for Pattern Discovery
    Khiari, Mehdi
    Boizumault, Patrice
    Cremilleux, Bruno
    ADVANCES IN KNOWLEDGE DISCOVERY AND MANAGEMENT, VOL 2, 2012, 398 : 85 - 103
  • [2] Constraint-based partial evaluation for imperative languages
    Ying Jin
    Chengzhi Jin
    Journal of Computer Science and Technology, 2002, 17 : 64 - 72
  • [3] Constraint-based partial evaluation for imperative languages
    Jin, Y
    Jin, CZ
    JOURNAL OF COMPUTER SCIENCE AND TECHNOLOGY, 2002, 17 (01) : 64 - 72
  • [4] Combining Kinetic and Constraint-Based Modelling to Better Understand Metabolism Dynamics
    Moulin, Cecile
    Tournier, Laurent
    Peres, Sabine
    PROCESSES, 2021, 9 (10)
  • [5] Constraint-based object modelling
    Zalik, B
    Guid, N
    Clapworthy, G
    JOURNAL OF ENGINEERING DESIGN, 1996, 7 (02) : 209 - 232
  • [6] A survey of constraint-based programming paradigms
    Buscemi, Maria Grazia
    Montanari, Ugo
    COMPUTER SCIENCE REVIEW, 2008, 2 (03) : 137 - 141
  • [7] Constraint-Based Sequence Mining Using Constraint Programming
    Negrevergne, Benjamin
    Guns, Tias
    INTEGRATION OF AI AND OR TECHNIQUES IN CONSTRAINT PROGRAMMING, 2015, 9075 : 288 - 305
  • [8] Generic Constraint-Based Block Modeling Using Constraint Programming
    Mattenet, Alex
    Davidson, Ian
    Nijssen, Siegfried
    Schaus, Pierre
    PRINCIPLES AND PRACTICE OF CONSTRAINT PROGRAMMING, CP 2019, 2019, 11802 : 656 - 673
  • [9] Generic Constraint-Based Block Modeling using Constraint Programming
    Mattenet, Alex Lucia
    Davidson, Ian
    Nijssen, Siegfried
    Schaus, Pierre
    JOURNAL OF ARTIFICIAL INTELLIGENCE RESEARCH, 2021, 70 : 597 - 630
  • [10] Completable partial solutions in constraint programming and constraint-based scheduling
    Kovács, A
    Váncza, J
    PRINCIPLES AND PRACTICE OF CONSTRAINT PROGRAMMING - CP 2004, PROCEEDINGS, 2004, 3258 : 332 - 346