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 条
  • [21] Constraint-Based Programming for Bond Graph Causality '95)
    El, Fattah, Y.
    Simulation Councils Proceedings Series, 1994, 27 (01):
  • [22] Constraint-based metabolic modelling of marine microbes and communities
    Fondi, Marco
    Fani, Renato
    MARINE GENOMICS, 2017, 34 : 1 - 10
  • [23] Modelling dynamic memory management in constraint-based testing
    Charreteur, Florence
    Botella, Bernard
    Gotlieb, Arnaud
    JOURNAL OF SYSTEMS AND SOFTWARE, 2009, 82 (11) : 1755 - 1766
  • [24] Modelling dynamic memory management in constraint-based testing
    Charreteur, Florence
    Botella, Bernard
    Gotlieb, Arnaud
    TAIC PART 2007 - TESTING: ACADEMIC AND INDUSTRIAL CONFERENCE - PRACTICE AND RESEARCH TECHNIQUES, PROCEEDINGS: CO-LOCATED WITH MUTATION 2007, 2007, : 111 - +
  • [25] Constraint-Based Modelling as a Tutoring Framework for Japanese Honorifics
    Chung, Zachary T.
    Utsuro, Takehito
    Rodrigo, Ma. Mercedes
    ARTIFICIAL INTELLIGENCE IN EDUCATION, AIED 2017, 2017, 10331 : 480 - 484
  • [26] CONSTRAINT-BASED MODELLING: A PARADIGM FOR SUPPORTING DESIGN IN PRACTICE
    Matthews, J.
    Hicks, B. J.
    Medland, A. J.
    Mullineux, G.
    11TH INTERNATIONAL DESIGN CONFERENCE (DESIGN 2010), VOL 1-3, 2010, : 1361 - 1370
  • [27] On the modelling and optimization of preferences in constraint-based temporal reasoning
    Moffitt, Michael D.
    ARTIFICIAL INTELLIGENCE, 2011, 175 (7-8) : 1390 - 1409
  • [28] A constraint-based approach to the modelling and analysis of packaging machinery
    Hicks, BJ
    Medland, AJ
    Mullineux, G
    PACKAGING TECHNOLOGY AND SCIENCE, 2001, 14 (05) : 209 - 225
  • [29] Using constraint-based modelling to describe the solution space of ill-defined problems in logic programming
    Le, Nguyen-Thinh
    Menzel, Wolfgang
    ADVANCES IN WEB BASED LEARNING - ICWL 2007, 2008, 4823 : 367 - 379
  • [30] Combining Imitation Learning With Constraint-Based Task Specification and Control
    Perico, Cristian Alejandro Vergara
    De Schutter, Joris
    Aertbelien, Erwin
    IEEE ROBOTICS AND AUTOMATION LETTERS, 2019, 4 (02) : 1892 - 1899