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
来源
MULTI-AGENT-BASED SIMULATION XXIV, MABS 2023 | 2024年 / 14558卷
关键词
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 条
  • [41] Realtime collaborating with an industrial manipulator using a constraint-based programming approach
    Wang, Yuquan
    Liu, Hongyi
    Ji, Wei
    Wang, Lihui
    51ST CIRP CONFERENCE ON MANUFACTURING SYSTEMS, 2018, 72 : 105 - 110
  • [42] Constraint-based Causal Discovery: Conflict Resolution with Answer Set Programming
    Hyttinen, Antti
    Eberhardt, Frederick
    Jarvisalo, Matti
    UNCERTAINTY IN ARTIFICIAL INTELLIGENCE, 2014, : 340 - 349
  • [43] A general constraint-based programming framework for multi-robot applications
    Fiore, Mario D.
    Allmendinger, Felix
    Natale, Ciro
    Robotics and Computer-Integrated Manufacturing, 86
  • [44] A general constraint-based programming framework for multi-robot applications
    Fiore, Mario D.
    Allmendinger, Felix
    Natale, Ciro
    ROBOTICS AND COMPUTER-INTEGRATED MANUFACTURING, 2024, 86
  • [45] A Constraint-Based Declarative Programming Framework for Scheduling and Resource Allocation Problems
    Wikarek, Jaroslaw
    Sitek, Pawel
    VIETNAM JOURNAL OF COMPUTER SCIENCE, 2019, 6 (01) : 69 - 90
  • [46] Duality, thermodynamics, and the linear programming problem in constraint-based models of metabolism
    Warren, Patrick B.
    Jones, Janette L.
    PHYSICAL REVIEW LETTERS, 2007, 99 (10)
  • [47] Constraint-based integrity checking in abductive and non-monotonic extensions of constraint logic programming
    Ghose, Aditya K.
    Padmanabhuni, Srinivas
    Proceedings of the National Conference on Artificial Intelligence, 1999, : 265 - 270
  • [48] Constraint-based integrity checking in abductive and non-monotonic extensions of constraint logic programming
    Ghose, AK
    Padmanabhuni, S
    SIXTEENTH NATIONAL CONFERENCE ON ARTIFICIAL INTELLIGENCE (AAAI-99)/ELEVENTH INNOVATIVE APPLICATIONS OF ARTIFICIAL INTELLIGENCE (IAAI-99), 1999, : 265 - 270
  • [49] Constraint-based stoichiometric modelling from single organisms to microbial communities
    Gottstein, Willi
    Olivier, Brett G.
    Bruggeman, Frank J.
    Teusink, Bas
    JOURNAL OF THE ROYAL SOCIETY INTERFACE, 2016, 13 (124)
  • [50] Evolution of C4 photosynthesis predicted by constraint-based modelling
    Blaetke, Mary-Ann
    Braeutigam, Andrea
    ELIFE, 2019, 8