<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE article PUBLIC "-//NLM//DTD JATS (Z39.96) Journal Publishing DTD v1.2 20190208//EN" "http://jats.nlm.nih.gov/publishing/1.2/JATS-journalpublishing1.dtd"><article xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink" article-type="methods-article" dtd-version="1.2" xml:lang="en">
    <front>
        <journal-meta>
            <journal-id journal-id-type="pmc">F1000Research</journal-id>
            <journal-title-group>
                <journal-title>F1000Research</journal-title>
            </journal-title-group>
            <issn pub-type="epub">2046-1402</issn>
            <publisher>
                <publisher-name>F1000 Research Limited</publisher-name>
                <publisher-loc>London, UK</publisher-loc>
            </publisher>
        </journal-meta>
        <article-meta>
            <article-id pub-id-type="doi">10.12688/f1000research.135249.1</article-id>
            <article-categories>
                <subj-group subj-group-type="heading">
                    <subject>Method Article</subject>
                </subj-group>
                <subj-group>
                    <subject>Articles</subject>
                </subj-group>
            </article-categories>
            <title-group>
                <article-title>Agent-based models under uncertainty</article-title>
                <fn-group content-type="pub-status">
                    <fn>
                        <p>[version 1; peer review: 2 approved with reservations]</p>
                    </fn>
                </fn-group>
            </title-group>
            <contrib-group>
                <contrib contrib-type="author" corresp="yes">
                    <name>
                        <surname>Stepanov</surname>
                        <given-names>Vladimir</given-names>
                    </name>
                    <role content-type="http://credit.niso.org/">Conceptualization</role>
                    <role content-type="http://credit.niso.org/">Data Curation</role>
                    <role content-type="http://credit.niso.org/">Formal Analysis</role>
                    <role content-type="http://credit.niso.org/">Investigation</role>
                    <role content-type="http://credit.niso.org/">Software</role>
                    <role content-type="http://credit.niso.org/">Validation</role>
                    <role content-type="http://credit.niso.org/">Visualization</role>
                    <role content-type="http://credit.niso.org/">Writing &#x2013; Original Draft Preparation</role>
                    <uri content-type="orcid">https://orcid.org/0000-0001-6011-8252</uri>
                    <xref ref-type="corresp" rid="c1">a</xref>
                    <xref ref-type="aff" rid="a1">1</xref>
                </contrib>
                <contrib contrib-type="author" corresp="yes">
                    <name>
                        <surname>Ferson</surname>
                        <given-names>Scott</given-names>
                    </name>
                    <role content-type="http://credit.niso.org/">Conceptualization</role>
                    <role content-type="http://credit.niso.org/">Software</role>
                    <role content-type="http://credit.niso.org/">Supervision</role>
                    <role content-type="http://credit.niso.org/">Writing &#x2013; Review &amp; Editing</role>
                    <xref ref-type="corresp" rid="c2">b</xref>
                    <xref ref-type="aff" rid="a1">1</xref>
                </contrib>
                <aff id="a1">
                    <label>1</label>Institute for Risk and Uncertainty, University of Liverpool, Liverpool, England, L69 7ZX, UK</aff>
            </contrib-group>
            <author-notes>
                <corresp id="c1">
                    <label>a</label>
                    <email xlink:href="mailto:v.stepanov@hotmail.co.uk">v.stepanov@hotmail.co.uk</email>
                </corresp>
                <corresp id="c2">
                    <label>b</label>
                    <email xlink:href="mailto:ferson@liverpool.ac.uk">ferson@liverpool.ac.uk</email>
                </corresp>
                <fn fn-type="conflict">
                    <p>No competing interests were disclosed.</p>
                </fn>
            </author-notes>
            <pub-date pub-type="epub">
                <day>14</day>
                <month>7</month>
                <year>2023</year>
            </pub-date>
            <pub-date pub-type="collection">
                <year>2023</year>
            </pub-date>
            <volume>12</volume>
            <elocation-id>834</elocation-id>
            <history>
                <date date-type="accepted">
                    <day>7</day>
                    <month>7</month>
                    <year>2023</year>
                </date>
            </history>
            <permissions>
                <copyright-statement>Copyright: &#x00a9; 2023 Stepanov V and Ferson S</copyright-statement>
                <copyright-year>2023</copyright-year>
                <license xlink:href="https://creativecommons.org/licenses/by/4.0/">
                    <license-p>This is an open access article distributed under the terms of the Creative Commons Attribution Licence, which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.</license-p>
                </license>
            </permissions>
            <self-uri content-type="pdf" xlink:href="https://f1000research.com/articles/12-834/pdf"/>
            <abstract>
                <p>
                    <bold>Background:</bold> Monte Carlo (MC) is often used when trying to assess the consequences of uncertainty in agent-based models (ABMs). However, this approach is not appropriate when the uncertainty is epistemic rather than aleatory, that is, when it represents a lack of knowledge rather than variation. The free-for-all battleship simulation modelled here is inspired by the children&#x2019;s battleship game, where each battleship is an agent.</p>
                <p>
                    <bold>Methods:</bold> The models contrast an MC implementation against an interval implementation for epistemic uncertainty. In this case, our epistemic uncertainty is in the form of an uncertain radar. In the interval method, the approach occludes the status of the agents (ships) and precludes an analyst from making decisions about them in real-time.</p>
                <p>
                    <bold>Results:</bold> In a highly uncertain environment, after many time steps, there can be many ships remaining whose status is unknown. In contrast, any MC simulation invariably tends to conclude with a small number of the remaining ships after many time steps. Thus, the interval approach misses the quantitative conclusion. However, some quantitative results are generated by the interval implementation, e.g. the identities of the surviving ships, which are revealed to be nearly mutual with the MC implementation, though with fewer identities in total compared to MC.</p>
                <p>
                    <bold>Conclusions:</bold> We have demonstrated that it is possible to implement intervals in an ABM, but the results are broad, which may be useful for generating the overall bounds of the system but do not provide insight on the expected outcomes and trends.</p>
            </abstract>
            <kwd-group kwd-group-type="author">
                <kwd>epistemic uncertianty</kwd>
                <kwd>agent-based modelling</kwd>
                <kwd>intervals</kwd>
            </kwd-group>
            <funding-group>
                <award-group id="fund-1">
                    <funding-source>PSRC and ESRC Centre for Doctoral Training on Quantification and Management of Risk Uncertainty in Complex Systems Environments</funding-source>
                    <award-id>(EP/L015927/1)</award-id>
                </award-group>
                <funding-statement>The authors would like to acknowledge the gracious support of this work through the EPSRC and ESRC Centre for Doctoral Training on Quantification and Management of Risk Uncertainty in Complex Systems Environments Grant No. (EP/L015927/1)</funding-statement>
                <funding-statement>
                    <italic>The funders had no role in study design, data collection and analysis, decision to publish, or preparation of the manuscript.</italic>
                </funding-statement>
            </funding-group>
        </article-meta>
    </front>
    <body>
        <sec id="sec1" sec-type="intro">
            <title>Introduction</title>
            <p>An agent-based model (ABM) is a model for simulating the actions and interactions of autonomous agents (either individual or collective entities such as organisations or groups) with the intention of observing the emergent behaviour of the whole system.
                <sup>
                    <xref ref-type="bibr" rid="ref1">1</xref>
                </sup> ABMs are temporally explicit, usually with a fixed unit of time referred to as ticks. An ABM consists of its agents, with each agent being an autonomous discrete unit with its own aims, priorities and actions.
                <sup>
                    <xref ref-type="bibr" rid="ref1">1</xref>
                </sup> Agents can also vary between themselves. The agents can be cooperative or prioritise their individual goals. An example of cooperative agents could be a coalition to lift a heavy object, while individualistic agents could be animals competing for scarce resources.</p>
            <p>ABMs generally do not incorporate any epistemic uncertainty, such as imprecision or doubt about the agent&#x2019;s properties or behaviours.
                <sup>
                    <xref ref-type="bibr" rid="ref2">2</xref>
                </sup> It is argued that this kind of uncertainty can be modelled with distributions
                <sup>
                    <xref ref-type="bibr" rid="ref3">3</xref>
                </sup> and Monte Carlo (MC) methods. With the MC approach, an ABM is executed a vast number of times with different parameters, which reflect the possible values that the parameter could take.
                <sup>
                    <xref ref-type="bibr" rid="ref4">4</xref>
                </sup>
                <sup>&#x2013;</sup>
                <sup>
                    <xref ref-type="bibr" rid="ref7">7</xref>
                </sup> This approach is computationally expensive, though there are strategies to reduce the number of computations, 
                <italic toggle="yes">e.g.</italic>, Latin hypercube sampling.
                <sup>
                    <xref ref-type="bibr" rid="ref8">8</xref>
                </sup>
            </p>
            <p>Besides attempts at reducing the computational cost of MC, some attempts try to reduce the computational cost of the model directly, 
                <italic toggle="yes">e.g.</italic> in discrete event simulation, the introduction of &#x201c;time buckets&#x201d; which are intervals of time in which multiple events can occur.
                <sup>
                    <xref ref-type="bibr" rid="ref9">9</xref>
                </sup> The equivalent strategy for an ABM would be a coarsening strategy that increases the fixed time step. This might be considered as introducing temporal epistemic uncertainty into an ABM, but as it handles this uncertainty in a simplistic way (in other words, by ignoring it) and with the simulation losing some of its detail depending on the magnitude of the time-step increase, which may not be desirable.
                <sup>
                    <xref ref-type="bibr" rid="ref10">10</xref>
                </sup> As an example of losing detail, consider logging your position in daily life. If you log every 15 minutes, you might have 5 entries: home (0), travel (15), shop (30), travel (45) and home (60). However, if you log every hour, you will log: home (0) and home (60). Hence, you have lost detail, which in some applications may be critical.</p>
            <p>However, introducing non-time-based epistemic uncertainty into an ABM is not as simple as described above. For this implementation we will use intervals, which are arguably the simplest representation of epistemic uncertainty.
                <sup>
                    <xref ref-type="bibr" rid="ref11">11</xref>
                </sup> The intervals will be used to model a free-for-all battleship simulation with uncertain radar ranges (inspired by the children&#x2019;s game), showing that it is possible to use intervals to model battleship behaviour and status, but this approach occludes the status of the agents and precludes decision making about them.</p>
            <p>One perspective against the use of intervals in ABM is that the parameters the intervals represent can be easily approximated with uniform distributions. However, this approach with uniform distributions acts as though the parameter is varying randomly, which may not be true.
                <sup>
                    <xref ref-type="bibr" rid="ref12">12</xref>
                </sup>
                <sup>,</sup>
                <sup>
                    <xref ref-type="bibr" rid="ref13">13</xref>
                </sup> Though reasonable, there are some instances where combining two approximated intervals in this manner can cause problems, 
                <italic toggle="yes">e.g.</italic>, when 
                <inline-formula>
                    <mml:math display="inline">
                        <mml:mi>A</mml:mi>
                    </mml:math>
                </inline-formula> = [0.2, 0.4]; 
                <inline-formula>
                    <mml:math display="inline">
                        <mml:mi>B</mml:mi>
                    </mml:math>
                </inline-formula> = [0.3, 0.5], the product 
                <inline-formula>
                    <mml:math display="inline">
                        <mml:mi mathvariant="italic">AB</mml:mi>
                    </mml:math>
                </inline-formula> is [0.06, 0.02], but it will also indicate that there is a higher probability of it being a central value in the result if 
                <inline-formula>
                    <mml:math display="inline">
                        <mml:mi>A</mml:mi>
                    </mml:math>
                </inline-formula> and 
                <inline-formula>
                    <mml:math display="inline">
                        <mml:mi>B</mml:mi>
                    </mml:math>
                </inline-formula> are based on uniform distribution. Similarly, the sum of 
                <inline-formula>
                    <mml:math display="inline">
                        <mml:mi>A</mml:mi>
                    </mml:math>
                </inline-formula> and 
                <inline-formula>
                    <mml:math display="inline">
                        <mml:mi>B</mml:mi>
                    </mml:math>
                </inline-formula> will be [0.5, 0.9], but if approximated 
                <italic toggle="yes">via</italic> uniform distributions it will also contain a central peak in this range. There is no justification for this higher central probability if the same calculation is performed without approximation but just utilising intervals.
                <sup>
                    <xref ref-type="bibr" rid="ref12">12</xref>
                </sup>
                <sup>,</sup>
                <sup>
                    <xref ref-type="bibr" rid="ref13">13</xref>
                </sup> Thus, approximating with uniform distributions is not always appropriate.</p>
            <p>Therefore, it can be argued that a direct implementation of intervals in ABMs will avoid the above-mentioned problem. Additionally, a direct implementation should have a lower computational cost than MC and potentially avoid the problem that MC does not explore the full range of possibilities. Furthermore, it is argued that MC is poor at identifying extreme events, as can be observed in 
                <xref ref-type="fig" rid="f1">Figure 1</xref>, where it shows that most of the MC runs are concentrated in the central region of the outer bounds.
                <sup>
                    <xref ref-type="bibr" rid="ref2">2</xref>
                </sup> However, the figure may exaggerate the convergence of the runs in respect to the outer bounds (indicated by the blue lines), but it helps to illustrate the centralisation effect of many random variables.</p>
            <fig fig-type="figure" id="f1" orientation="portrait" position="float">
                <label>Figure 1. </label>
                <caption>
                    <title>Graphical representation of Monte Carlo realisations (shown in black) against possible outer bounds (blue).</title>
                    <p>Reproduced with permission from original.</p>
                </caption>
                <graphic id="gr1" orientation="portrait" position="float" xlink:href="https://f1000research-files.f1000.com/manuscripts/148359/940c9cd6-0578-4b53-bd3b-323d83914210_figure1.gif"/>
            </fig>
        </sec>
        <sec id="sec2">
            <title>Model configuration</title>
            <p>The model is constructed in Python (v3)
                <sup>
                    <xref ref-type="bibr" rid="ref14">14</xref>
                </sup> (RRID:SCR_008394), with the following packages: numpy
                <sup>
                    <xref ref-type="bibr" rid="ref15">15</xref>
                </sup> (RRID:SCR_008633), enum,
                <sup>
                    <xref ref-type="bibr" rid="ref14">14</xref>
                </sup> numbers,
                <sup>
                    <xref ref-type="bibr" rid="ref14">14</xref>
                </sup> csv,
                <sup>
                    <xref ref-type="bibr" rid="ref14">14</xref>
                </sup> matplotlib
                <sup>
                    <xref ref-type="bibr" rid="ref16">16</xref>
                </sup> (RRID:SCR_008624), time,
                <sup>
                    <xref ref-type="bibr" rid="ref14">14</xref>
                </sup> tqdm.
                <sup>
                    <xref ref-type="bibr" rid="ref14">14</xref>
                </sup> The discrete simulation (global seed 0) can last up to 250 time-steps, during which the agents move about and interact with one another. The agents representing battleships are set in an 
                <inline-formula>
                    <mml:math display="inline">
                        <mml:mi>X</mml:mi>
                        <mml:mo>,</mml:mo>
                        <mml:mi>Y</mml:mi>
                    </mml:math>
                </inline-formula> grid (102 &#x00d7; 102) where the edges of the grid wrap-around so that a ship leaving the top of the grid reemerges at the bottom of the grid, and vice versa. Likewise, the right side wraps to the left side and vice versa, which is a toroidal or Pac-Man topology.
                <sup>
                    <xref ref-type="bibr" rid="ref17">17</xref>
                </sup> The grid is randomly populated with 60 ships that will try to sink all other ships that they detect.</p>
            <p>Each ship is located in a grid cell, depicted as a dot in the grid, with the ship&#x2019;s radar as a circle around the dot. The ships move at constant velocities during the simulation. Each ship is given a random velocity between 1 and 6 grid cells per time step. The initial direction of travel is random (determined by the movement generator with seed 2021), but each ship is turning in circular arcs across the grid, changing direction by 
                <inline-formula>
                    <mml:math display="inline">
                        <mml:mi>&#x03c0;</mml:mi>
                    </mml:math>
                </inline-formula>/30 radians at each time step. Each ship also has a maximum number of missiles, (uniformly) randomly generated from 10 to 60 missiles, that it launches at enemy ships whenever detected by radar whose range is (uniformly) randomly initialised for each ship between 2 to 27.5 grid units. Additionally, the ships are limited by the number of ships it can target in each time step (randomly generated from 2 to 16) ordered by proximity, with preference given to the ships closest to the ship firing the missiles. In an ideal world the declared radar range would always detect enemy ships within its boundaries. However, in a more realistic world a ship&#x2019;s radar varies across its range. Close to the ship, the radar detects enemies perfectly (certain radar), but for enemies farther away, detection is uncertain. These two ranges are represented as two concentric circles: the inner certain radar range, and the larger uncertain radar range).</p>
            <p>At each time step, each ship moves to another grid cell determined by its velocity, and from this new location detects other ships within its certain radar range and 
                <italic toggle="yes">may</italic> detect those within its uncertain range. Once all targets are identified, the ship fires missiles at them as long as the lower bound of the interval for the missiles remaining is greater than zero. If the ship fires at a ship in the uncertain radar range, the ship fire is uncertain, 
                <italic toggle="yes">i.e.</italic> the ship has both fired the missiles and not fired the missiles. Additionally, the ship can have less than the maximum number of targets and can even have zero targets if no other ships are located in it&#x2019;s radar range. However, the number of missiles per target remains constant at three missiles, but if three missiles are not available, then the ship will fire any remaining missiles at the target. The ships&#x2019; actions are concluded by assessing any possible damage (hits) to itself that has been suffered due to the other ships having fired their missiles. Positive hits are determined from the missiles 
                <italic toggle="yes">via</italic> a binomial distribution, with the chance of failure set as 0.5. If such hits sink the ship, its existence is negated. If the hits would surely not have sunk the ship, it continues to exist. If the hits 
                <italic toggle="yes">could but might not</italic> sink it, the ship&#x2019;s existence is represented as uncertain. The two states are depicted by the line type (solid line - ship exists; dashed line - ship with uncertain existence). Three 
                <italic toggle="yes">certain</italic> missile hits will sink any ship.</p>
            <p>The model code can be found on 
                <ext-link ext-link-type="uri" xlink:href="http://github">GitHub</ext-link>.
                <sup>
                    <xref ref-type="bibr" rid="ref18">18</xref>
                </sup>
            </p>
        </sec>
        <sec id="sec3">
            <title>Possible model scenarios</title>
            <p>The model keeps track of each ship&#x2019;s state of existence and it&#x2019;s remaining missiles. A ship is sunk when the number of missile hits exceeds the maximum possible hit threshold (3). There can be uncertainty about a ship&#x2019;s existence, with this state a result of a missile from another uncertain ship increasing this ship&#x2019;s hit count over the maximum possible hit threshold. The hit count is represented as an interval with the lower bound representing the total number of certain hits and the maximum bound representing the possible number of hits. Similarly, a ship&#x2019;s missile count is represented as an interval once the ship has fired a missile at a ship located in its uncertain radar range. Here the upper bound represents the total number of certain missiles that the ship potentially has, while the lower bound represents the number of missiles it has left if it fired at the ship in the uncertain radar range.</p>
            <p>To justify our decision on the interval implementation we have provided some scenarios to explain our reasoning. In our first scenario only one ship can fire at the other, while the second scenario shows the effect of uncertain existences. In these scenarios, the solid line within the 
                <xref ref-type="fig" rid="f2">Figures 2</xref> represents the outer edges of the certain radar (if we see a ship here, we definitely see a ship), while the dashed line represents the outer range of the uncertain part of the radar (we are unsure that we have seen a ship there). We will represent missiles left as 
                <bold>
                    <italic toggle="yes">M</italic>
                </bold>, missiles fire as 
                <bold>
                    <italic toggle="yes">m</italic>
                </bold>, previous missiles hit as 
                <bold>
                    <italic toggle="yes">H</italic>
                </bold>, and missiles hit in this time segment as 
                <bold>
                    <italic toggle="yes">h</italic>
                </bold>. We will use subscripts to represent the ship that these values belong to.</p>
            <fig fig-type="figure" id="f2" orientation="portrait" position="float">
                <label>Figure 2. </label>
                <caption>
                    <title>Scenarios illustrating the possible ship outcomes.</title>
                    <p>The full line represents the certain radar range of the ship, while the dashed line represents the outer edge of its uncertain radar range.</p>
                </caption>
                <graphic id="gr2" orientation="portrait" position="float" xlink:href="https://f1000research-files.f1000.com/manuscripts/148359/940c9cd6-0578-4b53-bd3b-323d83914210_figure2.gif"/>
            </fig>
            <p>It is shown in 
                <xref ref-type="fig" rid="f2">Figure 2a</xref> that only one ship (A) can fire missiles at the target ship (B). Thus ship A options can be listed as: it sees ship B, it does not see ship B; leading to ship A being able to fire and not fire its missiles, which would lead to an updated missile count for fire as 
                <bold>
                    <italic toggle="yes">M &#x2212; m</italic>
                </bold> and not fire as 
                <bold>
                    <italic toggle="yes">M</italic>
                </bold>. We can summarise the missiles left for ship A with an interval [
                <bold>
                    <italic toggle="yes">M &#x2212; m, M</italic>
                </bold>]. It is important to note that if ship A does not exist, the outcome is equivalent to not firing the missiles as the argument is if the ship does not exist, then it cannot detect ship B, thus it will not be able to fire missiles. The other ship, Ship B, is the one that is getting fired upon by ship A, tracks the number of missiles 
                <bold>
                    <italic toggle="yes">h</italic>
                </bold> that have hit it. If the number of missiles that have hit the ship is zero, then the total number of hits remain unchanged at 
                <bold>
                    <italic toggle="yes">H</italic>
                </bold> (also true if ship A does not exist and so (ship A) does not have the capacity to fire missiles), otherwise the number of hits is 
                <bold>
                    <italic toggle="yes">H + h</italic>
                </bold>. Thus the total number of hits can be represented as [
                <bold>
                    <italic toggle="yes">H, H + h</italic>
                </bold>]. As mentioned before, a ship&#x2019;s existence is tied to the number of certain hits it has taken, which means that ship B will not sink as long as the existence of ship A is uncertain or the missiles are fired into the uncertain radar range of the attacking ship.</p>
            <p>In the second scenario (
                <xref ref-type="fig" rid="f2">Figure 2b</xref>) we explore the case where both ships are located in their certain range but the ships themselves are uncertain about their existence. Here the actions of ship A are mirrored for ship B, therefore only a detailed explanation for ship A will be provided. Ship A will fire its missiles if ship B exists, and it will not fire if ship B does not exist. Hence the remaining missiles for ship A will be 
                <inline-formula>
                    <mml:math display="inline">
                        <mml:mfenced close="]" open="[" separators=",">
                            <mml:mrow>
                                <mml:msub>
                                    <mml:mi mathvariant="bold-italic">M</mml:mi>
                                    <mml:mi mathvariant="bold-italic">A</mml:mi>
                                </mml:msub>
                                <mml:mo>&#x2212;</mml:mo>
                                <mml:msub>
                                    <mml:mi mathvariant="bold-italic">m</mml:mi>
                                    <mml:mi mathvariant="bold-italic">A</mml:mi>
                                </mml:msub>
                            </mml:mrow>
                            <mml:msub>
                                <mml:mi mathvariant="bold-italic">M</mml:mi>
                                <mml:mi mathvariant="bold-italic">A</mml:mi>
                            </mml:msub>
                        </mml:mfenced>
                    </mml:math>
                </inline-formula> and the remaining missiles for ship B will be 
                <inline-formula>
                    <mml:math display="inline">
                        <mml:mfenced close="]" open="[" separators=",">
                            <mml:mrow>
                                <mml:msub>
                                    <mml:mi mathvariant="bold-italic">M</mml:mi>
                                    <mml:mi mathvariant="bold-italic">B</mml:mi>
                                </mml:msub>
                                <mml:mo>&#x2212;</mml:mo>
                                <mml:msub>
                                    <mml:mi mathvariant="bold-italic">m</mml:mi>
                                    <mml:mi mathvariant="bold-italic">B</mml:mi>
                                </mml:msub>
                            </mml:mrow>
                            <mml:msub>
                                <mml:mi mathvariant="bold-italic">M</mml:mi>
                                <mml:mi mathvariant="bold-italic">B</mml:mi>
                            </mml:msub>
                        </mml:mfenced>
                    </mml:math>
                </inline-formula>. Ship A&#x2019;s hit count will both increase by the number of missiles that hit ship A and stay the same as we are unsure if B has fired missiles as if B exists then surely it has fired the missiles, while if B does not exist then no missiles can be fired, thus 
                <inline-formula>
                    <mml:math display="inline">
                        <mml:mfenced close="]" open="[" separators=",">
                            <mml:msub>
                                <mml:mi mathvariant="bold-italic">H</mml:mi>
                                <mml:mi mathvariant="bold-italic">A</mml:mi>
                            </mml:msub>
                            <mml:mrow>
                                <mml:msub>
                                    <mml:mi mathvariant="bold-italic">H</mml:mi>
                                    <mml:mi mathvariant="bold-italic">A</mml:mi>
                                </mml:msub>
                                <mml:mo>+</mml:mo>
                                <mml:msub>
                                    <mml:mi mathvariant="bold-italic">h</mml:mi>
                                    <mml:mi mathvariant="bold-italic">A</mml:mi>
                                </mml:msub>
                            </mml:mrow>
                        </mml:mfenced>
                    </mml:math>
                </inline-formula>. As only the upper bound (of the hit count) is increased due to uncertainty, ship A will continue existing, no matter how high the upper bound gets. The same is true for ship B&#x2019;s hit count 
                <inline-formula>
                    <mml:math display="inline">
                        <mml:mfenced close="]" open="[" separators=",">
                            <mml:msub>
                                <mml:mi mathvariant="bold-italic">H</mml:mi>
                                <mml:mi mathvariant="bold-italic">B</mml:mi>
                            </mml:msub>
                            <mml:mrow>
                                <mml:msub>
                                    <mml:mi mathvariant="bold-italic">H</mml:mi>
                                    <mml:mi mathvariant="bold-italic">B</mml:mi>
                                </mml:msub>
                                <mml:mo>+</mml:mo>
                                <mml:msub>
                                    <mml:mi mathvariant="bold-italic">h</mml:mi>
                                    <mml:mi mathvariant="bold-italic">B</mml:mi>
                                </mml:msub>
                            </mml:mrow>
                        </mml:mfenced>
                    </mml:math>
                </inline-formula>.</p>
            <p>In summary, the scenarios demonstrate that an uncertain ship cannot sink a certainly existing ship, as when the upper bound for the hit counts exceeds the ship&#x2019;s limit, the previously certainly existing ship becomes uncertain about its existence. This can be expanded to include that two uncertain ships cannot sink each other and that only a certainly existing ship can sink another certainly existing ship. Though the scenarios represent possible edge cases that can occur in the simulation, they can also illustrate the in-between states satisfactorily. These scenarios have been presented to aid in the understanding of the model; as the ships do not communicate with an external observer, thus we do not know the state of the ships or the number of missiles remaining.</p>
        </sec>
        <sec id="sec4">
            <title>Model results</title>
            <p>The emphasis of this investigation was to explore the effect of an imprecise radar range and how it could be propagated inside an ABM.
                <sup>
                    <xref ref-type="bibr" rid="ref19">19</xref>
                </sup> To be able to propagate the effect of the imprecise radar range other uncertainties have to be added for the model to function, 
                <italic toggle="yes">e.g.</italic> missile count and ship existence. We also varied the radar range for all the ships to explore the differences, while keeping the same seed for the random generator in all the experiments, in other words, we changed the parameter that affected the radar range while preserving the model architecture, with the results shown in 
                <xref ref-type="table" rid="T1">Table 1</xref>.</p>
            <table-wrap id="T1" orientation="portrait" position="float">
                <label>Table 1. </label>
                <caption>
                    <title>Table summarising the model outcomes based on the relative radar range.</title>
                    <p>Square brackets denote interval ranges. All results are shown for seed 0. Relative radar range 1 represents the original radar range.</p>
                </caption>
                <table content-type="article-table" frame="hsides">
                    <thead>
                        <tr>
                            <th align="left" colspan="1" rowspan="2" valign="top">Relative radar range</th>
                            <th align="left" colspan="2" rowspan="1" valign="top">Precise</th>
                            <th align="left" colspan="2" rowspan="1" valign="top">Imprecise</th>
                        </tr>
                        <tr>
                            <th align="left" colspan="1" rowspan="1" valign="top">Ships</th>
                            <th align="left" colspan="1" rowspan="1" valign="top">Missiles</th>
                            <th align="left" colspan="1" rowspan="1" valign="top">Ships</th>
                            <th align="left" colspan="1" rowspan="1" valign="top">Missiles</th>
                        </tr>
                    </thead>
                    <tbody>
                        <tr>
                            <td align="left" colspan="1" rowspan="1" valign="top">0.5</td>
                            <td align="left" colspan="1" rowspan="1" valign="top">3</td>
                            <td align="left" colspan="1" rowspan="1" valign="top">53</td>
                            <td align="left" colspan="1" rowspan="1" valign="top">[0,15]</td>
                            <td align="left" colspan="1" rowspan="1" valign="top">[62, 660]</td>
                        </tr>
                        <tr>
                            <td align="left" colspan="1" rowspan="1" valign="top">0.75</td>
                            <td align="left" colspan="1" rowspan="1" valign="top">4</td>
                            <td align="left" colspan="1" rowspan="1" valign="top">79</td>
                            <td align="left" colspan="1" rowspan="1" valign="top">[0,15]</td>
                            <td align="left" colspan="1" rowspan="1" valign="top">[0, 574]</td>
                        </tr>
                        <tr>
                            <td align="left" colspan="1" rowspan="1" valign="top">1</td>
                            <td align="left" colspan="1" rowspan="1" valign="top">2</td>
                            <td align="left" colspan="1" rowspan="1" valign="top">9</td>
                            <td align="left" colspan="1" rowspan="1" valign="top">[0, 6]</td>
                            <td align="left" colspan="1" rowspan="1" valign="top">[22, 234]</td>
                        </tr>
                        <tr>
                            <td align="left" colspan="1" rowspan="1" valign="top">1.5</td>
                            <td align="left" colspan="1" rowspan="1" valign="top">2</td>
                            <td align="left" colspan="1" rowspan="1" valign="top">36</td>
                            <td align="left" colspan="1" rowspan="1" valign="top">[0, 5]</td>
                            <td align="left" colspan="1" rowspan="1" valign="top">[80, 230]</td>
                        </tr>
                        <tr>
                            <td align="left" colspan="1" rowspan="1" valign="top">2</td>
                            <td align="left" colspan="1" rowspan="1" valign="top">1</td>
                            <td align="left" colspan="1" rowspan="1" valign="top">24</td>
                            <td align="left" colspan="1" rowspan="1" valign="top">[0, 4]</td>
                            <td align="left" colspan="1" rowspan="1" valign="top">[12, 254]</td>
                        </tr>
                        <tr>
                            <td align="left" colspan="1" rowspan="1" valign="top">4</td>
                            <td align="left" colspan="1" rowspan="1" valign="top">1</td>
                            <td align="left" colspan="1" rowspan="1" valign="top">15</td>
                            <td align="left" colspan="1" rowspan="1" valign="top">1</td>
                            <td align="left" colspan="1" rowspan="1" valign="top">[3, 12]</td>
                        </tr>
                    </tbody>
                </table>
            </table-wrap>
            <p>In the first simulations, with no epistemic uncertainty, denoted Precise in 
                <xref ref-type="table" rid="T1">Table 1</xref>, each ship&#x2019;s original radar range was selected uniformly randomly to be between 2 and 27.5. This original setting is denoted by relative radar range of 1. Subsequent simulations collectively reduced or increased these ranges. For instance, for relative radar range of 2, the upper limit was doubled to 53. This meant that ships that originally had a relatively smaller radar range maintained their rank when their radar range was doubled. As the same seed was utilised, this ensured that multiple simulations were not needed. Additionally, even though the radar range was changed, the other parameters (starting number of missiles, initial velocity) were preserved. At the end of the simulation, with the original radar range, there are two ships and nine missiles remaining. Halving the range yields three ships with 53 missiles, while increasing the range by a factor of two gives one ship left with 24 missiles (
                <xref ref-type="table" rid="T1">Table 1</xref>). It can be seen that for the radar range of 0.75, the number of surviving ships is higher than for radar range 1, which is expected, but it is also higher than the number of surviving ships when the radar range is 0.5. The cause could be fewer ships sunk in the initial moments of the simulation as each ship sees fewer targets, leading to more initially surviving ships thus leading to more targeting in the simulation, in other words it is a consequence of the random number generator.</p>
            <p>With an imprecise radar, the results are different as we get no definitive numbers but rather intervals (denoted by square brackets) for the possible solution (
                <xref ref-type="table" rid="T1">Table 1</xref>). With the original radar range we simulate that there are in the interval [0, 6] ships at the end and that they have [22, 234] missiles between them. Halving the radar range we increase the possible number of ships left to 15 [0, 15] with a larger possible number of missiles left [82, 660]. On the other hand increasing the radar range decreases the number of ships left [0, 4], but the overall possible number of missiles left [12, 254] is increased, though the interval starts with less fully known missiles.</p>
            <p>Contrasting the two results, we observe that imprecise radar results are more ambiguous than their precise counterpart (for this particular seed) but they do follow the same general trend, 
                <italic toggle="yes">i.e.</italic> as radar decreases there are more ships and missiles available. It is also important to note that as the imprecise radar decreases, the uncertainty increases in the number of ships and missiles remaining. This increase in uncertainty could be due to the increase in uncertain ships as they cannot be sunk and thus more uncertain ships mean there are more uncertain missiles fired.</p>
            <p>
                <xref ref-type="table" rid="T1">Table 1</xref> shows that, although the current implementation of intervals is rather crude, it can also be argued that there is no feasible alternative for propagating epistemic uncertainty in an ABM. Thus, propagating with intervals is similar to propagating the worst-case and the best-case scenarios simultaneously. Given the available information, it is not possible to decrease the span of the results without additional knowledge. For example, consider a ship that has uncertainty about a target. The current model accounting for this epistemic uncertainty has the ship both firing and not-firing its missiles. Alternatively, the ship&#x2019;s policy could be to fire a 
                <italic toggle="yes">reduced</italic> number of missiles if it is unsure about a target, hence reducing the missiles&#x2019; interval. In such a case, if the modeller knows about the ship&#x2019;s policy, the missile count interval and its epistemic uncertainty could then be reduced.</p>
            <p>The results of 
                <xref ref-type="table" rid="T1">Table 1</xref> show that the imprecise (interval) implementation follows the same pattern as the precise results, but these results do not show that the interval implementation is a viable alternative, as the current precise radar results do not account for other possible radar ranges. Hence, for a more fair comparison, the precise radar ranges need to be varied to compensate for the uncertain radar range, which can be achieved 
                <italic toggle="yes">via</italic> MC simulation. For simplicity we used the minimum (perfect radar range from the interval implementation) and maximum values (maximum possible radar range from the interval implementation) as the two possible ranges for the outer bounds of each uniform distribution from which each ship&#x2019;s radar range is generated, as the MC implementation assumes ships see other ships perfectly in its entire radar range. The simulations were implemented in a straightforward MC approach, where the radar range varieties are produced in Python
                <sup>
                    <xref ref-type="bibr" rid="ref14">14</xref>
                </sup> with the numpy.random.default_rng class with random seed 220 and the uniform function of this class. The model itself remains unchanged, with the same random generators and parameters.</p>
            <p>To ensure a fair comparison between MC and the interval implementation, we must be able to generate the same sequence of events. Because the comparison is set between the results of the model, where each action in the model is determined by a random generator (
                <italic toggle="yes">e.g.</italic>, the initial velocity of the ships, and the outcome that a fired shot found its target), a common strategy is to set the generator to repeat the list of random numbers in each run by setting the same start point for the generator at the simulation start. However, as this model is agent-based, this is not sufficient to guarantee that the actions taken by agents are the same when the ship&#x2019;s radar ranges are varying. In other words, a ship may perform more actions as a result of a bigger radar range, thus requiring additional random numbers for the additional actions. As all the random numbers created from a set generator can be expressed as a list, this means more uses of the random generator leads to a longer list. Additionally, if each agent utilises the same generator, this means an additional action in the simulation by one agent can shift the random numbers used in other agents, thus possibly generating an alternative outcome as the agents may behave differently.</p>
            <p>To prevent inconsistencies from divergences arising from such additional actions and to prevent unexpected path changes when varying the radar range, a predetermined path for each agent was generated. This was achieved by generating each path as if the simulation were being performed with each ship surviving for the full duration of the simulation time and recording these paths outside of Python. In our case, this is not a concern because ships all turn at a constant 
                <inline-formula>
                    <mml:math display="inline">
                        <mml:mi>&#x03c0;</mml:mi>
                    </mml:math>
                </inline-formula>/30 radians, as explained above. This framework using predetermined paths can be used in simulations where ship paths can include randomness. This framework ensures that the agents do not deviate due to shifting random values. However, divergence between our &#x201c;All random&#x201d; results and &#x201c;Preset path, all missiles binomial hit&#x201d; was observed, even though we are utilising a constant turn path. This was found to be due to a truncation effect from the recorded path values having fewer decimal points.</p>
            <p>The final aspect that can change alongside the radar range changing is the outcome from the launched missiles: a ship with a larger radar range can fire earlier or detect a ship that it couldn&#x2019;t detect beforehand. Thus, as there are more opportunities for the ship to fire missiles, the outcome of the barrage can shift, 
                <italic toggle="yes">e.g.</italic> when before some particular missile may sink a particular ship now it may not, thus resulting in our previously generated random values to be used earlier and a demand for more random values to be generated. Thus, another measure that we have implemented to reduce the potential uncertainty lies in how a missile hit is determined. Our original implementation models missile hits binomially with 0.5 chance of failure. To reduce this uncertainty, we changed the original binomial to no longer have a failure state, thus ensuring that any missile fired always hits the target, 
                <italic toggle="yes">i.e.</italic> the missiles fired can not miss. This modification is referred to as &#x201c;all missiles fired hit&#x201d;.</p>
            <p>With these random generator control measures, the simulation results should only differ due to the ship radar range changes, thus allowing us to compare the two methodologies&#x2019; outcomes as equivalently as possible. Additionally, we have run the model without some of the control factors to demonstrate the variability without these control measures. The MC runs are collated as intervals into the 
                <xref ref-type="table" rid="T2">Table 2</xref> for easier comparison between the interval implementation (as this implementation outputs a pre-made interval) and the MC one.</p>
            <table-wrap id="T2" orientation="portrait" position="float">
                <label>Table 2. </label>
                <caption>
                    <title>Table showing the resulting differences between interval and Monte Carlo (MC) implementation and which control measure generates the greatest possible number of surviving ships.</title>
                    <p>From the results, it can be seen that the interval implementation encompasses the MC one, with nearly all the Ship IDs found in the interval implementation occurring in the MC one.</p>
                </caption>
                <table content-type="article-table" frame="hsides">
                    <thead>
                        <tr>
                            <th align="left" colspan="1" rowspan="1" valign="top"/>
                            <th align="left" colspan="1" rowspan="1" valign="top">Total ships (interval)</th>
                            <th align="left" colspan="1" rowspan="1" valign="top">Ship IDs (interval)</th>
                            <th align="left" colspan="1" rowspan="1" valign="top">Total ships (MC)</th>
                            <th align="left" colspan="1" rowspan="1" valign="top">Ship IDs (MC)</th>
                            <th align="left" colspan="1" rowspan="1" valign="top">Shared IDs</th>
                        </tr>
                    </thead>
                    <tbody>
                        <tr>
                            <td align="left" colspan="1" rowspan="1" valign="top">All random</td>
                            <td align="left" colspan="1" rowspan="1" valign="top">[0, 12]</td>
                            <td align="left" colspan="1" rowspan="1" valign="top">1, 16, 21, 25, 30, 31, 35, 36, 37, 50, 52, 57</td>
                            <td align="left" colspan="1" rowspan="1" valign="top">[0, 5]</td>
                            <td align="left" colspan="1" rowspan="1" valign="top">0-3, 5-6, 8-19, 21-26, 28-31, 34-44, 46-50, 52-57, 59</td>
                            <td align="left" colspan="1" rowspan="1" valign="top">1, 16, 21, 25, 30, 31, 35, 36, 37, 50, 52, 57</td>
                        </tr>
                        <tr>
                            <td align="left" colspan="1" rowspan="1" valign="top">Random path, all missiles fired hit</td>
                            <td align="left" colspan="1" rowspan="1" valign="top">[0, 6]</td>
                            <td align="left" colspan="1" rowspan="1" valign="top">0, 13, 16, 36, 41, 48</td>
                            <td align="left" colspan="1" rowspan="1" valign="top">[0, 5]</td>
                            <td align="left" colspan="1" rowspan="1" valign="top">0, 11, 14, 16, 24, 30, 31, 35, 36, 37, 41, 48, 50, 56, 59</td>
                            <td align="left" colspan="1" rowspan="1" valign="top">0, 16, 36, 41, 48</td>
                        </tr>
                        <tr>
                            <td align="left" colspan="1" rowspan="1" valign="top">Preset path, all missiles binomial hit</td>
                            <td align="left" colspan="1" rowspan="1" valign="top">[0, 25]</td>
                            <td align="left" colspan="1" rowspan="1" valign="top">0, 4, 6, 11-14, 21, 24, 25, 28, 30, 32, 37, 41, 42, 44, 47, 48, 52, 54-57, 59</td>
                            <td align="left" colspan="1" rowspan="1" valign="top">[4, 18]</td>
                            <td align="left" colspan="1" rowspan="1" valign="top">0-50, 52-59</td>
                            <td align="left" colspan="1" rowspan="1" valign="top">0, 4, 6, 11-14, 21, 24, 25, 28, 30, 32, 37, 41, 42, 44, 47, 48, 52, 54-57, 59</td>
                        </tr>
                        <tr>
                            <td align="left" colspan="1" rowspan="1" valign="top">Preset path, all missiles fired hit</td>
                            <td align="left" colspan="1" rowspan="1" valign="top">[0, 15]</td>
                            <td align="left" colspan="1" rowspan="1" valign="top">0, 13, 24, 30, 32, 35-38, 41, 44, 48, 54, 57, 59</td>
                            <td align="left" colspan="1" rowspan="1" valign="top">[1, 10]</td>
                            <td align="left" colspan="1" rowspan="1" valign="top">0, 2, 6, 13, 24, 25, 30, 35-38, 41, 42, 44, 48, 50, 54, 55, 57, 59</td>
                            <td align="left" colspan="1" rowspan="1" valign="top">0, 13, 24, 30, 35-38, 41, 44, 48, 54, 57, 59</td>
                        </tr>
                    </tbody>
                </table>
            </table-wrap>
            <p>The results in 
                <xref ref-type="table" rid="T2">Table 2</xref> show that the interval implementation encompasses the MC results for the total number of ships left. It is also important to note that the general pattern for the remaining number of ships is shared between the two implementations, 
                <italic toggle="yes">i.e.</italic> more ships survive on a pre-set path with binomially distributed hits for the missiles; while the smallest number of ships survive with a random path and all missiles fired hit.</p>
            <p>As a further review, the ship IDs are recorded to be compared between the two methods to ensure that the two methods simulate a similar outcome. 
                <xref ref-type="table" rid="T2">Table 2</xref> shows that the interval method has less variety in the possible ship&#x2019;s ID compared to MC, as the interval method can only simulate one outcome under the set seeds. Thus, we need to check that the ship IDs generated from the interval method are found in the MC method to demonstrate that the ship ID outcomes are possible. Going back to 
                <xref ref-type="table" rid="T2">Table 2</xref>, we can observe that nearly all the ship IDs found in the interval method can be found in the MC method, apart from Ship 13 (random path, all missiles fired hit) and Ship 32 (pre-set path, all missiles fired hit), but they may still be found present in the MC simulation if more MC runs were undertaken.</p>
            <p>In this vein, as multiple iterations of the model are necessary for MC, there is additional data generated compared to the interval implementation (see endpoint results: 
                <xref ref-type="table" rid="T2">Table 2</xref>), which can be collated to show the total number of occurrences for the number of ships that survived at the end of the simulation. This can be seen in 
                <xref ref-type="fig" rid="f3">Figure 3</xref>, where each sub-figure corresponds to one of the four previously discussed scenarios. Sub-figures (a) and (b) show that a predetermined path has a higher frequency for the number of surviving ships (with peak occurrence values at nine and five respectively) compared to their associated random path scenario (where both peak values are at one ship). 
                <xref ref-type="fig" rid="f3">Figure 3</xref> also shows that the paths that the ships follow in the simulation have the greatest effect on the shape of the results; with a preset path ((a) and (b)) displaying results similar to a normal distribution, while a random path ((c) and (d)) coincides more with our expectations (one ship surviving and more ships surviving being less common). Another common factor shown in 
                <xref ref-type="fig" rid="f3">Figure 3</xref> is that the number of surviving ships at the end of the simulation is higher when they are binomially distributed ((a) and (c)) compared to every missile fired hitting the target ((b) and (d)).</p>
            <fig fig-type="figure" id="f3" orientation="portrait" position="float">
                <label>Figure 3. </label>
                <caption>
                    <title>Collection of graphs showcasing the number of surviving ships at the end of each simulation (X axis) and their overall frequency (Y axis) under the MC method.</title>
                </caption>
                <graphic id="gr3" orientation="portrait" position="float" xlink:href="https://f1000research-files.f1000.com/manuscripts/148359/940c9cd6-0578-4b53-bd3b-323d83914210_figure3.gif"/>
            </fig>
            <p>In summary, the results show that interval implementation encompasses the MC results for the high-level results (total number of ships left surviving), but there are fewer ship IDs in total compared to MC. Thus, the interval implementation may be good for finding the possible extreme values, while MC for the expected outcomes. However, it is important to note that extreme events may be more important as failure events are usually located in this region.</p>
        </sec>
        <sec id="sec5" sec-type="conclusion">
            <title>Conclusion</title>
            <p>We have demonstrated that it is possible to implement and propagate intervals directly in an ABM, with the understanding that the interval endpoints represent the possible extreme values. Further, we show that MC is an ideal method for finding the expected outcomes and trends, as well as being simple to implement across various ABM models. However, in this case, it is poor at handling epistemic uncertainty due to assuming an interval can be represented as a uniform distribution but that is necessary for the MC method to work. Thus, other methods are needed for epistemic uncertainty, however they are also not without their drawbacks.</p>
            <p>One of the drawbacks is that the answers may be vacuous (in the battleships example the answer is presented as an interval), while MC depends on how the results are collated at the end (
                <italic toggle="yes">e.g.</italic> enumerate the number of occurrences for 0 ships left; the number of times one ship is left
                <inline-formula>
                    <mml:math display="inline">
                        <mml:mo>&#x2026;</mml:mo>
                    </mml:math>
                </inline-formula>). Additionally, new rules may be added to the battleship interval implementation for some aspects to generate smaller intervals (
                <italic toggle="yes">e.g.</italic> how missiles are fired if they are uncertain about a target), but as the other aspects cannot be adapted it stands that the underlying problems with this type of implementation will still remain.</p>
            <p>Therefore, a direct implementation of intervals and propagating the uncertainty about a value with their use is not recommended as the results generated are rather broad and do not provide additional help in decision making, though it may be useful in generating the overall bounds of the system. Furthermore, depending on the model applications an interval model may be preferable as its computational time is lower compared to MC once the model is built.</p>
        </sec>
    </body>
    <back>
        <sec id="sec9" sec-type="data-availability">
            <title>Data availability</title>
            <p>Zenodo: Battleship Monte Carlo Results for comparison against Interval Implementation. 
                <ext-link ext-link-type="uri" xlink:href="https://doi.org/10.5281/zenodo.7990753">https://doi.org/10.5281/zenodo.7990753</ext-link>.
                <sup>

                    <xref ref-type="bibr" rid="ref19">19</xref>
</sup>
            </p>
            <p>This project contains the following underlying data:
                <list list-type="bullet">
                    <list-item>
                        <label>&#x2022;</label>
                        <p>PathsX.csv (Input file for X coordinates of ships using a predetermined path)</p>
                    </list-item>
                    <list-item>
                        <label>&#x2022;</label>
                        <p>PathsY.csv (Input file for Y coordinates of ships using a predetermined path)</p>
                    </list-item>
                    <list-item>
                        <label>&#x2022;</label>
                        <p>ResultsSPathBinMC.txt (contains the preset path and Binomially distributed hits)</p>
                    </list-item>
                    <list-item>
                        <label>&#x2022;</label>
                        <p>ResultsRPathBinMC.txt (contains the random path and Binomially distributed hits)</p>
                    </list-item>
                    <list-item>
                        <label>&#x2022;</label>
                        <p>ResultsSPathATMC.txt (contains the preset path and all missiles fired hits)</p>
                    </list-item>
                    <list-item>
                        <label>&#x2022;</label>
                        <p>ResultsRPathAllTMC.txt (contains the random path and all missiles fired hits)</p>
                    </list-item>
                    <list-item>
                        <label>&#x2022;</label>
                        <p>Scenario.txt (The minimum radar range for interval implementation)</p>
                    </list-item>
                    <list-item>
                        <label>&#x2022;</label>
                        <p>ScenarioM.txt (The maximum radar range for interval implementation)
</p>
                    </list-item>
                </list>
            </p>
            <p>Data are available under the terms of the 
                <ext-link ext-link-type="uri" xlink:href="https://creativecommons.org/licenses/by/4.0/legalcode">Creative Commons Attribution 4.0 International license</ext-link> (CC-BY 4.0).</p>
        </sec>
        <sec id="sec6">
            <title>Software availability</title>
            <p>Source code: 
                <ext-link ext-link-type="uri" xlink:href="https://github.com/vvstepanov/Battleship/tree/v1.0a">https://github.com/vvstepanov/Battleship/tree/v1.0a</ext-link>
            </p>
            <p>Archived source code at the time of publication: 
                <ext-link ext-link-type="uri" xlink:href="https://doi.org/10.5281/zenodo.8113453">https://doi.org/10.5281/zenodo.8113453</ext-link>

                <sup>

                    <xref ref-type="bibr" rid="ref18">18</xref>
</sup>
            </p>
            <p>License: 
                <ext-link ext-link-type="uri" xlink:href="http://mit">MIT</ext-link>.</p>
        </sec>
        <ref-list>
            <title>References</title>
            <ref id="ref1">
                <label>1</label>
                <mixed-citation publication-type="journal">
                    <person-group person-group-type="author">

                        <name name-style="western">
                            <surname>Bonabeau</surname>
                            <given-names>E</given-names>
                        </name>
</person-group>:
                    <article-title>Agent-based modeling: Methods and techniques for simulating human systems.</article-title>
                    <source>

                        <italic toggle="yes">Proc. Natl. Acad. Sci.</italic>
</source>
                    <year>2002</year>;<volume>99</volume>(<issue>suppl_3</issue>):<fpage>7280</fpage>&#x2013;<lpage>7287</lpage>.
                    <pub-id pub-id-type="pmid">12011407</pub-id>
                    <pub-id pub-id-type="doi">10.1073/pnas.082080899</pub-id>
                    <pub-id pub-id-type="pmcid">PMC128598</pub-id>
                </mixed-citation>
            </ref>
            <ref id="ref2">
                <label>2</label>
                <mixed-citation publication-type="journal">
                    <person-group person-group-type="author">

                        <name name-style="western">
                            <surname>Ferson</surname>
                            <given-names>S</given-names>
                        </name>

                        <name name-style="western">
                            <surname>Sentz</surname>
                            <given-names>K</given-names>
                        </name>
</person-group>:
                    <article-title>Epistemic Uncertainty in Agent-based Modeling.</article-title>
                    <source>

                        <italic toggle="yes">REC.</italic>
</source>
                    <year>2016</year>;<volume>2016</volume>.</mixed-citation>
            </ref>
            <ref id="ref3">
                <label>3</label>
                <mixed-citation publication-type="journal">
                    <person-group person-group-type="author">

                        <name name-style="western">
                            <surname>Mele</surname>
                            <given-names>FD</given-names>
                        </name>

                        <name name-style="western">
                            <surname>Guill&#x00e9;n</surname>
                            <given-names>G</given-names>
                        </name>

                        <name name-style="western">
                            <surname>Espu&#x00f1;a</surname>
                            <given-names>A</given-names>
                        </name>

                        <etal/>
</person-group>:
                    <article-title>An agent-based approach for supply chain retrofitting under uncertainty.</article-title>
                    <source>

                        <italic toggle="yes">Comput. Chem. Eng.</italic>
</source>
                    <year>May 2007</year>;<volume>31</volume>(<issue>5-6</issue>):<fpage>722</fpage>&#x2013;<lpage>735</lpage>. Pergamon.
                    <issn>00981354</issn>.
                    <pub-id pub-id-type="doi">10.1016/j.compchemeng.2006.12.013</pub-id>
                </mixed-citation>
            </ref>
            <ref id="ref4">
                <label>4</label>
                <mixed-citation publication-type="journal">
                    <person-group person-group-type="author">

                        <name name-style="western">
                            <surname>Lux</surname>
                            <given-names>T</given-names>
                        </name>
</person-group>:
                    <article-title>Estimation of agent-based models using sequential Monte Carlo methods.</article-title>
                    <source>

                        <italic toggle="yes">J. Econ. Dyn. Control.</italic>
</source>
                    <year>June 2018</year>;<volume>91</volume>:<fpage>391</fpage>&#x2013;<lpage>408</lpage>.
                    <issn>01651889</issn>.
                    <pub-id pub-id-type="doi">10.1016/j.jedc.2018.01.021</pub-id>
                    <ext-link ext-link-type="uri" xlink:href="https://linkinghub.elsevier.com/retrieve/pii/S0165188918300356">Reference Source</ext-link>
                </mixed-citation>
            </ref>
            <ref id="ref5">
                <label>5</label>
                <mixed-citation publication-type="other">
                    <person-group person-group-type="author">

                        <name name-style="western">
                            <surname>Watson</surname>
                            <given-names>MD</given-names>
                        </name>

                        <name name-style="western">
                            <surname>Mesmer</surname>
                            <given-names>BL</given-names>
                        </name>

                        <name name-style="western">
                            <surname>Farrington</surname>
                            <given-names>PA</given-names>
                        </name>
</person-group>:
                    <article-title>Engineering Elegant Systems: Theory of Systems Engineering.</article-title>
                    <year>2020</year>. Reference Section 5.6.2.</mixed-citation>
            </ref>
            <ref id="ref6">
                <label>6</label>
                <mixed-citation publication-type="other">
                    <person-group person-group-type="author">

                        <name name-style="western">
                            <surname>Bobashev</surname>
                            <given-names>GV</given-names>
                        </name>

                        <name name-style="western">
                            <surname>Morris</surname>
                            <given-names>RJ</given-names>
                        </name>
</person-group>:
                    <article-title>Uncertainty and Inference in Agent-based Models.</article-title>
                    <source>

                        <italic toggle="yes">2010 Second International Conference on Advances in System Simulation.</italic>
</source>
                    <year>2010</year>.</mixed-citation>
            </ref>
            <ref id="ref7">
                <label>7</label>
                <mixed-citation publication-type="journal">
                    <person-group person-group-type="author">

                        <name name-style="western">
                            <surname>Mohammad Raoufi</surname>
                            <given-names>AM</given-names>
                        </name>

                        <name name-style="western">
                            <surname>Asce</surname>
                            <given-names>AR</given-names>
                        </name>

                        <name name-style="western">
                            <surname>Fayek</surname>
                            <given-names>PE</given-names>
                        </name>

                        <etal/>
</person-group>:
                    <article-title>Fuzzy Monte Carlo Agent-Based Simulation of Construction Crew Performance.</article-title>
                    <source>

                        <italic toggle="yes">J. Constr. Eng. Manag.</italic>
</source>
                    <year>may 2020</year>;<volume>146</volume>(<issue>5</issue>).
                    <issn>0733-9364</issn>.
                    <pub-id pub-id-type="doi">10.1061/(ASCE)CO.1943-7862.0001826</pub-id>
                    <ext-link ext-link-type="uri" xlink:href="https://orcid.org/0000">Reference Source</ext-link>
                </mixed-citation>
            </ref>
            <ref id="ref8">
                <label>8</label>
                <mixed-citation publication-type="other">
                    <person-group person-group-type="author">

                        <name name-style="western">
                            <surname>Hilton</surname>
                            <given-names>J</given-names>
                        </name>
</person-group>:
                    <italic toggle="yes">Managing Uncertainty in Agent-Based Demographic Models.</italic>PhD thesis.<year>2017</year>.</mixed-citation>
            </ref>
            <ref id="ref9">
                <label>9</label>
                <mixed-citation publication-type="journal">
                    <person-group person-group-type="author">

                        <name name-style="western">
                            <surname>Chiang</surname>
                            <given-names>NY</given-names>
                        </name>

                        <name name-style="western">
                            <surname>Lin</surname>
                            <given-names>Y</given-names>
                        </name>

                        <name name-style="western">
                            <surname>Long</surname>
                            <given-names>Q</given-names>
                        </name>
</person-group>:
                    <article-title>Efficient propagation of uncertainties in manufacturing supply chains: Time buckets, L-leap, and multilevel Monte Carlo methods.</article-title>
                    <source>

                        <italic toggle="yes">Operations Research Perspectives.</italic>
</source>
                    <year>January 2020</year>;<volume>7</volume>:<fpage>100144</fpage>. Elsevier Ltd.
                    <issn>22147160</issn>.
                    <pub-id pub-id-type="doi">10.1016/j.orp.2020.100144</pub-id>
                </mixed-citation>
            </ref>
            <ref id="ref10">
                <label>10</label>
                <mixed-citation publication-type="other">
                    <person-group person-group-type="author">

                        <name name-style="western">
                            <surname>Stepanov</surname>
                            <given-names>V</given-names>
                        </name>
</person-group>:
                    <italic toggle="yes">Modelling Epistemic Uncertainty in Agent-based Models.</italic>PhD thesis, University of Liverpool [Submitted].<year>2023</year>.</mixed-citation>
            </ref>
            <ref id="ref11">
                <label>11</label>
                <mixed-citation publication-type="book">
                    <person-group person-group-type="author">

                        <name name-style="western">
                            <surname>Oberkampf</surname>
                            <given-names>WL</given-names>
                        </name>

                        <name name-style="western">
                            <surname>Roy</surname>
                            <given-names>CJ</given-names>
                        </name>
</person-group>:
                    <source>

                        <italic toggle="yes">Verification and Validation in Scientific Computing.</italic>
</source>
                    <publisher-name>Cambridge University Press</publisher-name>;<year>2010</year>.
                    <pub-id pub-id-type="doi">10.1017/CBO9780511760396</pub-id>
                </mixed-citation>
            </ref>
            <ref id="ref12">
                <label>12</label>
                <mixed-citation publication-type="journal">
                    <person-group person-group-type="author">

                        <name name-style="western">
                            <surname>Ferson</surname>
                            <given-names>S</given-names>
                        </name>

                        <name name-style="western">
                            <surname>Ginzburg</surname>
                            <given-names>LR</given-names>
                        </name>
</person-group>:
                    <article-title>Different methods are needed to propagate ignorance and variability.</article-title>
                    <source>

                        <italic toggle="yes">Reliab. Eng. Syst. Saf.</italic>
</source>
                    <year>1996</year>;<volume>54</volume>(<issue>2-3</issue>):<fpage>133</fpage>&#x2013;<lpage>144</lpage>.
                    <issn>09518320</issn>.
                    <pub-id pub-id-type="doi">10.1016/S0951-8320(96)00071-3</pub-id>
                </mixed-citation>
            </ref>
            <ref id="ref13">
                <label>13</label>
                <mixed-citation publication-type="journal">
                    <person-group person-group-type="author">

                        <name name-style="western">
                            <surname>Ferson</surname>
                            <given-names>S</given-names>
                        </name>
</person-group>:
                    <article-title>What Monte Carlo methods cannot do.</article-title>
                    <source>

                        <italic toggle="yes">Hum. Ecol. Risk Assess. Int. J.</italic>
</source>
                    <year>2008-12-02</year>;<volume>2</volume>:<fpage>990</fpage>&#x2013;<lpage>1007</lpage>. Taylor &amp; Francis Group.
                    <pub-id pub-id-type="doi">10.1080/10807039609383659</pub-id>
                </mixed-citation>
            </ref>
            <ref id="ref14">
                <label>14</label>
                <mixed-citation publication-type="book">
                    <person-group person-group-type="author">

                        <name name-style="western">
                            <surname>Van Rossum</surname>
                            <given-names>G</given-names>
                        </name>

                        <name name-style="western">
                            <surname>Drake</surname>
                            <given-names>FL</given-names>
                        </name>
</person-group>:
                    <source>

                        <italic toggle="yes">Python 3 Reference Manual.</italic>
</source>
                    <publisher-loc>Scotts Valley, CA</publisher-loc>:
                    <publisher-name>CreateSpace</publisher-name>;<year>2009</year>.
                    <isbn>1441412697</isbn>.</mixed-citation>
            </ref>
            <ref id="ref15">
                <label>15</label>
                <mixed-citation publication-type="journal">
                    <person-group person-group-type="author">

                        <name name-style="western">
                            <surname>Harris</surname>
                            <given-names>CR</given-names>
                        </name>

                        <name name-style="western">
                            <surname>Jarrod Millman</surname>
                            <given-names>K</given-names>
                        </name>

                        <name name-style="western">
                            <surname>Walt</surname>
                            <given-names>SJ</given-names>
                            <prefix>van der</prefix>
                        </name>

                        <etal/>
</person-group>:
                    <article-title>Array programming with NumPy.</article-title>
                    <source>

                        <italic toggle="yes">Nature.</italic>
</source>
                    <year>2020</year>;<volume>585</volume>:<fpage>357</fpage>&#x2013;<lpage>362</lpage>.
                    <pub-id pub-id-type="pmid">32939066</pub-id>
                    <pub-id pub-id-type="doi">10.1038/s41586-020-2649-2</pub-id>
                    <pub-id pub-id-type="pmcid">PMC7759461</pub-id>
                </mixed-citation>
            </ref>
            <ref id="ref16">
                <label>16</label>
                <mixed-citation publication-type="journal">
                    <person-group person-group-type="author">

                        <name name-style="western">
                            <surname>Hunter</surname>
                            <given-names>JD</given-names>
                        </name>
</person-group>:
                    <article-title>Matplotlib: A 2d graphics environment.</article-title>
                    <source>

                        <italic toggle="yes">Comput. Sci. Eng.</italic>
</source>
                    <year>2007</year>;<volume>9</volume>(<issue>3</issue>):<fpage>90</fpage>&#x2013;<lpage>95</lpage>.
                    <pub-id pub-id-type="doi">10.1109/MCSE.2007.55</pub-id>
                </mixed-citation>
            </ref>
            <ref id="ref17">
                <label>17</label>
                <mixed-citation publication-type="other">
                    <person-group person-group-type="author">

                        <name name-style="western">
                            <surname>Kruglyak</surname>
                            <given-names>L</given-names>
                        </name>
</person-group>:
                    <article-title>The Topology of Pacman.</article-title>
                    <year>2017</year>. Accessed: 2023-06-20.
                    <ext-link ext-link-type="uri" xlink:href="https://levsblog.quora.com/The-Topology-of-Pacman">Reference Source</ext-link>
                </mixed-citation>
            </ref>
            <ref id="ref18">
                <label>18</label>
                <mixed-citation publication-type="other">
                    <collab>vvstepanov</collab>:
                    <article-title>vvstepanov/Battleship: Epistemic Battleship (v1.0a). [Source code].</article-title>
                    <source>

                        <italic toggle="yes">Zenodo.</italic>
</source>
                    <year>2023</year>.
                    <pub-id pub-id-type="doi">10.5281/zenodo.8113453</pub-id>
                </mixed-citation>
            </ref>
            <ref id="ref19">
                <label>19</label>
                <mixed-citation publication-type="data">
                    <person-group person-group-type="author">

                        <name name-style="western">
                            <surname>Stepanov</surname>
                            <given-names>V</given-names>
                        </name>
</person-group>:
                    <data-title>Battleship Monte Carlo Results for comparison against Interval Implementation.</data-title>[Data].
                    <source>

                        <italic toggle="yes">Zenodo.</italic>
</source>
                    <year>2023</year>.
                    <pub-id pub-id-type="doi">10.5281/zenodo.7990753</pub-id>
                </mixed-citation>
            </ref>
        </ref-list>
    </back>
    <sub-article article-type="reviewer-report" id="report193841">
        <front-stub>
            <article-id pub-id-type="doi">10.5256/f1000research.148359.r193841</article-id>
            <title-group>
                <article-title>Reviewer response for version 1</article-title>
            </title-group>
            <contrib-group>
                <contrib contrib-type="author">
                    <name>
                        <surname>McCulloch</surname>
                        <given-names>Josie</given-names>
                    </name>
                    <xref ref-type="aff" rid="r193841a1">1</xref>
                    <role>Referee</role>
                </contrib>
                <aff id="r193841a1">
                    <label>1</label>University of Leeds, Leeds, England, UK</aff>
            </contrib-group>
            <author-notes>
                <fn fn-type="conflict">
                    <p>
                        <bold>Competing interests: </bold>No competing interests were disclosed.</p>
                </fn>
            </author-notes>
            <pub-date pub-type="epub">
                <day>22</day>
                <month>8</month>
                <year>2023</year>
            </pub-date>
            <permissions>
                <copyright-statement>Copyright: &#x00a9; 2023 McCulloch J</copyright-statement>
                <copyright-year>2023</copyright-year>
                <license xlink:href="https://creativecommons.org/licenses/by/4.0/">
                    <license-p>This is an open access peer review report distributed under the terms of the Creative Commons Attribution Licence, which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.</license-p>
                </license>
            </permissions>
            <related-article ext-link-type="doi" id="relatedArticleReport193841" related-article-type="peer-reviewed-article" xlink:href="10.12688/f1000research.135249.1"/>
            <custom-meta-group>
                <custom-meta>
                    <meta-name>recommendation</meta-name>
                    <meta-value>approve-with-reservations</meta-value>
                </custom-meta>
            </custom-meta-group>
        </front-stub>
        <body>
            <p>The authors present an interesting method of using interval computations to understand epistemic uncertainty in an agent based model, with the goal of counteracting the problems with Monte-Carlo methods not being so suited to this kind of uncertainty.</p>
            <p> </p>
            <p> The paper is well written, but there are a few points that could be better explained.</p>
            <p> </p>
            <p> In the abstract, I'm not sure what the authors mean by "the interval approach misses the quantitative conclusion".</p>
            <p> </p>
            <p> On page 4, why can a ship's radar reach 27.5 grid units? The text states that a ship occupies a grid cell, so it's not clear there's any advantage to being able to see half a cell.</p>
            <p> </p>
            <p> Also on page 4, it states that a ship will fire a missile if the lower bound of the interval for the remaining missiles is above zero. Why does a ship have uncertainty in how many missiles it has? Is it the model that has uncertainty in how many missiles the ship has, and therefore what the ship then does?</p>
            <p> In addition, if there is another ship in uncertain radar range, then I don't think the current ship can be said to have both fired and not fired its missiles. I think it would be more accurate to say it may or may not have fired its missiles.</p>
            <p> </p>
            <p> Also, a typo on page 4, it should be "missiles fired as m".</p>
            <p> </p>
            <p> On page 5, the authors say the first simulations have no epistemic uncertainty. It would be useful to summarise how this is so. Do they have no uncertainty in their radar?</p>
            <p>Is the rationale for developing the new method (or application) clearly explained?</p>
            <p>Yes</p>
            <p>Is the description of the method technically sound?</p>
            <p>Yes</p>
            <p>Are the conclusions about the method and its performance adequately supported by the findings presented in the article?</p>
            <p>Yes</p>
            <p>If any results are presented, are all the source data underlying the results available to ensure full reproducibility?</p>
            <p>Yes</p>
            <p>Are sufficient details provided to allow replication of the method development and its use by others?</p>
            <p>Yes</p>
            <p>Reviewer Expertise:</p>
            <p>Agent-based models, interval computations</p>
            <p>I confirm that I have read this submission and believe that I have an appropriate level of expertise to confirm that it is of an acceptable scientific standard, however I have significant reservations, as outlined above.</p>
        </body>
        <sub-article article-type="response" id="comment10122-193841">
            <front-stub>
                <contrib-group>
                    <contrib contrib-type="author">
                        <name>
                            <surname>Stepanov</surname>
                            <given-names>Vladimir</given-names>
                        </name>
                        <aff>University of Liverpool, UK</aff>
                    </contrib>
                </contrib-group>
                <author-notes>
                    <fn fn-type="conflict">
                        <p>
                            <bold>Competing interests: </bold>No competing interests were disclosed.</p>
                    </fn>
                </author-notes>
                <pub-date pub-type="epub">
                    <day>27</day>
                    <month>8</month>
                    <year>2023</year>
                </pub-date>
            </front-stub>
            <body>
                <p>Thanks to Prof McCulloch for her thoughtful and careful comments.&#x00a0; They have been valuable to us.&#x00a0; We have numbered the points she has raised for easy reference.</p>
                <p> </p>
                <p> 
                    <italic>1)In the abstract, I'm not sure what the authors mean by "the interval approach misses the quantitative conclusion".</italic>
                </p>
                <p> </p>
                <p> We have changed &#x201c;the&#x201d; to &#x201c;that&#x201d; as we feel that helps to clarify that an interval implementation output is an interval. This interval may not be small, which may be unrealistic.</p>
                <p> </p>
                <p> 
                    <italic>2)On page 4, why can a ship's radar reach 27.5 grid units? The text states that a ship occupies a grid cell, so it's not clear there's any advantage to being able to see half a cell.</italic>
                </p>
                <p> </p>
                <p> Thank you for pointing this out. As a result, we have changed the terminology from grid cell to grip point to better reflect the code implementation and to reduce confusion.</p>
                <p> </p>
                <p> 
                    <italic>3)Also on page 4, it states that a ship will fire a missile if the lower bound of the interval for the remaining missiles is above zero. Why does a ship have uncertainty in how many missiles it has? Is it the model that has uncertainty in how many missiles the ship has, and therefore what the ship then does?</italic>
                </p>
                <p> 
                    <italic>In addition, if there is another ship in uncertain radar range, then I don't think the current ship can be said to have both fired and not fired its missiles. I think it would be more accurate to say it may or may not have fired its missiles.</italic>
                </p>
                <p> </p>
                <p> In addition to Vladik&#x2019;s reply we have also added a clarifying statement that the ship doesn&#x2019;t have uncertainty about how many missiles it&#x2019;s fired, but the simulation does.&#x00a0; That is, the analyst who is running the simulation.</p>
                <p> </p>
                <p> 
                    <italic>4)Also, a typo on page 4, it should be "missiles fired as m".</italic>
                </p>
                <p> </p>
                <p> Corrected.</p>
                <p> </p>
                <p> 
                    <italic>5)On page 5, the authors say the first simulations have no epistemic uncertainty. It would be useful to summarise how this is so. Do they have no uncertainty in their radar?</italic>
                </p>
                <p> </p>
                <p> We have added the following clarifying statement: &#x201c;i.e. when the ships see other ships in their radar perfectly,&#x201d; &#x2013; to remove confusion.</p>
            </body>
        </sub-article>
    </sub-article>
    <sub-article article-type="reviewer-report" id="report187524">
        <front-stub>
            <article-id pub-id-type="doi">10.5256/f1000research.148359.r187524</article-id>
            <title-group>
                <article-title>Reviewer response for version 1</article-title>
            </title-group>
            <contrib-group>
                <contrib contrib-type="author">
                    <name>
                        <surname>Kreinovich</surname>
                        <given-names>Vladik</given-names>
                    </name>
                    <xref ref-type="aff" rid="r187524a1">1</xref>
                    <role>Referee</role>
                    <uri content-type="orcid">https://orcid.org/0000-0002-1244-1650</uri>
                </contrib>
                <aff id="r187524a1">
                    <label>1</label>Department of Computer Science, The University of Texas at El Paso, El Paso, Texas, USA</aff>
            </contrib-group>
            <author-notes>
                <fn fn-type="conflict">
                    <p>
                        <bold>Competing interests: </bold>No competing interests were disclosed.</p>
                </fn>
            </author-notes>
            <pub-date pub-type="epub">
                <day>31</day>
                <month>7</month>
                <year>2023</year>
            </pub-date>
            <permissions>
                <copyright-statement>Copyright: &#x00a9; 2023 Kreinovich V</copyright-statement>
                <copyright-year>2023</copyright-year>
                <license xlink:href="https://creativecommons.org/licenses/by/4.0/">
                    <license-p>This is an open access peer review report distributed under the terms of the Creative Commons Attribution Licence, which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.</license-p>
                </license>
            </permissions>
            <related-article ext-link-type="doi" id="relatedArticleReport187524" related-article-type="peer-reviewed-article" xlink:href="10.12688/f1000research.135249.1"/>
            <custom-meta-group>
                <custom-meta>
                    <meta-name>recommendation</meta-name>
                    <meta-value>approve-with-reservations</meta-value>
                </custom-meta>
            </custom-meta-group>
        </front-stub>
        <body>
            <p>The problem that this paper solves is very ubiquitous. It is related to the fact that in many real-life situations, we need to make decisions under uncertainty. Sometimes, we know the probabilities of different alternatives; in this case, we can use usual Monte-Carlo simulation techniques. However, in many practical situations, we only have partial information about the corresponding probabilities. Frequently, all we know is the interval of possible values of some quantities, and we have no information about the probability of different values within this interval. In such situation of interval uncertainty, some practitioners assume that there is a uniform distribution on this interval, If the objective is to select a single distribution out of all possible distributions on the given interval, this assumption makes perfect sense: since we have no reason to believe that some values are more probable than others, it makes sense to assume that all the values are equally probable, i.e.,&#x00a0;that we have the uniform distribution. However, as is well known -- and as the authors convincingly show -- this assumption can lead to a drastic under-estimation of the resulting uncertainty. Instead, the authors propose to explicitly carry on intervals of possible values at each moment of the simulation -- and when moving to the next moment of time, consider all possible transitions which are consistent to the available interval information.</p>
            <p> </p>
            <p> The authors illustrate this idea on the example of a battleship simulation inspired by the well-known children's game. The simulation is interesting and the results are interesting, but the text needs a few corrections and some clarification editing.</p>
            <p> </p>
            <p> Minor typo: on p. 3, 0.02 should be 0.20.</p>
            <p> </p>
            <p> p. 4, first full paragraph, the ship fires only if the lower bound on the number of remaining missiles is larger than 0. This needs explanation, I did not expect it. We may not know during simulation whether the ship has any missiles left or not -- since in the previous moment of time, it was not clear whether the ship noticed the adversary and fired the missile. In this case, for us, the lower bound for the number of missiles is 0. However, in the actual run, the ship knows how many missiles it has left, so if a missile is left, it can fire it -- while this phrase seems to not allow this possibility.</p>
            <p> </p>
            <p> The next phrase is even more confusing: the ship has both fired the missiles and not fired the missile. I know that everyone likes this confusing description of Schroedinger's cat that journalists use when they want to entertain the reader, but here the authors are trying to explain, so why not make it clearer. I think what the authors want to say is that in this case, when forming the state at the next moment of time, we take into account both possibilities: that the ship fires a missile and that the ship does not fire the missile.</p>
            <p> </p>
            <p> Very minor thing: the authors use it's when it should be its: e.g., its radar range (it's means it is, it is an exception to the general rule of adding apostrophe and s to a noun).</p>
            <p> </p>
            <p> p. 5, last paragraph before the section titled "Model results", line 1: it is not clear why an uncertain ship cannot sink a certainly existing ship: uncertain ship means, e.g., that without our general description, in some possible histories, the ship is already destroyed. However, the fact that the ship is uncertain at this moment of the simulation means that in some possible histories, the ship is still there -- in which case it can sink another ship.</p>
            <p> </p>
            <p> p. 5, line 3 from the bottom: I am not sure why the fact that the same seed was utilized, we do not need multiple simulations: using the same seed means that we select one random value out of many, if we selected a different seed and a different value, we could get a different result. In this case, the conclusions based on one simulation may not be applicable to other cases -- and to make general conclusions, we do need additional simulations. For the same reason, the last phrase in the first (incomplete) paragraph on p. 6 is not clear.</p>
            <p>Is the rationale for developing the new method (or application) clearly explained?</p>
            <p>Yes</p>
            <p>Is the description of the method technically sound?</p>
            <p>Yes</p>
            <p>Are the conclusions about the method and its performance adequately supported by the findings presented in the article?</p>
            <p>Yes</p>
            <p>If any results are presented, are all the source data underlying the results available to ensure full reproducibility?</p>
            <p>Yes</p>
            <p>Are sufficient details provided to allow replication of the method development and its use by others?</p>
            <p>Yes</p>
            <p>Reviewer Expertise:</p>
            <p>Interval computations</p>
            <p>I confirm that I have read this submission and believe that I have an appropriate level of expertise to confirm that it is of an acceptable scientific standard, however I have significant reservations, as outlined above.</p>
        </body>
        <sub-article article-type="response" id="comment10082-187524">
            <front-stub>
                <contrib-group>
                    <contrib contrib-type="author">
                        <name>
                            <surname>Stepanov</surname>
                            <given-names>Vladimir</given-names>
                        </name>
                        <aff>University of Liverpool, UK</aff>
                    </contrib>
                </contrib-group>
                <author-notes>
                    <fn fn-type="conflict">
                        <p>
                            <bold>Competing interests: </bold>No competing interests were disclosed.</p>
                    </fn>
                </author-notes>
                <pub-date pub-type="epub">
                    <day>18</day>
                    <month>8</month>
                    <year>2023</year>
                </pub-date>
            </front-stub>
            <body>
                <p>Thanks to Prof Kreinovich for his thoughtful and careful comments.&#x00a0; They have been valuable to us.&#x00a0; We have numbered the points he has raised for easy reference.</p>
                <p> 
                    <italic>1) Minor typo: on p. 3, 0.02 should be 0.20.</italic>
                </p>
                <p> Thank you. This has been corrected.</p>
                <p> </p>
                <p> 
                    <italic>2)p. 4, first full paragraph, the ship fires only if the lower bound on the number of remaining missiles is larger than 0. This needs explanation, I did not expect it. We may not know during simulation whether the ship has any missiles left or not -- since in the previous moment of time, it was not clear whether the ship noticed the adversary and fired the missile. In this case, for us, the lower bound for the number of missiles is 0. However, in the actual run, the ship knows how many missiles it has left, so if a missile is left, it can fire it -- while this phrase seems to not allow this possibility.</italic>
                </p>
                <p> We have changed the word &#x201c;lower&#x201d; to &#x201c;upper&#x201d; in the confusing sentence.&#x00a0; This allows for the possibility of firing missiles, as expected.</p>
                <p> </p>
                <p> 
                    <italic>3)The next phrase is even more confusing: the ship has both fired the missiles and not fired the missile. I know that everyone likes this confusing description of Schroedinger's cat that journalists use when they want to entertain the reader, but here the authors are trying to explain, so why not make it clearer. I think what the authors want to say is that in this case, when forming the state at the next moment of time, we take into account both possibilities: that the ship fires a missile and that the ship does not fire the missile.</italic>
                </p>
                <p> We have changed the original sentence from:</p>
                <p> If the ship fires at a ship in the uncertain radar range, the ship fire is uncertain, i.e. the ship has both fired the missiles and not fired the missiles.&#x00a0;</p>
                <p> To this:</p>
                <p> Due to uncertainty about the radar range, a ship may or may not detect a target ship within its firing range. In such a case, the firing of missiles is uncertain.&#x00a0; If the ship detects the target it would fire, but if it does not detect the target it would not fire. This means that, when representing the state at the next moment of time, we consider both possibilities: that the ship fires a missile and that the ship does not fire the missile. In the former case, the ship&#x2019;s complement of missiles decreases and the target may experience damage.&#x00a0; In the latter, neither occurs.</p>
                <p> </p>
                <p> 
                    <italic>4)Very minor thing: the authors use it's when it should be its: e.g., its radar range (it's means it is, it is an exception to the general rule of adding apostrophe and s to a noun).</italic>
                </p>
                <p> Corrected.</p>
                <p> </p>
                <p> 
                    <italic>5)p. 5, last paragraph before the section titled "Model results", line 1: it is not clear why an uncertain ship cannot sink a certainly existing ship: uncertain ship means, e.g., that without our general description, in some possible histories, the ship is already destroyed. However, the fact that the ship is uncertain at this moment of the simulation means that in some possible histories, the ship is still there -- in which case it can sink another ship.</italic>
                </p>
                <p> We have clarified the paragraph that explains how a ship becomes uncertain about its existence by changing the explanation from:</p>
                <p> In summary, the scenarios demonstrate that an uncertain ship cannot sink a certainly existing ship, as when the upper bound for the hit counts exceeds the ship&#x2019;s limit, the previously certainly existing ship becomes uncertain about its existence.</p>
                <p> To this:</p>
                <p> In summary, the scenarios demonstrate that an uncertain ship cannot sink a certainly existing ship, as the missiles fired from such a ship are uncertain. Thus only the upper bound of the hit count for the other ship is increased. When the hit count&#x2019;s upper bound exceeds the ship&#x2019;s upper existence limit, the previously certainly existing ship becomes uncertain about its existence, but it does not (certainly) sink.&#x00a0; Recall that uncertainty about a ship&#x2019;s existence means that we don&#x2019;t know whether it has been sunk or not.</p>
                <p> </p>
                <p> 
                    <italic>6)p. 5, line 3 from the bottom: I am not sure why the fact that the same seed was utilized, we do not need multiple simulations: using the same seed means that we select one random value out of many, if we selected a different seed and a different value, we could get a different result. In this case, the conclusions based on one simulation may not be applicable to other cases -- and to make general conclusions, we do need additional simulations. For the same reason, the last phrase in the first (incomplete) paragraph on p. 6 is not clear.</italic>
                </p>
                <p> We agree. We have modified the paragraph discussing the issue in two places: the middle and at the end. The additional part in the middle, explains why we have used one seed (we were testing the methodology and not the actual behaviour of those particular ships). Our edit at the end of the paragraph, clarifies that the simulation can still have variations even when using the same seed, leading to further testing explained at a later stage in the text. We hope that the changes improve clarity.</p>
            </body>
        </sub-article>
    </sub-article>
</article>
