<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE article PUBLIC "-//TaxonX//DTD Taxonomic Treatment Publishing DTD v0 20100105//EN" "https://ibe.pensoft.net/nlm/tax-treatment-NS0.dtd">
<article xmlns:tp="http://www.plazi.org/taxpub" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:mml="http://www.w3.org/1998/Math/MathML" article-type="research-article" xml:lang="en">
  <front>
    <journal-meta>
      <journal-id journal-id-type="publisher-id">129</journal-id>
      <journal-id journal-id-type="index">urn:lsid:arphahub.com:pub:f14111ed-16d8-5461-80f2-1d57b198248b</journal-id>
      <journal-title-group>
        <journal-title xml:lang="en">Individual-based Ecology</journal-title>
        <abbrev-journal-title xml:lang="en">IBE</abbrev-journal-title>
      </journal-title-group>
      <issn pub-type="epub">3033-0947</issn>
      <publisher>
        <publisher-name>Pensoft Publishers</publisher-name>
      </publisher>
    </journal-meta>
    <article-meta>
      <article-id pub-id-type="doi">10.3897/ibe.2.174844</article-id>
      <article-id pub-id-type="publisher-id">174844</article-id>
      <article-categories>
        <subj-group subj-group-type="heading">
          <subject>Methods</subject>
        </subj-group>
        <subj-group subj-group-type="biological_taxon">
          <subject>Primates</subject>
        </subj-group>
        <subj-group subj-group-type="scientific_subject">
          <subject>Theory &amp; Methodology</subject>
        </subj-group>
      </article-categories>
      <title-group>
        <article-title>Simulating the socioecology of virtual primates using B3GET: a generalized behavioral modeling tool</article-title>
      </title-group>
      <contrib-group content-type="authors">
        <contrib contrib-type="author" corresp="yes">
          <name name-style="western">
            <surname>Crouse</surname>
            <given-names>Kristin N.</given-names>
          </name>
          <email xlink:type="simple">kncrouse@gmail.com</email>
          <uri content-type="orcid">https://orcid.org/0000-0002-4878-7477</uri>
          <xref ref-type="aff" rid="A1">1</xref>
          <role content-type="http://credit.niso.org/contributor-roles/conceptualization/">Conceptualization</role>
          <role content-type="http://credit.niso.org/contributor-roles/writing-original-draft/">Writing - original draft</role>
          <role content-type="http://credit.niso.org/contributor-roles/writing-review-editing/">Writing - review and editing</role>
          <role content-type="http://credit.niso.org/contributor-roles/data-curation/">Data curation</role>
          <role content-type="http://credit.niso.org/contributor-roles/formal-analysis/">Formal analysis</role>
          <role content-type="http://credit.niso.org/contributor-roles/investigation/">Investigation</role>
          <role content-type="http://credit.niso.org/contributor-roles/methodology/">Methodology</role>
          <role content-type="http://credit.niso.org/contributor-roles/project-administration/">Project administration</role>
          <role content-type="http://credit.niso.org/contributor-roles/software/">Software</role>
          <role content-type="http://credit.niso.org/contributor-roles/validation/">Validation</role>
          <role content-type="http://credit.niso.org/contributor-roles/visualization/">Visualization</role>
        </contrib>
        <contrib contrib-type="author" corresp="no">
          <name name-style="western">
            <surname>Lehman</surname>
            <given-names>Clarence L.</given-names>
          </name>
          <uri content-type="orcid">https://orcid.org/0000-0002-1369-1205</uri>
          <xref ref-type="aff" rid="A1">1</xref>
          <xref ref-type="aff" rid="A2">2</xref>
          <role content-type="http://credit.niso.org/contributor-roles/conceptualization/">Conceptualization</role>
          <role content-type="http://credit.niso.org/contributor-roles/writing-review-editing/">Writing - review and editing</role>
          <role content-type="http://credit.niso.org/contributor-roles/methodology/">Methodology</role>
          <role content-type="http://credit.niso.org/contributor-roles/supervision/">Supervision</role>
          <role content-type="http://credit.niso.org/contributor-roles/validation/">Validation</role>
        </contrib>
        <contrib contrib-type="author" corresp="no">
          <name name-style="western">
            <surname>Wilson</surname>
            <given-names>Michael L.</given-names>
          </name>
          <uri content-type="orcid">https://orcid.org/0000-0003-3073-4518</uri>
          <xref ref-type="aff" rid="A1">1</xref>
          <xref ref-type="aff" rid="A2">2</xref>
          <role content-type="http://credit.niso.org/contributor-roles/conceptualization/">Conceptualization</role>
          <role content-type="http://credit.niso.org/contributor-roles/writing-review-editing/">Writing - review and editing</role>
          <role content-type="http://credit.niso.org/contributor-roles/methodology/">Methodology</role>
          <role content-type="http://credit.niso.org/contributor-roles/supervision/">Supervision</role>
          <role content-type="http://credit.niso.org/contributor-roles/validation/">Validation</role>
        </contrib>
      </contrib-group>
      <aff id="A1">
        <label>1</label>
        <addr-line content-type="verbatim">Ecology, Evolution and Behavior, University of Minnesota, Saint Paul, Minnesota, USA</addr-line>
        <institution>Ecology, Evolution and Behavior, University of Minnesota</institution>
        <addr-line content-type="city">Saint Paul</addr-line>
        <country>United States of America</country>
        <uri content-type="ror">https://ror.org/017zqws13</uri>
      </aff>
      <aff id="A2">
        <label>2</label>
        <addr-line content-type="verbatim">Institute on the Environment, University of Minnesota, 1954 Buford Avenue, Saint Paul, MN 55108, USA</addr-line>
        <institution>Institute on the Environment, University of Minnesota</institution>
        <addr-line content-type="city">Saint Paul</addr-line>
        <country>United States of America</country>
      </aff>
      <author-notes>
        <fn fn-type="corresp">
          <p>Corresponding author: Kristin N. Crouse (<email xlink:type="simple">kncrouse@gmail.com</email>)</p>
        </fn>
        <fn fn-type="edited-by">
          <p>Academic editor: Volker Grimm</p>
        </fn>
      </author-notes>
      <pub-date pub-type="collection">
        <year>2026</year>
      </pub-date>
      <pub-date pub-type="epub">
        <day>30</day>
        <month>07</month>
        <year>2026</year>
      </pub-date>
      <volume>2</volume>
      <elocation-id>e174844</elocation-id>
      <uri content-type="arpha" xlink:href="http://openbiodiv.net/EEC093DD-3C1C-500F-AEE4-192593CB2A1D">EEC093DD-3C1C-500F-AEE4-192593CB2A1D</uri>
      <history>
        <date date-type="received">
          <day>13</day>
          <month>03</month>
          <year>2026</year>
        </date>
        <date date-type="accepted">
          <day>22</day>
          <month>06</month>
          <year>2026</year>
        </date>
      </history>
      <permissions>
        <copyright-statement>Kristin N. Crouse, Clarence L. Lehman, Michael L. Wilson</copyright-statement>
        <license license-type="creative-commons-attribution" xlink:href="http://creativecommons.org/licenses/by/4.0/" xlink:type="simple">
          <license-p>This is an open access article distributed under the terms of the Creative Commons Attribution License (CC BY 4.0), which permits unrestricted use, distribution, and reproduction in any medium, provided the original author and source are credited.</license-p>
        </license>
      </permissions>
      <abstract>
        <label>Abstract</label>
        <p>Understanding how individual behaviors scale up to population and ecosystem patterns remains a central challenge in ecology. Here, we introduce <abbrev xlink:title="Behavior, Ecology, Genetics, Evolution, and Tradeoffs">B3GET</abbrev> (Behavior, Ecology, Genetics, Evolution, and Tradeoffs), a generalized agent-based modeling framework that links individual stimulus–response rules to emergent ecological, evolutionary, and social dynamics. Stimuli include the observable traits of individuals, such as their sex, age, and fertility status, among other phenotypes and signals; responses include movement, body growth, and inclination to mate, eat, fight, and perform other behaviors. These rules are heritable and can mutate and recombine during sexual reproduction, resulting in the emergence of adaptive strategies and counterstrategies. We conducted 288 simulations totaling 370,199 individuals, divided equally among four emulated primate species: chimpanzees, geladas, hamadryas baboons, and olive baboons. We demonstrate that (1) <abbrev xlink:title="Behavior, Ecology, Genetics, Evolution, and Tradeoffs">B3GET</abbrev> can generate patchy and homogeneous virtual plant food environments; (2) virtual organisms can live and thrive in these habitats and persist for generations; (3) populations can evolve over generations; and (4) these virtual primate counterparts resembled the target species in terms of their dispersal patterns, mating strategies, and ranging behaviors. <abbrev xlink:title="Behavior, Ecology, Genetics, Evolution, and Tradeoffs">B3GET</abbrev> users can edit the starting files to create species-specific virtual organisms and collect simulation data for testing hypotheses. Because <abbrev xlink:title="Behavior, Ecology, Genetics, Evolution, and Tradeoffs">B3GET</abbrev> can emulate a broad range of animal species, it provides a promising approach for investigating broader questions in animal behavior and primate socioecology, both for research and education.</p>
      </abstract>
      <kwd-group>
        <label>Key words:</label>
        <kwd>Agent-based modeling</kwd>
        <kwd>animal behavior</kwd>
        <kwd>behavioral ecology</kwd>
        <kwd>individual-based modeling</kwd>
        <kwd>primate societies</kwd>
        <kwd>spatially explicit</kwd>
        <kwd>stimulus-response rules</kwd>
        <kwd>virtual evolution</kwd>
      </kwd-group>
    </article-meta>
    <notes>
      <sec sec-type="Citation" id="sec1">
        <title>Citation</title>
        <p>Crouse KN, Lehman CL, Wilson ML (2026) Simulating the socioecology of virtual primates using B3GET: a generalized behavioral modeling tool. Individual-based Ecology 2: e174844. <ext-link xlink:href="10.3897/ibe.2.174844" ext-link-type="doi">https://doi.org/10.3897/ibe.2.174844</ext-link></p>
      </sec>
    </notes>
  </front>
  <body>
    <sec sec-type="Introduction" id="sec2">
      <title>Introduction</title>
      <p>Integrating biological theory and empirical observations across different ecological scales is essential as scientists grapple with ecosystem shifts driven by changes in climate (<xref ref-type="bibr" rid="B61">Steffen et al. 2015</xref>; <xref ref-type="bibr" rid="B41">Malhi et al. 2020</xref>), losses in biodiversity (<xref ref-type="bibr" rid="B9">Cardinale 2012</xref>), and environmental stresses (<xref ref-type="bibr" rid="B21">Freedman 2015</xref>; <xref ref-type="bibr" rid="B32">Jackson et al. 2021</xref>). Ecological modeling offers a structured framework for connecting processes across scales—integrating theory with empirical data, testing hypotheses, and generating predictions about ecological responses to change (<xref ref-type="bibr" rid="B20">Evans et al. 2013b</xref>). Individual-based models (also known as agent-based models) are particularly well-suited to linking fine-grained, individual-level mechanisms with emergent patterns at population, community, and ecosystem levels (<xref ref-type="bibr" rid="B23">Grimm and Railsback 2005</xref>; <xref ref-type="bibr" rid="B62">Stillman et al. 2015</xref>). Despite the longstanding promise that individual-based modeling could unify ecological understanding across levels (<xref ref-type="bibr" rid="B31">Huston et al. 1988</xref>; <xref ref-type="bibr" rid="B24">Grimm et al. 2017</xref>), realizing this vision has proven difficult. This gap persists in part because classical demographic models operate at the population level and do not explicitly represent individual variation (<xref ref-type="bibr" rid="B24">Grimm et al. 2017</xref>), whereas mechanistic individual-level models become too complex to scale (<xref ref-type="bibr" rid="B19">Evans et al. 2013a</xref>).</p>
      <p>As a result, ecologists have often built narrowly scoped individual-based models that limit complexity by focusing on a single species or research question (<xref ref-type="bibr" rid="B4">An et al. 2020</xref>). Such specialized models are often <italic>ad hoc</italic> solutions constructed for specific systems, guided by empirical observations and expert domain knowledge (<xref ref-type="bibr" rid="B24">Grimm et al. 2017</xref>). While specialized models provide clarity and precision tailored to specific questions (<xref ref-type="bibr" rid="B17">Edmonds et al. 2019</xref>), their inherent limitations restrict generalizability and adaptability to new contexts, reducing their contribution to broader theory (<xref ref-type="bibr" rid="B49">O’Sullivan et al. 2016</xref>; <xref ref-type="bibr" rid="B37">Lorscheid et al. 2019</xref>). Additionally, the proliferation of specialized models creates inefficiencies and redundancies in research efforts (<xref ref-type="bibr" rid="B4">An et al. 2020</xref>; <xref ref-type="bibr" rid="B42">Manson et al. 2020</xref>), prompting critiques such as the YAAWN syndrome: “Yet Another Agent-Based Model… Whatever… Nevermind…” (<xref ref-type="bibr" rid="B49">O’Sullivan et al. 2016</xref>).</p>
      <p>To address these persistent challenges, we introduce <abbrev xlink:title="Behavior, Ecology, Genetics, Evolution, and Tradeoffs">B3GET</abbrev>, pronounced “bee’get” and standing for Behavior, Ecology, Genetics, Evolution, and Tradeoffs: an individual-based modeling framework designed to balance generality with mechanistic depth by simulating diverse and complex organisms and ecological processes. Drawing from behavioral ecology (<xref ref-type="bibr" rid="B34">Krebs and Davies 1993</xref>), evolutionary game theory (<xref ref-type="bibr" rid="B44">Maynard Smith 1982</xref>; <xref ref-type="bibr" rid="B45">McNamara and Leimar 2020</xref>), optimal foraging theory (<xref ref-type="bibr" rid="B40">MacArthur and Pianka 1966</xref>; <xref ref-type="bibr" rid="B10">Charnov 1976</xref>), life-history theory (<xref ref-type="bibr" rid="B60">Stearns 1989</xref>; <xref ref-type="bibr" rid="B11">Charnov and Berrigan 1993</xref>), resource competition (<xref ref-type="bibr" rid="B8">Brown and Orians 1970</xref>; <xref ref-type="bibr" rid="B75">Wrangham 1979</xref>), and artificial life (<xref ref-type="bibr" rid="B22">Gardner 1970</xref>; <xref ref-type="bibr" rid="B55">Ray 1994</xref>; <xref ref-type="bibr" rid="B29">Holland 1995</xref>), we designed <abbrev xlink:title="Behavior, Ecology, Genetics, Evolution, and Tradeoffs">B3GET</abbrev> to explore the complex interactions that shape social behavior, phenotypic variation, evolutionary dynamics, and other emergent biological patterns. As such, <abbrev xlink:title="Behavior, Ecology, Genetics, Evolution, and Tradeoffs">B3GET</abbrev> can function as a virtual “Petri dish” for <italic>in silico</italic> experiments, enabling controlled studies of behavioral evolution under varying ecological conditions.</p>
      <p><abbrev xlink:title="Behavior, Ecology, Genetics, Evolution, and Tradeoffs">B3GET</abbrev> simulations comprise a population of ANIMAL agents living on a landscape of PLANTS (Fig. <xref ref-type="fig" rid="F1">1</xref>; we distinguish simulated entities from their real-world counterparts using ALL CAPS, following <xref ref-type="bibr" rid="B28">Hogeweg’s (1987)</xref> convention). User-defined controls set PLANT resource quality, spatial distribution, and seasonal cycles, driving the ecological pressures on ANIMALS. ANIMALS are equipped with heritable stimulus–response rules that guide their behaviors, including foraging, mating, fighting, helping, carrying, moving, and developing and maintaining their physiological state. These basic ANIMAL operations give rise to higher-level emergent patterns such as dispersal tendencies, mating strategies, infanticide frequency, degree of sexual dimorphism, home range distribution, intergroup tolerance, and more. ANIMALS must obtain energy from PLANTS, and behaviors incur nonzero energetic costs, enforcing realistic tradeoffs that shape how populations evolve their phenotypic traits and behavioral strategies. <abbrev xlink:title="Behavior, Ecology, Genetics, Evolution, and Tradeoffs">B3GET</abbrev> tracks gene-, individual-, group-, and population-level variables, enabling hypothesis testing across ecological levels.</p>
      <fig id="F1">
        <object-id content-type="doi">10.3897/ibe.2.174844.figure1</object-id>
        <object-id content-type="arpha">1856E745-14C4-58AD-96C3-75D7C187966E</object-id>
        <label>Figure 1.</label>
        <caption>
          <p>Screenshot of a <abbrev xlink:title="Behavior, Ecology, Genetics, Evolution, and Tradeoffs">B3GET</abbrev> simulation at timestep 10,000 (parameters: <bold><italic>plant-annual-cycle</italic></bold> = 1000, <bold><italic>plant-daily-cycle</italic></bold> = 10, <bold><italic>plant-seasonality</italic></bold> = 0.5, <bold><italic>plant-quality</italic></bold> = 5, <bold><italic>plant-minimum-neighbors</italic></bold> = 4, <bold><italic>plant-maximum-neighbors</italic></bold> = 6; population/genotype = CHIMPANZEES). ANIMALS are depicted as triangles (males) and circles (females), with size scaled to body.size, color indicating group.identity, and body.shade darkening with age. Inset circles provide magnified views of individual ANIMAL agents: <bold>A</bold>. An adult female that has died, indicated by the white “X” overlay; <bold>B</bold>. A mother (darker agent) carrying her infant daughter (lighter agent) on her back; <bold>C</bold>. A female with “cycling” fertility.status (i.e., sexual swelling), marked by a red line on her body, with two males fighting nearby, indicated by the white “–” symbol.</p>
        </caption>
        <graphic xlink:href="ibe-02-001_article-174844__-g001.jpg" id="oo_1731431.jpg">
          <uri content-type="original_file">https://binary.pensoft.net/fig/1731431</uri>
        </graphic>
      </fig>
      <p>In this study, we present <abbrev xlink:title="Behavior, Ecology, Genetics, Evolution, and Tradeoffs">B3GET</abbrev> as both a research and teaching tool for simulating diverse animal societies. The model is broadly reusable across species, ecological systems, and behavioral research questions. To showcase its core capabilities, we modify starting conditions and environmental parameters to demonstrate that a wide range of social and ecological outcomes can emerge. We provide concrete examples by modeling four distinct primate species: chimpanzees (<italic><tp:taxon-name><tp:taxon-name-part taxon-name-part-type="genus" reg="Pan">Pan</tp:taxon-name-part> <tp:taxon-name-part taxon-name-part-type="species" reg="troglodytes">troglodytes</tp:taxon-name-part></tp:taxon-name></italic>), geladas (<italic><tp:taxon-name><tp:taxon-name-part taxon-name-part-type="genus" reg="Theropithecus">Theropithecus</tp:taxon-name-part> <tp:taxon-name-part taxon-name-part-type="species" reg="gelada">gelada</tp:taxon-name-part></tp:taxon-name></italic>), hamadryas baboons (<italic><tp:taxon-name><tp:taxon-name-part taxon-name-part-type="genus" reg="Papio">Papio</tp:taxon-name-part> <tp:taxon-name-part taxon-name-part-type="species" reg="hamadryas">hamadryas</tp:taxon-name-part></tp:taxon-name></italic>), and olive baboons (<italic><tp:taxon-name><tp:taxon-name-part taxon-name-part-type="genus" reg="Papio">Papio</tp:taxon-name-part> <tp:taxon-name-part taxon-name-part-type="species" reg="anubis">anubis</tp:taxon-name-part></tp:taxon-name></italic>). We focus on recreating species-typical behavioral patterns in terms of their sex-biased dispersal, mating strategies, and ranging behavior, which vary across these species.</p>
      <p>We report results from 288 simulations in a full factorial design crossing four virtual primate species with 36 combinations of PLANT settings that regulate resource distribution. Each species × PLANT combination was simulated twice to assess stochastic variation among replicate runs. We assess model performance in four ways: (1) demonstrating that <abbrev xlink:title="Behavior, Ecology, Genetics, Evolution, and Tradeoffs">B3GET</abbrev> generates both patchy and homogeneous PLANT environments, (2) evaluating ANIMAL population persistence over generations, (3) analyzing evolutionary change in genotypes and phenotypes, and (4) showing that emergent ANIMAL behaviors reflect key behavioral traits observed in the four target species.</p>
    </sec>
    <sec sec-type="methods" id="sec3">
      <title>Methods</title>
      <p>We designed <abbrev xlink:title="Behavior, Ecology, Genetics, Evolution, and Tradeoffs">B3GET</abbrev> as a hypothesis-testing tool to study how environmental pressures and energy limitations shape behavior, ecology, and evolution in virtual organisms. <abbrev xlink:title="Behavior, Ecology, Genetics, Evolution, and Tradeoffs">B3GET</abbrev> v1.2.0 is implemented in NetLogo 6.2.2 (<xref ref-type="bibr" rid="B71">Wilensky 1999</xref>), a freely available software program for creating and running agent-based models. We first developed <abbrev xlink:title="Behavior, Ecology, Genetics, Evolution, and Tradeoffs">B3GET</abbrev> at the University of Minnesota as a virtual laboratory tool for the course Primate Ecology and Social Behavior and refined it through multiple semesters of classroom use beginning in fall 2014. Students use <abbrev xlink:title="Behavior, Ecology, Genetics, Evolution, and Tradeoffs">B3GET</abbrev> to apply field observation methods to virtual PRIMATES, explore how plant ecology shapes behavior, and track predator–prey interactions. <xref ref-type="bibr" rid="B13">Crouse et al. (2019)</xref> used an earlier version, BEGET, to examine the evolution of stable breeding bonds by evolving diverse male strategies and comparing their reproductive success across simulations with female groups of varying sizes. This study supported the hypothesis that stable breeding bonds evolve in response to small female foraging parties (<xref ref-type="bibr" rid="B39">Lukas and Clutton-Brock 2013</xref>) rather than infanticide risk (<xref ref-type="bibr" rid="B48">Opie et al. 2013</xref>). We subsequently expanded <abbrev xlink:title="Behavior, Ecology, Genetics, Evolution, and Tradeoffs">B3GET</abbrev> to include spatially explicit PLANT dynamics, greater behavioral complexity, and improved usability through interface and file structure enhancements.</p>
      <p>Here, we present results from 288 simulations with varying PLANT and ANIMAL settings. These simulations form part of a larger experiment we called BYTE, which includes additional runs under greatly altered conditions to evaluate <abbrev xlink:title="Behavior, Ecology, Genetics, Evolution, and Tradeoffs">B3GET</abbrev>’s robustness. Because <abbrev xlink:title="Behavior, Ecology, Genetics, Evolution, and Tradeoffs">B3GET</abbrev> contains a large number of editable parameters, state variables, and behavioral rules, the main manuscript focuses only on those settings relevant to the present study. The BYTE Companion Guide (hereafter BYTE; Suppl. material <xref ref-type="supplementary-material" rid="S1">1</xref>), which contains the complete description of <abbrev xlink:title="Behavior, Ecology, Genetics, Evolution, and Tradeoffs">B3GET</abbrev>, ODD protocol (<xref ref-type="bibr" rid="B25">Grimm et al. 2020</xref>), user manual, BYTE experimental design details, dataset documentation, output summary analyses, and validation details. The validation material in BYTE—including runtime verification tests, multi-factor sensitivity checks, face validation using test populations, and detailed focal follows—builds on <xref ref-type="bibr" rid="B14">Crouse et al. (2022)</xref>, which framed model validation as a series of comparisons among elements of the modeling cycle. A companion manuscript to the present study, currently in preparation, further develops this framework by organizing validation around explicit upstream-to-downstream relationships among model components, enabling more standardized evaluation at finer resolution.</p>
      <p>Operations executed by ANIMALS are italicized (e.g., <italic>mate-with</italic>, <italic>move-towards</italic>), state variables are written with periods (e.g., life.stage, body.size), and user-defined parameters appear in <bold><italic>bold italics</italic></bold> (e.g., <bold><italic>plant-seasonality</italic></bold>, <bold><italic>plant-quality</italic></bold>).</p>
      <sec sec-type="Model design" id="sec4">
        <title>Model design</title>
        <p>The <abbrev xlink:title="Behavior, Ecology, Genetics, Evolution, and Tradeoffs">B3GET</abbrev> environment (Fig. <xref ref-type="fig" rid="F1">1</xref>) is a toroidal grid (i.e., individuals exiting one edge of the two-dimensional landscape re-enter from the opposite edge) with 10,000 PLANTS (100 × 100) and an initial population of ANIMALS defined via input files.</p>
        <p>In modeling PLANT dynamics, we took inspiration from Conway’s Game of Life (<xref ref-type="bibr" rid="B22">Gardner 1970</xref>), a model of cellular automata in which cell states change depending on the number of occupied neighboring cells. In <abbrev xlink:title="Behavior, Ecology, Genetics, Evolution, and Tradeoffs">B3GET</abbrev>, PLANTS represent a spatially explicit and dynamically changing resource base rather than specific plant species, with resource availability varying across both space and time. PLANTS grow best within a preferred neighborhood size and at specific times of the year (BYTE: Section 2.7.1, Suppl. material <xref ref-type="supplementary-material" rid="S1">1</xref>: fig. S2). The <bold><italic>plant-minimum-neighbors</italic></bold> and <bold><italic>plant-maximum-neighbors</italic></bold> settings (0–8 neighboring PLANTS) define the lower and upper bounds that promote growth, shaping clustered vs. even landscapes. Seasonal variation in resource availability is controlled by <bold><italic>plant-seasonality</italic></bold> (0–1: low to high), which determines the magnitude of annual fluctuations in PLANT growth, while <bold><italic>plant-annual-cycle</italic></bold> and <bold><italic>plant-daily-cycle</italic></bold> (timesteps per simulated year and day, respectively) determine the lengths of simulated annual and daily cycles. The maximum energy available per PLANT is defined by <bold><italic>plant-quality</italic></bold> (&gt;0). Together, these environmental settings determine the foraging conditions experienced by ANIMALS throughout the simulation.</p>
        <p>Each ANIMAL has a genotype composed of stimulus–response rules called genes that govern behavior and energy use (Fig. <xref ref-type="fig" rid="F2">2</xref>), with strategies subject to mutation and selection over generations (BYTE: Sections 2.3 and 2.7.2). Contingent on available energy, these rules determine which actions an individual performs and how much energy it allocates to them based on the observed states of nearby ANIMALS and PLANTS relative to its own internal state. The cumulative execution of these actions influences an individual’s state variables (e.g., body.size, fertility.status, survival.chance), which together constitute its phenotype. Thus, genotypes influence phenotypes indirectly through their effects on behavior, while phenotypes ultimately determine survival and reproductive success. Simulations are initialized with ANIMAL starting states and genotype configurations specified in external input files, which can be modified to suit the intended purpose of each simulation experiment. Here, we outline the general ANIMAL state variables and actions (full ODD protocol in BYTE: Chapter 2), and in the following section, we describe the specific configurations used in this study (BYTE: Chapter 4).</p>
        <fig id="F2">
          <object-id content-type="doi">10.3897/ibe.2.174844.figure2</object-id>
          <object-id content-type="arpha">68316182-11EE-52FA-A6A6-0C0F8E1D85BC</object-id>
          <label>Figure 2.</label>
          <caption>
            <p>ANIMAL states, actions, and behavioral processes. <bold>A</bold>. Hypothetical ANIMAL agents, a blue male (left) and an orange female (right), shown with representative attributes (i.e., regular text and shapes), typical actions (italic text and arrows), and energy reserves (energy.supply) used to perform those actions (pie chart); <bold>B</bold>. Example timestep from the blue male’s perspective: (1) detect objects in the environment; (2) map stimuli to genotype rules, unlocking responses to perform; and (3) execute those actions given sufficient energy.supply.</p>
          </caption>
          <graphic xlink:href="ibe-02-001_article-174844__-g002.jpg" id="oo_1731432.jpg">
            <uri content-type="original_file">https://binary.pensoft.net/fig/1731432</uri>
          </graphic>
        </fig>
        <p><abbrev xlink:title="Behavior, Ecology, Genetics, Evolution, and Tradeoffs">B3GET</abbrev> operates in discrete timesteps, which represent abstract units of simulation time. Within a timestep, ANIMALS may perform multiple actions (e.g., foraging, mating, fighting, helping, or developmental investments), so a timestep is best interpreted as roughly comparable to one or several hours.</p>
        <p>The fate of each ANIMAL depends on survival.chance, the probability from 0 to 1 of surviving to the next timestep. Although individuals begin life with survival.chance = 1.0, this value continuously declines according to <bold><italic>deterioration-rate</italic></bold> and must be maintained through energetic investment in the <italic>survival-chance</italic> action. The increase in survival.chance is proportional to the amount of energy allocated to this action, creating a tradeoff between survival and competing demands such as growth, reproduction, movement, and social behavior. Consequently, individuals that fail to acquire sufficient energy, or that invest too little in survival maintenance, may experience substantial reductions in survival.chance and die at any life stage.</p>
        <p>All actions require sufficient energy.supply to enact; those with depleted energy are unable to act and may die of starvation. ANIMALS replenish energy by <italic>eating</italic> PLANTS or other ANIMALS, with their bite.capacity setting the upper limit per feeding. ANIMALS may also invest energy to increase their bite.capacity. Thus, in general, an ANIMAL must weigh its needs to maintain its survival against all other activities, which may have immediate payoffs (e.g., <italic>eating</italic> to gain energy now) or delayed payoffs (e.g., growing bite.capacity to gain more energy later).</p>
        <p>Operations such as <italic>eating</italic> require the interacting parties (e.g., ANIMAL and PLANT) to be in close proximity. To change locations, ANIMALS can perform movement operations such as <italic>move-towards</italic> to orient toward nearby objects and <italic>go-forward</italic> to move closer to them. ANIMALS decide which direction to move based on which objects they can detect in their environment. An ANIMAL’s visual.range and visual.angle define its cone of perception, and its ability to see during the day or at night depends on the day.perception and night.perception attributes.</p>
        <p>When two ANIMALS of opposite biological.sex meet, they may <italic>mate-with</italic> each other. Whether mating—or any other interaction—occurs is governed by a negotiation process. Each party may independently invest energy to initiate or inhibit the interaction, and the outcome depends on the relative contributions of the two parties. If mating occurs, the conception probability is the mean of both partners’ conception.chance; the mother’s litter.size sets the number of offspring.</p>
        <p>New agents begin in the “gestatee” life.stage with minimal capabilities. Mothers and offspring use <italic>supply-to</italic> and <italic>demand-from</italic> interactions to transfer energy. Offspring use this energy to increase traits such as body.size, their own conception.chance, or visual.range to nonzero values. Life-stage transitions (e.g., to infant, juvenile, and adult) occur probabilistically (e.g., infancy.chance). Mothers likewise manage offspring development by investing in birthing.chance and weaning.chance with the actions <italic>check-birthing</italic> and <italic>check-weaning</italic>.</p>
        <p>Mothers who conceive begin by holding their gestatees and later infants in their carried.items inventory. All carried.items stay with the carrying ANIMAL as it moves across the landscape, imposing locomotor costs on the carrier (BYTE: Section 2.7.2.3). A mother can <italic>put-down</italic> her offspring to remove it from her carried.items and force it to walk on its own. An infant may reverse this operation by <italic>clinging-to</italic> its mother, which has the effect of putting it back in the carried.items inventory. Likewise, an infant may <italic>squirm-from</italic> its mother, and the mother can <italic>pick-up</italic> her offspring.</p>
        <p>Group dynamics are governed by shared group.identity, which can be updated during <italic>join</italic>, <italic>leave</italic>, <italic>recruit</italic>, and <italic>expel</italic> interactions. Within or between groups, ANIMALS can <italic>attack</italic> or <italic>help</italic> others, negatively or positively affecting the survival.chance of recipients. ANIMALS can assess their degree of relatedness to visible individuals based on inherited identity markers, with individuals having perceived relatedness ≥ 0.25 treated as kin (BYTE: Section 2.4.7).</p>
        <p>During simulations, <abbrev xlink:title="Behavior, Ecology, Genetics, Evolution, and Tradeoffs">B3GET</abbrev> collects data using methods adapted from field studies in animal behavior and ecology (e.g., <xref ref-type="bibr" rid="B2">Altmann 1974</xref>; <xref ref-type="bibr" rid="B3">Amato et al. 2013</xref>), treating virtual agents as study subjects (<xref ref-type="bibr" rid="B78">Zurell et al. 2010</xref>). We recorded scan-sample states of groups every 2,000 timesteps (<xref ref-type="bibr" rid="B3">Amato et al. 2013</xref>) and measures of PLANT phenology every 10,000 timesteps (<xref ref-type="bibr" rid="B65">Tang et al. 2016</xref>). We also computed end-of-run summaries and logged complete life histories at death.</p>
      </sec>
      <sec sec-type="Simulation experiment" id="sec5">
        <title>Simulation experiment</title>
        <p>Our description above presents a general view of ANIMAL behaviors. However, small genotype edits can produce large societal differences. For this study, we constructed ANIMAL populations with differing genotypes to simulate four primate species: CHIMPANZEES, GELADAS, HAMADRYAS, and OLIVES, which we refer to collectively as PRIMATES. We chose these four species because they vary in patterns of sex-biased dispersal, mating systems, and ranging behavior—behavioral differences that we can capture with <abbrev xlink:title="Behavior, Ecology, Genetics, Evolution, and Tradeoffs">B3GET</abbrev> to demonstrate the capacity of the model to emulate a broad range of social behavior. Our objective was not to produce exact simulations of these species, but rather to determine whether a common modeling framework could reproduce the generalized social, ecological, and life-history patterns that distinguish them.</p>
        <p>To construct PRIMATE genotypes, we built on <xref ref-type="bibr" rid="B13">Crouse et al. (2019)</xref> and refined them using field observations, expert consultation, and published empirical literature (BYTE: Section 4.2). Over many rounds of edits, we systematically modified the genotype text files and observed how these changes affected the emergent PRIMATE behaviors in the <abbrev xlink:title="Behavior, Ecology, Genetics, Evolution, and Tradeoffs">B3GET</abbrev> interface. This yielded 112 core genes governing general mammalian functions, including growth, maintenance, mating, gestation, and lactation. To ensure biologically meaningful group structure and selection pressures, all genotypes constrained mating to occur only between non-kin (perceived relatedness &lt; 0.25), thereby preventing mating among parents and offspring, siblings, half-siblings, and other close relatives. In addition, each genotype included ~10 species-specific genes (CHIMPANZEES: 10; GELADAS: 11; HAMADRYAS: 9; OLIVES: 6; BYTE: Section 4.2). This iterative process became more efficient as we reused and adapted genes. For example, the dispersal genes we originally created for GELADA males were later repurposed for OLIVE males. As a result, the genotype development process improved over time: GELADAS took several months, CHIMPANZEES 1 month, HAMADRYAS 2 weeks, and OLIVES 1 week. Species-specific genes were fixed to maintain species identity, whereas core genes could mutate in energy values so that populations could fine-tune their energy-allocation strategies. We summarize below the starting conditions and intended behaviors for each species, as programmed into their genotype.</p>
        <p>Each CHIMPANZEE simulation began with four groups of 11 adult males and 17 adult females, each occupying a separate quadrant of the landscape to reflect territorial communities (<xref ref-type="bibr" rid="B73">Wilson and Wrangham 2003</xref>). We programmed the CHIMPANZEE genotype with rules designed to recreate fission–fusion dynamics (<xref ref-type="bibr" rid="B35">Kummer 1968</xref>; <xref ref-type="bibr" rid="B5">Aureli et al. 2008</xref>), with preferences for male–male cohesion (<xref ref-type="bibr" rid="B76">Wrangham 1999</xref>) and female spacing influenced by feeding competition (<xref ref-type="bibr" rid="B72">Williams et al. 2002</xref>). CHIMPANZEES were the only PRIMATE genotype programmed with territoriality. PLANT cells retain information about which groups have occupied them most recently (BYTE: Section 2.7.3), allowing individuals to distinguish familiar areas from those primarily used by other groups and to avoid the latter. We included movement rules for adult males to patrol territory edges (<xref ref-type="bibr" rid="B46">Mitani 2009</xref>) and modified the default aggression rule so that CHIMPANZEE adult males reduce attacks on adult males who are both group members and close kin, allowing coalition formation (<xref ref-type="bibr" rid="B76">Wrangham 1999</xref>). Individuals are classified as kin when perceived relatedness ≥ 0.25. We also included female dispersal at the juvenile stage (<xref ref-type="bibr" rid="B54">Pusey 1980</xref>), along with red-signal development to simulate sexual swellings and facilitate immigration into new groups (<xref ref-type="bibr" rid="B15">Deschner and Boesch 2007</xref>).</p>
        <p>Each GELADA simulation began with 16 evenly spaced groups of one adult male and five adult females. We programmed rules to recreate their multilevel society, in which reproductive units maintain stable spatial cohesion (<xref ref-type="bibr" rid="B16">Dunbar and Dunbar 1975</xref>; <xref ref-type="bibr" rid="B18">Erskine 2016</xref>) and tend to aggregate into larger herds and bands influenced by female kinship (<xref ref-type="bibr" rid="B58">Snyder-Mackler et al. 2012</xref>). We programmed females to leave their group if too many unrelated females were present (<xref ref-type="bibr" rid="B67">Tinsley Johnson et al. 2014</xref>), promoting group fission and the formation of smaller units (<xref ref-type="bibr" rid="B36">Le Roux et al. 2011</xref>). We programmed juvenile males to disperse from their natal group at the end of development (<xref ref-type="bibr" rid="B7">Beehner et al. 2009</xref>; Snyder‐Mackler et al. 2014), after which they could form bachelor groups with other solitary males (<xref ref-type="bibr" rid="B33">Kawai et al. 1983</xref>; <xref ref-type="bibr" rid="B51">Pappano et al. 2012</xref>). Solitary males maintained proximity to one another while avoiding aggression (<xref ref-type="bibr" rid="B51">Pappano et al. 2012</xref>), as modeled by reduced attack tendencies toward other solitary males. These males sought access to females through takeover attempts on reproductive units, joining groups with sufficient numbers of unrelated females (<xref ref-type="bibr" rid="B16">Dunbar and Dunbar 1975</xref>; <xref ref-type="bibr" rid="B6">Beehner and Bergman 2008</xref>). Meanwhile, resident males resisted by moving toward encroaching bachelors and attempting to prevent them from joining their groups.</p>
        <p>Each HAMADRYAS simulation began with 16 groups of one adult male and three adult females, arranged into two spatial clusters of eight groups each. We programmed males to form reproductive units by forcibly recruiting females from other groups (<xref ref-type="bibr" rid="B64">Swedell et al. 2011</xref>). These actions could lead to conflicts between males, and if a male became too injured, he left his group and fled. We programmed unit cohesion to reflect male coercion (<xref ref-type="bibr" rid="B35">Kummer 1968</xref>; <xref ref-type="bibr" rid="B63">Swedell and Schreier 2009</xref>), with each agent moving toward other adult group members. Male–female bonds were maintained by rules preventing females from leaving their leader male (<xref ref-type="bibr" rid="B35">Kummer 1968</xref>; <xref ref-type="bibr" rid="B1">Abegglen 1984</xref>), provided he was alive. In contrast to female-philopatric species, females were not bonded to each other, and unit dissolution occurred if the leader male was removed (<xref ref-type="bibr" rid="B63">Swedell and Schreier 2009</xref>; <xref ref-type="bibr" rid="B64">Swedell et al. 2011</xref>). We programmed juvenile males to disperse from their natal units and seek proximity to related males in other groups, modeling kin-based male associations (<xref ref-type="bibr" rid="B1">Abegglen 1984</xref>; <xref ref-type="bibr" rid="B52">Phillips-Conroy et al. 1992</xref>) and multilevel aggregations (<xref ref-type="bibr" rid="B57">Schreier and Swedell 2009</xref>). Reproductive groups can also include additional “follower” males (<xref ref-type="bibr" rid="B53">Pines et al. 2011</xref>), modeled with a gene enabling leader males to recruit other males as well as females. We initially set the gene value to 0 (i.e., males did not recruit any followers) and allowed this gene to mutate over generations, enabling the emergence of follower males, should this strategy prove advantageous.</p>
        <p>Each OLIVE simulation began with four groups of four adult males and 12 adult females, each clustered in a separate quadrant of the virtual environment. To recreate stable within-group cohesion (<xref ref-type="bibr" rid="B26">Harel et al. 2021</xref>), we programmed individuals to move toward other adults in their own group. We also modeled intergroup avoidance by programming OLIVES to move away from adults belonging to other groups, based on patterns documented in phenotypically and behaviorally similar species of yellow baboons (<xref ref-type="bibr" rid="B43">Markham et al. 2013</xref>). Males dispersed during the juvenile stage and preferred joining new groups with unrelated females (<xref ref-type="bibr" rid="B50">Packer 1979</xref>). We also modeled secondary dispersals such that males were more likely to leave their current group if many females were close kin and more likely to stay if surrounded by unrelated females.</p>
        <p>We seeded simulations with one of the four PRIMATES and set PLANT parameters to the values used during model development and genotype construction (<bold><italic>plant-quality</italic></bold> = 4, <bold><italic>plant-seasonality</italic></bold> = 0.5, <bold><italic>plant-annual-cycle</italic></bold> = 1000, <bold><italic>plant-daily-cycle</italic></bold> = 10, and <bold><italic>deterioration-rate</italic></bold> = 0.1), ensuring a hospitable environment for PRIMATE persistence. We varied <bold><italic>plant-minimum-neighbors</italic></bold> (0–7) and <bold><italic>plant-maximum-neighbors</italic></bold> (1–8) at integer intervals. Each run lasted 100,000 timesteps (~5 adult lifespans). These 288 simulations (4 PRIMATES × 36 PLANT configurations × 2 replicates [Run A and Run B]) form this study’s baseline. Although these four primate species occupy different habitats in nature, we exposed each genotype to the full range of simulated PLANT configurations, allowing us to assess which genotypes persisted or flourished under different habitat conditions.</p>
        <p>We assessed model performance in four ways: (1) whether <abbrev xlink:title="Behavior, Ecology, Genetics, Evolution, and Tradeoffs">B3GET</abbrev> generated both patchy and homogeneous PLANT environments, (2) whether ANIMAL populations could persist across generations under some conditions, (3) whether genotypes and phenotypes could evolve over time, and (4) whether emergent ANIMAL behaviors reflected known dispersal patterns, mating strategies, and ranging behaviors of the target species.</p>
        <p>To evaluate PLANT ecology, we recorded total PLANT energy abundance at regular intervals by summing the energy.supply values of all PLANTS in the simulation. We also quantified patchiness by dividing the landscape into 10 × 10-cell windows—approximating the maximum ANIMAL visual.range—and calculating the variance-to-mean ratio of PLANT energy abundance across these windows. We also captured aerial snapshots every 10,000 timesteps to visually track PLANT dynamics, with green color shading denoting energy.supply levels.</p>
        <p>To assess ANIMAL persistence, we recorded population size every 250 timesteps through timestep 100,000 and tracked generational change by assigning each new offspring a generation.number one higher than its mother. A population was considered persistent if individuals were still present at timestep 100,000 and new generations continued to be produced. To assess ANIMAL evolution, we logged mean phenotype values (e.g., bite.capacity, gestation duration) and corresponding mean gene values by generation. We identified evolutionary change as population-level shifts in these values across generations. As a measure of reproductive success, we tallied lifetime conceptions per individual.</p>
        <p>To evaluate how well emergent species-specific behavioral patterns were recreated, we assessed three behavioral axes: dispersal, mating, and home range fidelity. For dispersal, we tracked all individuals throughout life, recording their sex, whether they left their natal group, whether they joined a new group, and how often they transferred. For mating strategies, we tracked group demography over time and recorded the number of unique mating partners per individual of both sexes. To obtain detailed mating histories, <abbrev xlink:title="Behavior, Ecology, Genetics, Evolution, and Tradeoffs">B3GET</abbrev> randomly selected individuals as focal subjects, tracking every action and state from conception to death. We constructed “field notes” from these data (BYTE: Section 7.3), including when and with whom the individual mated. For ranging behavior, we reviewed aerial snapshots taken at regular intervals and color-coded home ranges based on group identity. A group’s home range is the set of PLANTS occupied by that group more frequently than by any other group in the recent past (BYTE: Section 2.7.3), reflecting accumulated and continually shifting familiar vs. unfamiliar areas. We quantified home range fidelity by counting how many individuals were inside vs. outside their own group’s home range when the simulation concluded at timestep 100,000.</p>
      </sec>
    </sec>
    <sec sec-type="Results" id="sec6">
      <title>Results</title>
      <p>We ran the 288 baseline simulations at the Minnesota Supercomputing Institute from 22 July 2021, 4:07 p.m. to 28 July 2021, 12:20 a.m. All simulations reached timestep 100,000 without crashing, producing 370,199 ANIMALS with complete life histories (conceived after the start and deceased before the end).</p>
      <sec sec-type="PLANT ecology" id="sec7">
        <title>PLANT ecology</title>
        <p>PLANT abundance and patchiness varied widely across simulations (BYTE: Section 6.1). Mean energy.supply per cell ranged from 0.7 to 3.3 (median = 1.2), while patchiness values ranged from 0.6 to 160 (median = 10). Higher values of <bold><italic>plant-minimum-neighbors</italic></bold> and <bold><italic>plant-maximum-neighbors</italic></bold> generated discrete PLANT energy patches (Fig. <xref ref-type="fig" rid="F3">3</xref>; BYTE: Section 6.3), whereas lower values for either parameter produced more homogeneous distributions. Unexpected maze-like PLANT patterns emerged when <bold><italic>plant-maximum-neighbors</italic></bold> was low (BYTE: Section 6.3). Temporal trends confirmed that these spatial differences persisted throughout the 100,000-timestep runs (Fig. <xref ref-type="fig" rid="F4">4</xref>). CHIMPANZEE home-range boundaries closely followed the spatial distribution of PLANT energy, and elevated PLANT energy frequently formed along those boundaries (Fig. <xref ref-type="fig" rid="F3">3</xref>).</p>
        <fig id="F3">
          <object-id content-type="doi">10.3897/ibe.2.174844.figure3</object-id>
          <object-id content-type="arpha">1AF4CB42-DAF6-5E20-8C73-336B2D1897CB</object-id>
          <label>Figure 3.</label>
          <caption>
            <p>Spatial outcomes of PLANT ecology and CHIMPANZEE ranging behavior at timestep 100,000 for baseline simulations (Run A only). The matrix is symmetrical across the diagonal, with each simulation represented by two small panels that correspond to a distinct pair of <bold><italic>plant-minimum-neighbors</italic></bold> (<italic>x</italic>-axis, 0–7) and <bold><italic>plant-maximum-neighbors</italic></bold> (<italic>y</italic>-axis, 1–8) settings. Upper-left panels display PLANT energy distributions, with darker green indicating higher energy and lighter green indicating lower energy. Lower-right panels show color-coded home ranges of the four CHIMPANZEE communities (blue, green, yellow, and orange). See BYTE: Section 6.3 for all baseline PRIMATE spatial outcomes.</p>
          </caption>
          <graphic xlink:href="ibe-02-001_article-174844__-g003.jpg" id="oo_1731433.jpg">
            <uri content-type="original_file">https://binary.pensoft.net/fig/1731433</uri>
          </graphic>
        </fig>
        <fig id="F4">
          <object-id content-type="doi">10.3897/ibe.2.174844.figure4</object-id>
          <object-id content-type="arpha">FA387BE9-75C8-5FB8-94C9-F850295F7901</object-id>
          <label>Figure 4.</label>
          <caption>
            <p>Temporal dynamics of PLANT ecology and populations across 100,000 timesteps in baseline CHIMPANZEE simulations. Each small panel presents data from two simulations (Run A, darker lines; Run B, lighter lines) with the same <bold><italic>plant-minimum-neighbors</italic></bold> (<italic>x</italic>-axis, 0–7) and <bold><italic>plant-maximum-neighbors</italic></bold> (<italic>y</italic>-axis, 1–8) settings. Lines show four tracked variables: PLANT abundance (green) and population size (orange) in panels above the diagonal, and PLANT patchiness (blue) and mean generation number (red) in panels below the diagonal. Axis scales vary among variables and are illustrated in the reference key at the top. See BYTE: Section 6.1 for all simulation outcomes.</p>
          </caption>
          <graphic xlink:href="ibe-02-001_article-174844__-g004.jpg" id="oo_1731434.jpg">
            <uri content-type="original_file">https://binary.pensoft.net/fig/1731434</uri>
          </graphic>
        </fig>
      </sec>
      <sec sec-type="ANIMAL persistence" id="sec8">
        <title>ANIMAL persistence</title>
        <p>Across the 288 baseline simulations, 204 populations (83.6%) persisted for the full 100,000 timesteps (Table <xref ref-type="table" rid="T1">1</xref>). OLIVE populations showed the highest extinction rate (21 of 72 runs; 29.2%), followed by CHIMPANZEES (12.5%), GELADAS (8.3%), and HAMADRYAS (5.6%). HAMADRYAS populations increased in size on average (Table <xref ref-type="table" rid="T1">1</xref>), whereas the other species maintained population sizes that fluctuated without collapsing over the duration of the simulation (Fig. <xref ref-type="fig" rid="F4">4</xref>). OLIVES lost nearly half their groups by the end of the simulations, whereas the other species retained group numbers close to their starting values. Consistent increases in mean generation number over time (Fig. <xref ref-type="fig" rid="F4">4</xref>) indicate sustained generational turnover in persisting populations, rather than persistence driven by long-lived individuals.</p>
        <table-wrap id="T1" position="float" orientation="portrait">
          <label>Table 1.</label>
          <caption>
            <p>Measurements of simulated PRIMATE populations at timestep 100,000.</p>
          </caption>
          <table>
            <tbody>
              <tr>
                <th rowspan="1" colspan="1"/>
                <th rowspan="1" colspan="1">
                  <bold>CHIMPANZEES</bold>
                </th>
                <th rowspan="1" colspan="1">
                  <bold>GELADAS</bold>
                </th>
                <th rowspan="1" colspan="1">
                  <bold>HAMADRYAS</bold>
                </th>
                <th rowspan="1" colspan="1">
                  <bold>OLIVES</bold>
                </th>
              </tr>
              <tr>
                <td rowspan="1" colspan="5">
                  <bold>Persistence to timestep 100,000</bold>
                </td>
              </tr>
              <tr>
                <td rowspan="1" colspan="1">Total simulated individuals</td>
                <td rowspan="1" colspan="1">123,354</td>
                <td rowspan="1" colspan="1">86,119</td>
                <td rowspan="1" colspan="1">121,362</td>
                <td rowspan="1" colspan="1">39,364</td>
              </tr>
              <tr>
                <td rowspan="1" colspan="1">Populations that persisted</td>
                <td rowspan="1" colspan="1">63/72 (87.5%)</td>
                <td rowspan="1" colspan="1">66/72 (91.6%)</td>
                <td rowspan="1" colspan="1">68/72 (94.4%)</td>
                <td rowspan="1" colspan="1">51/72 (70.8%)</td>
              </tr>
              <tr>
                <td rowspan="1" colspan="1">Population size at timestep 0</td>
                <td rowspan="1" colspan="1">112</td>
                <td rowspan="1" colspan="1">96</td>
                <td rowspan="1" colspan="1">64</td>
                <td rowspan="1" colspan="1">64</td>
              </tr>
              <tr>
                <td rowspan="1" colspan="1">Population size at timestep 100,000 (mean ± SD)</td>
                <td rowspan="1" colspan="1">114 ± 94</td>
                <td rowspan="1" colspan="1">86 ± 60</td>
                <td rowspan="1" colspan="1">157 ± 77</td>
                <td rowspan="1" colspan="1">55 ± 69</td>
              </tr>
              <tr>
                <td rowspan="1" colspan="1">Generations transpired (mean ± SD)</td>
                <td rowspan="1" colspan="1">8.79 ± 1.21</td>
                <td rowspan="1" colspan="1">6.25 ± 0.66</td>
                <td rowspan="1" colspan="1">8.23 ± 0.95</td>
                <td rowspan="1" colspan="1">5.92 ± 1.57</td>
              </tr>
              <tr>
                <td rowspan="1" colspan="1">
                  <bold>Dispersal patterns*</bold>
                </td>
                <td rowspan="1" colspan="1">Female dispersal; Male philopatry</td>
                <td rowspan="1" colspan="1">Female philopatry; Male dispersal</td>
                <td rowspan="1" colspan="1">Female dispersal; Male dispersal</td>
                <td rowspan="1" colspan="1">Female philopatry; Male dispersal</td>
              </tr>
              <tr>
                <td rowspan="1" colspan="1">Female lifetime group transfers (mean ± SD)</td>
                <td rowspan="1" colspan="1">0.834 ± 0.536</td>
                <td rowspan="1" colspan="1">0</td>
                <td rowspan="1" colspan="1">3.40 ± 3.90</td>
                <td rowspan="1" colspan="1">0</td>
              </tr>
              <tr>
                <td rowspan="1" colspan="1">Male lifetime group transfers (mean ± SD)</td>
                <td rowspan="1" colspan="1">0</td>
                <td rowspan="1" colspan="1">25.7 ± 118</td>
                <td rowspan="1" colspan="1">1.23 ± 9.44</td>
                <td rowspan="1" colspan="1">1.28 ± 9.46</td>
              </tr>
              <tr>
                <td rowspan="1" colspan="1">
                  <bold>Mating strategies*</bold>
                </td>
                <td rowspan="1" colspan="1">Polygynandrous</td>
                <td rowspan="1" colspan="1">Polygynous</td>
                <td rowspan="1" colspan="1">Polygynous</td>
                <td rowspan="1" colspan="1">Polygynandrous</td>
              </tr>
              <tr>
                <td rowspan="1" colspan="1">Group size at timestep 100,000 (mean ± SD)</td>
                <td rowspan="1" colspan="1">43.2 ± 26.2</td>
                <td rowspan="1" colspan="1">4.80 ± 3.60</td>
                <td rowspan="1" colspan="1">3.50 ± 2.80</td>
                <td rowspan="1" colspan="1">13.3 ± 9.90</td>
              </tr>
              <tr>
                <td rowspan="1" colspan="1">Female lifetime unique mating partners (mean ± SD)</td>
                <td rowspan="1" colspan="1">2.08 ± 2.19</td>
                <td rowspan="1" colspan="1">1.38 ± 1.21</td>
                <td rowspan="1" colspan="1">1.77 ± 1.73</td>
                <td rowspan="1" colspan="1">1.35 ± 1.07</td>
              </tr>
              <tr>
                <td rowspan="1" colspan="1">Male lifetime unique mating partners (mean ± SD)</td>
                <td rowspan="1" colspan="1">2.08 ± 2.32</td>
                <td rowspan="1" colspan="1">1.60 ± 1.84</td>
                <td rowspan="1" colspan="1">2.11 ± 2.38</td>
                <td rowspan="1" colspan="1">1.68 ± 3.22</td>
              </tr>
              <tr>
                <td rowspan="1" colspan="1">
                  <bold>Home range characteristics*</bold>
                </td>
                <td rowspan="1" colspan="1">Territorial</td>
                <td rowspan="1" colspan="1">Non-territorial</td>
                <td rowspan="1" colspan="1">Non-territorial</td>
                <td rowspan="1" colspan="1">Non-territorial</td>
              </tr>
              <tr>
                <td rowspan="1" colspan="1">Number of groups at timestep 0</td>
                <td rowspan="1" colspan="1">4</td>
                <td rowspan="1" colspan="1">16</td>
                <td rowspan="1" colspan="1">16</td>
                <td rowspan="1" colspan="1">4</td>
              </tr>
              <tr>
                <td rowspan="1" colspan="1">Number of groups at timestep 100,000 (mean ± SD)</td>
                <td rowspan="1" colspan="1">3.15 ± 1.43</td>
                <td rowspan="1" colspan="1">13.19 ± 8.53</td>
                <td rowspan="1" colspan="1">26.1 ± 13.3</td>
                <td rowspan="1" colspan="1">1.61 ± 1.49</td>
              </tr>
              <tr>
                <td rowspan="1" colspan="1">Range fidelity (% within home range at timestep 100,000)</td>
                <td rowspan="1" colspan="1">91.3%</td>
                <td rowspan="1" colspan="1">40.0%</td>
                <td rowspan="1" colspan="1">36.1%</td>
                <td rowspan="1" colspan="1">44.8%</td>
              </tr>
              <tr>
                <td rowspan="1" colspan="1">Spatial boundaries (visual assessment: see Fig. <xref ref-type="fig" rid="F3">3</xref>, BYTE: Section 6.3)</td>
                <td rowspan="1" colspan="1">Strict boundaries</td>
                <td rowspan="1" colspan="1">Overlap</td>
                <td rowspan="1" colspan="1">Overlap</td>
                <td rowspan="1" colspan="1">Overlap</td>
              </tr>
            </tbody>
          </table>
          <table-wrap-foot>
            <fn>
              <p>Qualitative behavioral descriptors* (e.g., dispersal patterns, mating strategies, and home-range characteristics) represent <italic>a priori</italic> expectations based on empirical knowledge of each target species and are used here as reference categories for evaluating whether simulated populations reproduce those species-typical patterns.</p>
            </fn>
          </table-wrap-foot>
        </table-wrap>
        <p>Time-series records for PLANT abundance (green), patchiness (blue), and ANIMAL population size (orange) show that population persistence was tightly linked to PLANT resource stability (Fig. <xref ref-type="fig" rid="F4">4</xref>; BYTE: Section 6.1). Populations declined or went extinct when mean PLANT abundance fell below ≈ 1.5 energy units per cell and patchiness exceeded ≈ 20. When abundance exceeded ≈ 2.0 and patchiness remained &lt; 10, populations reached 150–250 individuals or more. All four species exhibited this relationship: stable, homogeneous landscapes supported sustained or expanding populations, whereas highly patchy environments coincided with collapse.</p>
      </sec>
      <sec sec-type="ANIMAL evolution" id="sec9">
        <title>ANIMAL evolution</title>
        <p>We illustrate evolutionary change using two arbitrarily chosen simulation case studies to demonstrate that <abbrev xlink:title="Behavior, Ecology, Genetics, Evolution, and Tradeoffs">B3GET</abbrev> can generate both evolutionary change and evolutionary stasis (Fig. <xref ref-type="fig" rid="F5">5</xref>). The first example focuses on a morphological trait (bite.capacity), and the second on a life-history trait (gestation duration). We defined “ancestral” and “descendant” individuals by dividing the sample at the median generation number within each simulation.</p>
        <fig id="F5">
          <object-id content-type="doi">10.3897/ibe.2.174844.figure5</object-id>
          <object-id content-type="arpha">9D6BDC32-AF86-55C3-8B94-7C9BF5D21D1D</object-id>
          <label>Figure 5.</label>
          <caption>
            <p>Evolution of selected traits in <abbrev xlink:title="Behavior, Ecology, Genetics, Evolution, and Tradeoffs">B3GET</abbrev> simulations. <bold>A</bold>. bite.capacity in simulation sAC47A; <bold>B</bold>. Gestation duration in sAG38A. (i) temporal change in the population mean of the gene(s) controlling each trait; (ii) trait distributions in the ancestral (earlier generations) and descendant (later generations) populations; (iii) reproductive outcomes of the trait measured as lifetime conceptions achieved per individual. In panels showing ancestral (red) and descendant (blue) distributions, purple regions indicate overlap between the two distributions.</p>
          </caption>
          <graphic xlink:href="ibe-02-001_article-174844__-g005.jpg" id="oo_1731435.jpg">
            <uri content-type="original_file">https://binary.pensoft.net/fig/1731435</uri>
          </graphic>
        </fig>
      </sec>
      <sec sec-type="Adult bite.capacity (simulation sAC47A)" id="sec10">
        <title>Adult bite.capacity (simulation sAC47A)</title>
        <p>All four PRIMATE genotypes include a single gene that grows bite.capacity each timestep during gestation. This gene was initialized at 0.001, meaning that both inherited chromosomes initially contributed 0.001 energy units per timestep toward increasing bite.capacity. In sAC47A, a CHIMPANZEE simulation, the population mean value of this gene rose gradually to 0.014 by timestep 100,000 (Fig. <xref ref-type="fig" rid="F5">5A</xref>(i)). At the phenotype level, adult bite.capacity increased between the “ancestral” (generation.number &lt; 4) and “descendant” (generation.number &gt; 4) subsets: 0.2384 ± 0.1598 vs. 0.3752 ± 0.3050 (mean ± SD), a statistically significant difference (<italic>t</italic> = 11.175, df = 1267.6, <italic>p</italic> &lt; 0.0001, CI [<named-content content-type="dwc:verbatimCoordinates">0.1127752, 0.1608047</named-content>]) (Fig. <xref ref-type="fig" rid="F5">5A</xref>(ii)). Reproductive outcomes for adult bite.capacity (binned to the nearest tenth) show that most conceptions were achieved by individuals with bite.capacity 0.2–0.5 (<italic>n</italic> = 3,727; 88%), with many of the remaining conceptions from individuals at bite.capacity = 1.0 (<italic>n</italic> = 407; 9.6%) (Fig. <xref ref-type="fig" rid="F5">5A</xref>(iii)).</p>
      </sec>
      <sec sec-type="Gestation duration (simulation sAG38A)" id="sec11">
        <title>Gestation duration (simulation sAG38A)</title>
        <p>Gestation timing can be influenced by three genes present in all PRIMATE genotypes: a female gestatee development gene, a male gestatee development gene, and a maternal investment in birth gene. Each started at 0.0005, so mothers and gestatees initially invested equally in triggering birth. In sAG38A (Fig. <xref ref-type="fig" rid="F5">5B</xref>(i)), a GELADA simulation, the female gestatee gene remained relatively stable (0.00097 at timestep 100,000); the male gestatee gene was stable for most of the run and then declined late to 1.0E-4; the maternal gene dropped toward zero early (mean = –5.2E-4 at timestep 50,000) and remained near zero by the end (mean = 0.00015 at timestep 100,000). Thus, the male-gestatee and maternal genes evolved lower investment in triggering birth, tending to lengthen gestation. At the phenotype level, however, the distribution of gestation durations did not differ significantly between “ancestral” (generation.number &lt; 3: 548.8613 ± 152.1546 timesteps) and “descendant” (generation.number &gt; 3: 566.4499 ± 170.2555 timesteps) subsets (<italic>t</italic> = 1.5368, df = 697.77, <italic>p</italic> = 0.1248, CI [–<named-content content-type="dwc:verbatimCoordinates">4.882257, 40.059403</named-content>]) (Fig. <xref ref-type="fig" rid="F5">5B</xref>(ii)). Reproductive outcomes for gestation duration (binned to the nearest hundred) were concentrated between 500 and 700 timesteps (<italic>n</italic> = 1,332; 66.6% of conceptions), with fewer conceptions as durations deviated from this range (Fig. <xref ref-type="fig" rid="F5">5B</xref>(iii)).</p>
      </sec>
      <sec sec-type="PRIMATE behavior" id="sec12">
        <title>PRIMATE behavior</title>
        <p>We evaluate how well <abbrev xlink:title="Behavior, Ecology, Genetics, Evolution, and Tradeoffs">B3GET</abbrev> reproduced species-specific behavioral patterns by comparing simulated PRIMATE populations to empirical observations along three behavioral axes: dispersal, mating, and home-range fidelity (Table <xref ref-type="table" rid="T1">1</xref>). Together, these measures capture major differences in social organization among the study species. CHIMPANZEES exhibited female-biased dispersal and strong home-range fidelity. GELADAS and OLIVES both showed female philopatry and male dispersal, but GELADAS formed many small groups, whereas OLIVES formed fewer, larger groups. HAMADRYAS exhibited dispersal by both sexes and frequent female transfers between groups, driven by males recruiting them.</p>
      </sec>
      <sec sec-type="CHIMPANZEES" id="sec13">
        <title>CHIMPANZEES</title>
        <p>Male CHIMPANZEES were strictly philopatric, while nearly all females (≈ 99.5%) dispersed from their natal groups upon reaching adulthood. However, dispersal success was variable: only approximately half of dispersing females (48.0%) joined a new group, mirroring patterns observed at Gombe (<xref ref-type="bibr" rid="B69">Walker and Pusey 2020</xref>) and Ngogo (<xref ref-type="bibr" rid="B70">White et al. 2024</xref>), whereas 41.6% ultimately rejoined their natal group, and 10.4% never found another group before dying. Dispersal was costly; 56.7% of juvenile females that died did so after leaving their natal group but before joining a new one, suggesting mortality during transit. Qualitatively, these observations are consistent with the female-biased dispersal pattern characteristic of wild chimpanzees (Table <xref ref-type="table" rid="T1">1</xref>).</p>
        <p>CHIMPANZEE communities were the largest among the four PRIMATES (mean = 43.2 ± 26.2 individuals at timestep 100,000; Table <xref ref-type="table" rid="T1">1</xref>), with group sizes reaching up to 149 individuals. Groups generally contained more adult males (21.6 ± 11.8) than adult females (9.5 ± 6.3), and both sexes averaged more than two unique mating partners. Simulated populations thus had a substantially more male-biased sex ratio than is observed in wild chimpanzees (median = 8.2 males, 14.4 females; <italic>N</italic> = 18 communities; <xref ref-type="bibr" rid="B74">Wilson et al. 2014</xref>).</p>
        <p>CHIMPANZEES exhibited high range fidelity: 91.3% of individuals were observed within their home range at timestep 100,000 (Table <xref ref-type="table" rid="T1">1</xref>). Focal follow data (BYTE: Section 7.3) confirm that individuals avoided crossing group boundaries, a pattern also visible in aerial views of the simulation showing distinct home ranges (Fig. <xref ref-type="fig" rid="F3">3</xref>). The home-range area varied from ≈ 500 to 6000 cells—over half the 10,000-cell landscape—and correlated strongly with group size (<italic>R</italic><sup>2</sup> = 0.703).</p>
      </sec>
      <sec sec-type="GELADAS" id="sec14">
        <title>GELADAS</title>
        <p>Female GELADAS were largely philopatric, with 78.0% of adult females remaining in their natal group throughout life, consistent with the strong female philopatry reported in wild geladas (Table <xref ref-type="table" rid="T1">1</xref>). Approximately one-fifth (22.0%) dispersed to form new groups consisting of themselves, one or more adult males that later joined, and their offspring. Female philopatry, combined with females forming new groups with their offspring, generated high within-group female relatedness (<italic>r</italic> = 0.38 ± 0.137).</p>
        <p>Most adult males (84.3%) dispersed from their natal groups and successfully joined new ones upon reaching maturity, transferring a mean of ≈ 25 times (Table <xref ref-type="table" rid="T1">1</xref>). Only 7.2% of adult males remained in their natal group, and that strategy was unfavorable—just 4.2% conceived offspring, compared to 86.3% among dispersing males, likely because natal groups consisted primarily of close female kin and thus offered few mating opportunities.</p>
        <p>GELADA groups averaged 1.3 ± 1.2 adult males and 2.2 ± 1.5 adult females but ranged widely (0–16 males, 0–18 females). Approximately 41.7% of groups contained a single male, 33.3% included multiple males, and 25.0% lacked an adult male entirely. Although real gelada societies include leader and follower males, this distinction was not encoded separately here; nevertheless, focal observations revealed multiple sires within some groups.</p>
        <p>At timestep 100,000, GELADA populations averaged 13.19 ± 8.53 groups (Table <xref ref-type="table" rid="T1">1</xref>). Their low range fidelity (36.1% within home range) and aerial maps (BYTE: Section 6.3) indicate that groups lacked fixed boundaries and moved in loose, shifting clusters, consistent with the fluid, multilevel social organization characteristic of geladas.</p>
      </sec>
      <sec sec-type="HAMADRYAS" id="sec15">
        <title>HAMADRYAS</title>
        <p>In HAMADRYAS, both sexes commonly dispersed from their natal group upon maturity, consistent with dispersal patterns reported for wild hamadryas baboons (Table <xref ref-type="table" rid="T1">1</xref>). Among adult females, 92.6% left their natal groups to join a recruiting male. The few that stayed experienced major fitness costs—only 36.9% conceived offspring vs. 96.8% of transferred females—likely because natal groups included their fathers. Females changed groups frequently, residing in a median of 12 groups over their lifetimes (range 0–326).</p>
        <p>Of adult males, 71.8% established new groups, 27.2% joined an existing group, and 0.9% rejoined their natal group. The initial HAMADRYAS genotype included a gene enabling adult males to recruit solitary males nearby. This gene began at zero energy allocation (inactive) but mutated to positive values in most runs: 67 of 72 simulations evolved follower males, confirmed by focal follow observations (BYTE: Section 7.3) and nonzero recruitment gene values by simulation end.</p>
        <p>HAMADRYAS populations averaged 26.06 ± 13.32 groups comprising 1.3 ± 1.4 adult males and 1.1 ± 1.0 adult females (Table <xref ref-type="table" rid="T1">1</xref>). The mean group size (3.5 individuals) was lower than the ≈ 5.5 observed in the wild (<xref ref-type="bibr" rid="B56">Schreier and Swedell 2012</xref>) but varied widely—from solitary pairs to groups exceeding 100 individuals. Groups typically persisted for shorter durations than the adult male’s lifespan, expanding mid-tenure when several females were present. Focal follows revealed high female turnover, with some males mating with 10 or more partners over a lifetime.</p>
        <p>Group composition was highly variable (up to 38 adult males and 19 adult females). More than half of all groups (53.5%) contained a single adult female, 23.7% contained multiple females, and 22.8% contained none. HAMADRYAS groups showed no spatial fidelity; they roamed freely and altered the surrounding vegetation more than any other PRIMATE (BYTE: Section 6.3). Simulations that produced patchy PLANT distributions for other species (e.g., sAC46A, sAG46A, and sAO46A) became more homogeneous under HAMADRYAS (e.g., sAH46A), suggesting that their higher population stability may have modulated the PLANT landscape.</p>
      </sec>
      <sec sec-type="OLIVES" id="sec16">
        <title>OLIVES</title>
        <p>In OLIVE populations, females were strictly philopatric and never dispersed, while all males dispersed upon adulthood, reproducing the sex-biased dispersal pattern characteristic of olive baboons (Table <xref ref-type="table" rid="T1">1</xref>). Most (69.2%) dispersed males died before successfully joining a new group, likely contributing to their species’ relatively low survival rates. Compared with GELADA males—84.3% of whom successfully transferred—only 27.7% of OLIVE males joined one of the three other groups in a simulation. Consequently, OLIVE groups tended toward female-biased, polygynous structures (mean = 2.0 ± 2.5 adult males; 7.9 ± 4.6 adult females per group).</p>
        <p>A small fraction (3.7%) of OLIVE males returned to their natal group; these males achieved 83.1% of conceptions in their group vs. 88.6% among males that transferred elsewhere, indicating minimal fitness difference. As in GELADAS, female philopatry produced elevated within-group relatedness (<italic>r</italic> = 0.244 ± 0.085 among adult females vs. <italic>r</italic> = 0.139 ± 0.085 among adult males). OLIVE groups, comparable to GELADAS, HAMADRYAS, and their real-world counterparts, exhibited overlapping ranges rather than discrete boundaries (BYTE: Section 6.3).</p>
      </sec>
    </sec>
    <sec sec-type="Discussion" id="sec17">
      <title>Discussion</title>
      <p><abbrev xlink:title="Behavior, Ecology, Genetics, Evolution, and Tradeoffs">B3GET</abbrev> successfully reproduced key ecological, evolutionary, and behavioral patterns across biological scales. The model met all four evaluation goals: it generated both homogeneous and patchy PLANT environments, sustained realistic ANIMAL population dynamics over long timescales, produced measurable evolutionary change in heritable traits, and simulated species-typical dispersal, mating, and ranging behaviors across multiple primate species. These PRIMATES also experienced full life histories: beginning from a zero state and requiring energy to develop to adulthood, reproduce, and eventually die. Together, these results demonstrate that <abbrev xlink:title="Behavior, Ecology, Genetics, Evolution, and Tradeoffs">B3GET</abbrev> provides a general yet mechanistically detailed framework capable of modeling diverse animal taxa and linking individual decision rules to emergent behavioral and ecological patterns.</p>
      <sec sec-type="Key findings" id="sec18">
        <title>Key findings</title>
        <p>The spatial ecology of PLANTS and the behavioral ecology of ANIMALS interacted to produce dynamic and biologically plausible virtual ecosystems. PLANT distributions ranged from homogeneous to patchy depending on plant-neighbor settings and often smoothed over time due to foraging pressure. This feedback between ANIMAL consumption and PLANT regrowth created dynamic resource landscapes that, in turn, shaped emergent space-use patterns, including CHIMPANZEE home-range boundaries that followed PLANT energy contours. ANIMAL population persistence depended strongly on available PLANT energy, with many populations surviving to 100,000 timesteps, suggesting robust population stability under favorable ecological conditions.</p>
        <p>Evolutionary change was commonly observed within <abbrev xlink:title="Behavior, Ecology, Genetics, Evolution, and Tradeoffs">B3GET</abbrev> populations. We focus here on two representative case studies to demonstrate, as a proof of concept, that the model can generate both evolutionary change and evolutionary stasis. Because the model does not impose an explicit global fitness function, differential survival and reproduction arose naturally from energetic and behavioral tradeoffs. In one CHIMPANZEE population (Fig. <xref ref-type="fig" rid="F5">5A</xref>), both genotype and phenotype data indicated directional selection for greater energy-intake capacity: mean adult bite.capacity increased steadily relative to the ancestral population, and the associated gene’s energy investment evolved toward progressively higher values over time. This trend showed no sign of plateauing within the simulated timeframe, implying that continued selection would further increase bite.capacity. In contrast, gestation duration in another population remained stable (Fig. <xref ref-type="fig" rid="F5">5B</xref>), suggesting stabilizing selection. Although the gestatee’s gestation gene remained constant, the maternal gene evolved toward zero early in the run, consistent with the expectation that mothers conserve energy for future offspring (<xref ref-type="bibr" rid="B60">Stearns 1989</xref>).</p>
        <p>PRIMATES expressed expected social behaviors without any top-down enforcement, showing that <abbrev xlink:title="Behavior, Ecology, Genetics, Evolution, and Tradeoffs">B3GET</abbrev>’s bottom-up, genotype-encoded rule structure can reliably generate complex emergent societies that reflect species-typical traits. Dispersal behaviors: CHIMPANZEE males were philopatric, while approximately half of females dispersed to neighboring communities; GELADA males transferred frequently, whereas females were largely philopatric; HAMADRYAS females dispersed to join recruiting males; and OLIVE males dispersed, while females remained in natal groups. Mating behaviors: CHIMPANZEES maintained promiscuous, large multi-male, multi-female communities; GELADAS maintained small, single-male and multi-male units through male acquisition of female groups; HAMADRYAS males formed small groups by recruiting females and sometimes male followers; and OLIVES sustained multi-male, multi-female groups with a male-biased reproductive skew. Ranging behaviors: CHIMPANZEE groups maintained distinct home ranges, whereas GELADA, HAMADRYAS, and OLIVE groups occupied overlapping or shifting ranges without fixed boundaries.</p>
      </sec>
      <sec sec-type="Using B3GET" id="sec19">
        <title>Using B3GET</title>
        <p>We have demonstrated that <abbrev xlink:title="Behavior, Ecology, Genetics, Evolution, and Tradeoffs">B3GET</abbrev> can effectively simulate a broad range of primate societies with minor adjustments to PRIMATE genotypes and populations. Previous studies with agent-based models showed that simple rules can yield complex emergent behaviors (<xref ref-type="bibr" rid="B66">Te Boekhorst and Hogeweg 1994</xref>; <xref ref-type="bibr" rid="B27">Hemelrijk 1999</xref>). <abbrev xlink:title="Behavior, Ecology, Genetics, Evolution, and Tradeoffs">B3GET</abbrev> advances this tradition by providing a user-friendly “sandbox” model in which users can adjust environmental and behavioral parameters to generate indefinitely many new societies without requiring extensive programming experience. In classroom laboratories, student projects, and conference workshops, users with no coding background have successfully edited, saved, and reloaded population and genotype files to conduct new experiments.</p>
        <p>Traditional animal agent-based models often struggle to integrate field measurements because relevant data are scarce, inconsistent, or collected using incompatible protocols (<xref ref-type="bibr" rid="B47">Murphy 2025</xref>). In <abbrev xlink:title="Behavior, Ecology, Genetics, Evolution, and Tradeoffs">B3GET</abbrev>, new genotype and population files can be created using general qualitative knowledge of the target species, rather than empirical parameterization. By simulating multiple species or ecological regimes under standardized assumptions, researchers can compare relative outcomes—such as evolved trait values, group demography, or persistence—without forcing a literal one-to-one parameter match with noisy field data.</p>
        <p>Although this study focused on primates, <abbrev xlink:title="Behavior, Ecology, Genetics, Evolution, and Tradeoffs">B3GET</abbrev>’s population and genotype files can be readily adapted to represent other taxa. The model can also generate novel ANIMAL genotypes as populations evolve away from their initial set of rules, shifting toward configurations that better allocate energy under a given simulation’s environmental pressures. The symbolic stimulus–response architecture offers a vast and largely unexplored behavioral space—on the order of more than 300 trillion possible ANIMAL behaviors when all potential mutations to genotype symbols are considered (<xref ref-type="bibr" rid="B12">Crouse 2021</xref>, p. 84).</p>
        <p><abbrev xlink:title="Behavior, Ecology, Genetics, Evolution, and Tradeoffs">B3GET</abbrev>’s rich ecological context—encompassing energy landscapes, social organization, individual life histories, and intergenerational change—makes it a powerful framework for examining how environmental structure and behavioral adaptation interact. Its multilevel output system provides fine-grained data spanning genes, individuals, groups, populations, and environments, enabling integrative analyses of feedback across scales. Together, these features position <abbrev xlink:title="Behavior, Ecology, Genetics, Evolution, and Tradeoffs">B3GET</abbrev> as a robust and versatile platform for research and education in individual-based ecology.</p>
        <p>Beyond its value as a theoretical research tool, <abbrev xlink:title="Behavior, Ecology, Genetics, Evolution, and Tradeoffs">B3GET</abbrev> provides a means to explore ecological and social scenarios that would be impractical, prohibitively expensive, or unethical to impose on real animal populations. For example, researchers can experimentally alter mortality rates, dispersal opportunities, resource distributions, social structures, or developmental processes and then observe how those changes propagate across ecological levels. Because <abbrev xlink:title="Behavior, Ecology, Genetics, Evolution, and Tradeoffs">B3GET</abbrev> simultaneously records measurements across these levels, it can help identify the mechanisms through which population declines, social instability, or other emergent outcomes arise. In this way, it complements empirical research and may help address conservation-relevant questions.</p>
      </sec>
      <sec sec-type="Limitations" id="sec20">
        <title>Limitations</title>
        <p>Although <abbrev xlink:title="Behavior, Ecology, Genetics, Evolution, and Tradeoffs">B3GET</abbrev> is a powerful tool for theoretical exploration, several limitations warrant consideration. The current implementation uses abstract representations of ecological processes: PLANT growth is governed by internal rule-based dynamics and does not use phenology, climate inputs, or externally derived resource maps. Timesteps and energy units are non-dimensional and do not directly correspond to real-world measures. This abstraction enhances generality and allows comparisons across simulated systems, but it reduces realism for system-specific forecasting. Consequently, <abbrev xlink:title="Behavior, Ecology, Genetics, Evolution, and Tradeoffs">B3GET</abbrev> is presently best suited for theoretical investigations, hypothesis comparison, and mechanistic exploration rather than predictive modeling, although future iterations will aim to bridge this gap.</p>
        <p>Another limitation concerns interpretation. <abbrev xlink:title="Behavior, Ecology, Genetics, Evolution, and Tradeoffs">B3GET</abbrev> can identify combinations of mechanisms capable of reproducing empirical or theoretically expected patterns, but successful reproduction of a pattern does not demonstrate that the underlying mechanisms are uniquely correct. Multiple behavioral or ecological processes may generate similar outcomes, especially given the vast parameter space of <abbrev xlink:title="Behavior, Ecology, Genetics, Evolution, and Tradeoffs">B3GET</abbrev>. Consequently, <abbrev xlink:title="Behavior, Ecology, Genetics, Evolution, and Tradeoffs">B3GET</abbrev> should not be viewed as providing definitive proof of causation. We encourage users to build confidence in proposed mechanisms by explicitly evaluating alternative explanations and corroborating model predictions with independent data.</p>
        <p>The model’s scope and potential extend beyond what was captured in the present simulations. For this study, we turned off mutation for most gene loci to preserve interspecific distinctions, constraining within-species evolutionary dynamics. Populations often crashed in highly patchy environments, suggesting the need to adjust initialization parameters to permit persistence under these conditions. Some unexpected outcomes—such as lower persistence in OLIVES and highly male-biased sex ratios in CHIMPANZEES—likely reflect suboptimal energetic allocations. Further exploration of the simulation space will help identify parameter combinations that better sustain each virtual population and reveal additional model behavior.</p>
      </sec>
      <sec sec-type="Future directions" id="sec21">
        <title>Future directions</title>
        <p>In future iterations, we intend to expand <abbrev xlink:title="Behavior, Ecology, Genetics, Evolution, and Tradeoffs">B3GET</abbrev>’s ecological realism and evolutionary scope while strengthening its integration with empirical data.</p>
        <p>We intend to simulate longer time horizons so that the system’s internal feedbacks can unfold more fully. Preliminary time-series results reveal oscillatory resource–consumer dynamics between PLANTS and ANIMALS—patterns reminiscent of classical predator–prey interactions (<xref ref-type="bibr" rid="B38">Lotka 1925</xref>; <xref ref-type="bibr" rid="B68">Volterra 1926</xref>). For genes that we allowed to mutate, we observed both directional and stabilizing selection, although simulations lasted only a short time by evolutionary timescales: approximately 10 generations. To examine these processes in greater detail, we intend to conduct substantially longer simulations, enhanced by implementing <abbrev xlink:title="Behavior, Ecology, Genetics, Evolution, and Tradeoffs">B3GET</abbrev> performance optimizations that reduce runtime and enable extended evolutionary experiments.</p>
        <p>We also intend to introduce new model features to enhance ecological realism. To represent environmental pressures more faithfully, we plan to include multiple PLANT species coexisting within the same landscape (e.g., <xref ref-type="bibr" rid="B30">Howard-Spink et al. 2025</xref>; <xref ref-type="bibr" rid="B77">Yoshihara et al. 2025</xref>) and enable ANIMALS to evolve distinct feeding efficiencies for each species—analogous to unique bite.capacity parameters for different food types. We further plan to expand spatial scale by linking multiple <abbrev xlink:title="Behavior, Ecology, Genetics, Evolution, and Tradeoffs">B3GET</abbrev> simulations running in parallel as adjacent environments, allowing regional metacommunity dynamics to emerge. At the behavioral level, we will expand the current stimulus–response design—which is static over an individual’s lifetime—into a neural-network architecture that maps stimuli to responses and permits learning and plasticity. We will also increase mutation flexibility and introduce multiple ANIMAL species within shared environments to examine how these changes influence the emergence of ecological complexity and interspecific interactions.</p>
        <p>Finally, we intend to extend <abbrev xlink:title="Behavior, Ecology, Genetics, Evolution, and Tradeoffs">B3GET</abbrev> from a theoretical platform toward applied ecological modeling. One possible approach would be to implement a calibration procedure that uses empirical data to construct genotype rules more efficiently than the current manual approach. Following <xref ref-type="bibr" rid="B13">Crouse et al. (2019)</xref>, this calibration will impose additional fitness costs on individuals that deviate from empirical target values—such as body.size dimorphism, number of mating partners, or group transfer count—thereby guiding simulated populations toward genotype configurations consistent with real-world systems.</p>
      </sec>
    </sec>
    <sec sec-type="Conclusion" id="sec22">
      <title>Conclusion</title>
      <p><abbrev xlink:title="Behavior, Ecology, Genetics, Evolution, and Tradeoffs">B3GET</abbrev> provides a reusable framework for: (1) creating virtual analogues of living species to address species-specific questions; (2) investigating how populations evolve and vary in response to ecological pressures; (3) tracing complete evolutionary histories across indefinite timescales and generations; and (4) tracking individuals throughout their entire life histories, from conception to postmortem decay. The model is well suited for exploratory, explanatory, and hypothesis-driven research. By demonstrating realistic ecological pressures, evolutionary responsiveness, and species-specific behavioral emergence, <abbrev xlink:title="Behavior, Ecology, Genetics, Evolution, and Tradeoffs">B3GET</abbrev> establishes a reusable foundation for multiscale, multisystem ecological modeling. We anticipate that <abbrev xlink:title="Behavior, Ecology, Genetics, Evolution, and Tradeoffs">B3GET</abbrev> will serve as a useful tool for students, teachers, and researchers alike, offering a flexible platform for controlled, repeatable experiments in animal behavior, ecology, and evolution.</p>
    </sec>
  </body>
  <back>
    <ack>
      <title>Acknowledgements</title>
      <p>We thank the Minnesota Supercomputing Institute for its technical support and for providing the hardware used to run the simulations. We thank Julia Fischer and Dietmar Zinner for the invitation to present an early version of B3GET at the Frontiers in Baboon Research Symposium. Our development of the B3GET code was greatly improved by observing chimpanzees and olive baboons at Gombe National Park, Tanzania, and gelada monkeys and hamadryas baboons at Guassa and Filoha, Ethiopia. We thank D. Anthony Collins, Deus Mjungu, Peter Fashing, Nga Nguyen, and Larissa Swedell for hosting us at their study sites. We thank Carrie Miller and Kieran McNulty for invaluable discussions on gelada social dynamics and evolutionary morphology, respectfully.</p>
    </ack>
    <ref-list>
      <title>References</title>
      <ref id="B1">
        <mixed-citation>Abegglen J (1984) On socialization in Hamadryas baboons. Associated University Presses. Cranbury New Jersey.</mixed-citation>
      </ref>
      <ref id="B2">
        <mixed-citation>Altmann J (1974) Observational study of behavior: Sampling methods. Behaviour 49: 227–266. <ext-link xlink:href="10.1163/156853974X00534" ext-link-type="doi">https://doi.org/10.1163/156853974X00534</ext-link></mixed-citation>
      </ref>
      <ref id="B3">
        <mixed-citation>Amato K, Van Belle S, Wilkinson B (2013) A comparison of scan and focal sampling for the description of wild primate activity, diet and intragroup spatial relationships. Folia primatologica; International Journal of Primatology 84: 87–101. <ext-link xlink:href="10.1159/000348305" ext-link-type="doi">https://doi.org/10.1159/000348305</ext-link></mixed-citation>
      </ref>
      <ref id="B4">
        <mixed-citation>An L, Grimm V, Turner II BL (2020) Editorial: Meeting grand challenges in agent-based models. Journal of Artificial Societies and Social Simulation 23: 13. <ext-link xlink:href="10.18564/jasss.4012" ext-link-type="doi">https://doi.org/10.18564/jasss.4012</ext-link></mixed-citation>
      </ref>
      <ref id="B5">
        <mixed-citation>Aureli F, Schaffner CM, Boesch C, Bearder SK, Call J, Chapman CA, Connor R, Fiore AD, Dunbar RIM, Henzi SP, Holekamp K, Korstjens AH, Layton R, Lee P, Lehmann J, Manson JH, Ramos‐Fernandez G, Strier KB, Schaik CP van (2008) Fission‐fusion dynamics: New research frameworks. Current Anthropology 49: 627–654. <ext-link xlink:href="10.1086/586708" ext-link-type="doi">https://doi.org/10.1086/586708</ext-link></mixed-citation>
      </ref>
      <ref id="B6">
        <mixed-citation>Beehner JC, Bergman TJ (2008) Infant mortality following male takeovers in wild geladas. American Journal of Primatology 70: 1152–1159. <ext-link xlink:href="10.1002/ajp.20614" ext-link-type="doi">https://doi.org/10.1002/ajp.20614</ext-link></mixed-citation>
      </ref>
      <ref id="B7">
        <mixed-citation>Beehner JC, Gesquiere L, Seyfarth RM, Cheney DL, Alberts SC, Altmann J (2009) Testosterone related to age and life-history stages in male baboons and geladas. Hormones and Behavior 56: 472–480. <ext-link xlink:href="10.1016/j.yhbeh.2009.08.005" ext-link-type="doi">https://doi.org/10.1016/j.yhbeh.2009.08.005</ext-link></mixed-citation>
      </ref>
      <ref id="B8">
        <mixed-citation>Brown JL, Orians GH (1970) Spacing patterns in mobile animals. Annual Review of Ecology and Systematics 1: 239–262. <ext-link xlink:href="10.1146/annurev.es.01.110170.001323" ext-link-type="doi">https://doi.org/10.1146/annurev.es.01.110170.001323</ext-link></mixed-citation>
      </ref>
      <ref id="B9">
        <mixed-citation>Cardinale B (2012) Impacts of biodiversity loss. Science 336: 552–553. <ext-link xlink:href="10.1126/science.1222102" ext-link-type="doi">https://doi.org/10.1126/science.1222102</ext-link></mixed-citation>
      </ref>
      <ref id="B10">
        <mixed-citation>Charnov EL (1976) Optimal foraging, the marginal value theorem. Theoretical Population Biology 9: 129–136. <ext-link xlink:href="10.1016/0040-5809(76)90040-X" ext-link-type="doi">https://doi.org/10.1016/0040-5809(76)90040-X</ext-link></mixed-citation>
      </ref>
      <ref id="B11">
        <mixed-citation>Charnov EL, Berrigan D (1993) Why do female primates have such long lifespans and so few babies? or Life in the slow lane. Evolutionary Anthropology: Issues, News, and Reviews 1: 191–194. <ext-link xlink:href="10.1002/evan.1360010604" ext-link-type="doi">https://doi.org/10.1002/evan.1360010604</ext-link></mixed-citation>
      </ref>
      <ref id="B12">
        <mixed-citation>Crouse KN (2021) B3GET: A New Computational Approach for Understanding and Exploring Ecology, Evolution, and Behavior. PhD Thesis. University of Minnesota. <ext-link xlink:href="https://hdl.handle.net/11299/226655" ext-link-type="uri">https://hdl.handle.net/11299/226655</ext-link></mixed-citation>
      </ref>
      <ref id="B13">
        <mixed-citation>Crouse KN, Miller CM, Wilson ML (2019) New approaches to modeling primate socioecology: Does small female group size BEGET loyal males? Journal of Human Evolution 137: 102671. <ext-link xlink:href="10.1016/j.jhevol.2019.102671" ext-link-type="doi">https://doi.org/10.1016/j.jhevol.2019.102671</ext-link></mixed-citation>
      </ref>
      <ref id="B14">
        <mixed-citation>Crouse KN, Desai NP, Cassidy KA, Stahler EE, Lehman CL, Wilson ML (2022) Larger territories reduce mortality risk for chimpanzees, wolves, and agents: Multiple lines of evidence in a model validation framework. Ecological Modelling 471: 110063. <ext-link xlink:href="10.1016/j.ecolmodel.2022.110063" ext-link-type="doi">https://doi.org/10.1016/j.ecolmodel.2022.110063</ext-link></mixed-citation>
      </ref>
      <ref id="B15">
        <mixed-citation>Deschner T, Boesch C (2007) Can the patterns of sexual swelling cycles in female Taï chimpanzees be explained by the cost-of-sexual-attraction hypothesis? International Journal of Primatology 28: 389–406. <ext-link xlink:href="10.1007/s10764-007-9120-1" ext-link-type="doi">https://doi.org/10.1007/s10764-007-9120-1</ext-link></mixed-citation>
      </ref>
      <ref id="B16">
        <mixed-citation>Dunbar RIM, Dunbar EP (1975) Social dynamics of gelada baboons.</mixed-citation>
      </ref>
      <ref id="B17">
        <mixed-citation>Edmonds B, Le Page C, Bithell M, Chattoe-Brown E, Grimm V, Meyer R, Montañola-Sales C, Ormerod P, Root H, Squazzoni F (2019) Different modelling purposes. Journal of Artificial Societies and Social Simulation 22: 6. <ext-link xlink:href="10.18564/jasss.3993" ext-link-type="doi">https://doi.org/10.18564/jasss.3993</ext-link></mixed-citation>
      </ref>
      <ref id="B18">
        <mixed-citation>Erskine S (2016) Spatial patterns within gelada monkey one male units at Guassa, Ethiopia. PhD Thesis. Lethbridge, Alta: University of Lethbridge, Dept. of Psychology.</mixed-citation>
      </ref>
      <ref id="B19">
        <mixed-citation>Evans MR, Grimm V, Johst K, Knuuttila T, De Langhe R, Lessells CM, Merz M, O’Malley MA, Orzack SH, Weisberg M, Wilkinson DJ, Wolkenhauer O, Benton TG (2013a) Do simple models lead to generality in ecology? Trends in Ecology &amp; Evolution 28: 578–583. <ext-link xlink:href="10.1016/j.tree.2013.05.022" ext-link-type="doi">https://doi.org/10.1016/j.tree.2013.05.022</ext-link></mixed-citation>
      </ref>
      <ref id="B20">
        <mixed-citation>Evans MR, Bithell M, Cornell SJ, Dall SRX, Diaz S, Emmott S, Ernande B, Grimm V, Hodgson DJ, Lewis SL, Mace GM, Morecroft M, Moustakas A, Murphy E, Newbold T, Norris KJ, Petchey O, Smith M, Travis JMJ, Benton TG (2013b) Predictive systems ecology. Proceedings of the Royal Society B: Biological Sciences 280: 20131452–20131452. <ext-link xlink:href="10.1098/rspb.2013.1452" ext-link-type="doi">https://doi.org/10.1098/rspb.2013.1452</ext-link></mixed-citation>
      </ref>
      <ref id="B21">
        <mixed-citation>Freedman B (2015) Ecological effects of environmental stressors. In: Oxford Research Encyclopedia of Environmental Science.</mixed-citation>
      </ref>
      <ref id="B22">
        <mixed-citation>Gardner M (1970) Mathematical Games: The fantastic combinations of John Conway’s new solitaire game “Life.” Scientific American 223(5): 116. <ext-link xlink:href="10.1038/scientificamerican1170-116" ext-link-type="doi">https://doi.org/10.1038/scientificamerican1170-116</ext-link></mixed-citation>
      </ref>
      <ref id="B23">
        <mixed-citation>Grimm V, Railsback SF (2005) Princeton University Press Individual-based Modeling and Ecology. Princeton University Press.</mixed-citation>
      </ref>
      <ref id="B24">
        <mixed-citation>Grimm V, Ayllón D, Railsback SF (2017) Next-generation individual-based models integrate biodiversity and ecosystems: Yes we can, and yes we must. Ecosystems 20: 229–236. <ext-link xlink:href="10.1007/s10021-016-0071-2" ext-link-type="doi">https://doi.org/10.1007/s10021-016-0071-2</ext-link></mixed-citation>
      </ref>
      <ref id="B25">
        <mixed-citation>Grimm V, Railsback SF, Vincenot CE, Berger U, Gallagher C, DeAngelis DL, Edmonds B, Ge J, Giske J, Groeneveld J, Johnston ASA, Milles A, Nabe-Nielsen J, Polhill JG, Radchuk V, Rohwäder M-S, Stillman RA, Thiele JC, Ayllón D (2020) The ODD Protocol for describing agent-based and other simulation models: A second update to improve clarity, replication, and structural realism. Journal of Artificial Societies and Social Simulation 23(2): 7. <ext-link xlink:href="10.18564/jasss.4259" ext-link-type="doi">https://doi.org/10.18564/jasss.4259</ext-link></mixed-citation>
      </ref>
      <ref id="B26">
        <mixed-citation>Harel R, Loftus JC, Crofoot MC (2021) Locomotor compromises maintain group cohesion in baboon troops on the move. Proceedings of the Royal Society B 288: 20210839. <ext-link xlink:href="10.1098/rspb.2021.0839" ext-link-type="doi">https://doi.org/10.1098/rspb.2021.0839</ext-link></mixed-citation>
      </ref>
      <ref id="B27">
        <mixed-citation>Hemelrijk CK (1999) An individual-oriented model of the emergence of despotic and egalitarian societies. Proceedins: Biological Sciences 266: 361–369. <ext-link xlink:href="10.1098/rspb.1999.0646" ext-link-type="doi">https://doi.org/10.1098/rspb.1999.0646</ext-link></mixed-citation>
      </ref>
      <ref id="B28">
        <mixed-citation>Hogeweg P (1987) MIRROR Beyond MIRROR: Puddles of LIFE. Alife: 297–316.</mixed-citation>
      </ref>
      <ref id="B29">
        <mixed-citation>Holland J (1995) Hidden Order: How Adaptation Builds Complexity.</mixed-citation>
      </ref>
      <ref id="B30">
        <mixed-citation>Howard-Spink E, Tennie C, Setia TM, Perawati D, Schaik CV, Barrett B, Whiten A, Schuppli C (2025) Culture is critical in driving orangutan diet development past individual potentials. Research Square, preprint. <ext-link xlink:href="10.21203/rs.3.rs-6009246/v1" ext-link-type="doi">https://doi.org/10.21203/rs.3.rs-6009246/v1</ext-link></mixed-citation>
      </ref>
      <ref id="B31">
        <mixed-citation>Huston M, DeAngelis D, Post W (1988) New computer models unify ecological theory. BioScience 38: 682–691. <ext-link xlink:href="10.2307/1310870" ext-link-type="doi">https://doi.org/10.2307/1310870</ext-link></mixed-citation>
      </ref>
      <ref id="B32">
        <mixed-citation>Jackson MC, Pawar S, Woodward G (2021) The temporal dynamics of multiple stressor effects: From individuals to ecosystems. Trends in Ecology &amp; Evolution 36: 402–410. <ext-link xlink:href="10.1016/j.tree.2021.01.005" ext-link-type="doi">https://doi.org/10.1016/j.tree.2021.01.005</ext-link></mixed-citation>
      </ref>
      <ref id="B33">
        <mixed-citation>Kawai M, Ohsawa H, Mori U, Dunbar R (1983) Social organization of gelada baboons: Social units and definitions. Primates 24: 13–24. <ext-link xlink:href="10.1007/BF02381450" ext-link-type="doi">https://doi.org/10.1007/BF02381450</ext-link></mixed-citation>
      </ref>
      <ref id="B34">
        <mixed-citation>Krebs J, Davies N (1993) An introduction to behavioural ecology. Blackwell Scientific Publications.</mixed-citation>
      </ref>
      <ref id="B35">
        <mixed-citation>Kummer H (1968) Social organization of hamadryas baboons. Karger Publishers. <ext-link xlink:href="10.1159/isbn.978-3-8055-0286-3" ext-link-type="doi">https://doi.org/10.1159/isbn.978-3-8055-0286-3</ext-link></mixed-citation>
      </ref>
      <ref id="B36">
        <mixed-citation>Le Roux A, Beehner JC, Bergman TJ (2011) Female philopatry and dominance patterns in wild geladas. American Journal of Primatology 73: 422–430. <ext-link xlink:href="10.1002/ajp.20916" ext-link-type="doi">https://doi.org/10.1002/ajp.20916</ext-link></mixed-citation>
      </ref>
      <ref id="B37">
        <mixed-citation>Lorscheid I, Berger U, Grimm V, Meyer M (2019) From cases to general principles: A call for theory development through agent-based modeling. Ecological Modelling 393: 153–156. <ext-link xlink:href="10.1016/j.ecolmodel.2018.10.006" ext-link-type="doi">https://doi.org/10.1016/j.ecolmodel.2018.10.006</ext-link></mixed-citation>
      </ref>
      <ref id="B38">
        <mixed-citation>Lotka AJ (1925) Elements of Physical Biology. Williams &amp; Wilkins, 508 pp.</mixed-citation>
      </ref>
      <ref id="B39">
        <mixed-citation>Lukas D, Clutton-Brock TH (2013) The Evolution of Social Monogamy in Mammals. Science 341: 526–530. <ext-link xlink:href="10.1126/science.1238677" ext-link-type="doi">https://doi.org/10.1126/science.1238677</ext-link></mixed-citation>
      </ref>
      <ref id="B40">
        <mixed-citation>MacArthur RH, Pianka ER (1966) On optimal use of a patchy environment. The American Naturalist 100: 603–609. <ext-link xlink:href="10.1086/282454" ext-link-type="doi">https://doi.org/10.1086/282454</ext-link></mixed-citation>
      </ref>
      <ref id="B41">
        <mixed-citation>Malhi Y, Franklin J, Seddon N, Solan M, Turner MG, Field CB, Knowlton N (2020) Climate change and ecosystems: threats, opportunities and solutions. Philosophical Transactions of the Royal Society B: Biological Sciences 375: 20190104. <ext-link xlink:href="10.1098/rstb.2019.0104" ext-link-type="doi">https://doi.org/10.1098/rstb.2019.0104</ext-link></mixed-citation>
      </ref>
      <ref id="B42">
        <mixed-citation>Manson S, An L, Clarke KC, Heppenstall A, Koch J, Krzyzanowski B, Morgan F, O’Sullivan D, Runck BC, Shook E, Tesfatsion L (2020) Methodological issues of spatial agent-based models. Journal of Artificial Societies and Social Simulation 23: 3. <ext-link xlink:href="10.18564/jasss.4174" ext-link-type="doi">https://doi.org/10.18564/jasss.4174</ext-link></mixed-citation>
      </ref>
      <ref id="B43">
        <mixed-citation>Markham AC, Guttal V, Alberts SC, Altmann J (2013) When good neighbors don’t need fences: Temporal landscape partitioning among baboon social groups. Behavioral Ecology and Sociobiology 67: 875–884. <ext-link xlink:href="10.1007/s00265-013-1510-0" ext-link-type="doi">https://doi.org/10.1007/s00265-013-1510-0</ext-link></mixed-citation>
      </ref>
      <ref id="B44">
        <mixed-citation>Maynard Smith J (1982) Evolution and the Theory of Games. In: Did Darwin Get It Right? Essays on games, sex and evolution. Springer, 202–215. <ext-link xlink:href="10.1007/978-1-4684-7862-4_22" ext-link-type="doi">https://doi.org/10.1007/978-1-4684-7862-4_22</ext-link></mixed-citation>
      </ref>
      <ref id="B45">
        <mixed-citation>McNamara JM, Leimar O (2020) Game theory in biology: concepts and frontiers. Oxford University Press, USA. <ext-link xlink:href="10.1093/oso/9780198815778.001.0001" ext-link-type="doi">https://doi.org/10.1093/oso/9780198815778.001.0001</ext-link></mixed-citation>
      </ref>
      <ref id="B46">
        <mixed-citation>Mitani JC (2009) Cooperation and competition in chimpanzees: Current understanding and future challenges. Evolutionary Anthropology: Issues, News, and Reviews 18: 215–227. <ext-link xlink:href="10.1002/evan.20229" ext-link-type="doi">https://doi.org/10.1002/evan.20229</ext-link></mixed-citation>
      </ref>
      <ref id="B47">
        <mixed-citation>Murphy KJ (2025) Agent-Based Models in Applied Ecology: A framework to develop data-driven simulations to inform conservation and conflict management scenarios. Preprint. <ext-link xlink:href="10.22541/au.173679707.75075267/v1" ext-link-type="doi">https://doi.org/10.22541/au.173679707.75075267/v1</ext-link></mixed-citation>
      </ref>
      <ref id="B48">
        <mixed-citation>Opie C, Atkinson QD, Dunbar RIM, Shultz S (2013) Male infanticide leads to social monogamy in primates. Proceedings of the National Academy of Sciences of the United States of America 110: 13328–13332. <ext-link xlink:href="10.1073/pnas.1307903110" ext-link-type="doi">https://doi.org/10.1073/pnas.1307903110</ext-link></mixed-citation>
      </ref>
      <ref id="B49">
        <mixed-citation>O’Sullivan D, Evans T, Manson S, Metcalf S, Ligmann-Zielinska A, Bone C (2016) Strategic directions for agent-based modeling: avoiding the YAAWN syndrome. Journal of Land Use Science 11: 177–187. <ext-link xlink:href="10.1080/1747423X.2015.1030463" ext-link-type="doi">https://doi.org/10.1080/1747423X.2015.1030463</ext-link></mixed-citation>
      </ref>
      <ref id="B50">
        <mixed-citation>Packer C (1979) Inter-troop transfer and inbreeding avoidance in <italic><tp:taxon-name><tp:taxon-name-part taxon-name-part-type="genus">Papio</tp:taxon-name-part> <tp:taxon-name-part taxon-name-part-type="species">anubis</tp:taxon-name-part></tp:taxon-name></italic>. Animal Behaviour 27: 1–36. <ext-link xlink:href="10.1016/0003-3472(79)90126-X" ext-link-type="doi">https://doi.org/10.1016/0003-3472(79)90126-X</ext-link></mixed-citation>
      </ref>
      <ref id="B51">
        <mixed-citation>Pappano DJ, Snyder-Mackler N, Bergman TJ, Beehner JC (2012) Social ‘predators’ within a multilevel primate society. Animal Behaviour 84: 653–658. <ext-link xlink:href="10.1016/j.anbehav.2012.06.021" ext-link-type="doi">https://doi.org/10.1016/j.anbehav.2012.06.021</ext-link></mixed-citation>
      </ref>
      <ref id="B52">
        <mixed-citation>Phillips-Conroy JE, Jolly CJ, Nystrom P, Hemmalin HA (1992) Migration of male hamadryas baboons into anubis groups in the Awash National Park, Ethiopia. International Journal of Primatology 12(4): 455–475. <ext-link xlink:href="10.1007/BF02547828" ext-link-type="doi">https://doi.org/10.1007/BF02547828</ext-link></mixed-citation>
      </ref>
      <ref id="B53">
        <mixed-citation>Pines M, Saunders J, Swedell L (2011) Alternative routes to the leader male role in a multi-level society: Follower vs. solitary male strategies and outcomes in hamadryas baboons. American Journal of Primatology 73: 679–691. <ext-link xlink:href="10.1002/ajp.20951" ext-link-type="doi">https://doi.org/10.1002/ajp.20951</ext-link></mixed-citation>
      </ref>
      <ref id="B54">
        <mixed-citation>Pusey AE (1980) Inbreeding avoidance in chimpanzees. Animal Behaviour 28: 543–552. <ext-link xlink:href="10.1016/S0003-3472(80)80063-7" ext-link-type="doi">https://doi.org/10.1016/S0003-3472(80)80063-7</ext-link></mixed-citation>
      </ref>
      <ref id="B55">
        <mixed-citation>Ray TS (1994) Evolution, complexity, entropy and artificial reality. Physica D: Nonlinear Phenomena 75: 239–263. <ext-link xlink:href="10.1016/0167-2789(94)90286-0" ext-link-type="doi">https://doi.org/10.1016/0167-2789(94)90286-0</ext-link></mixed-citation>
      </ref>
      <ref id="B56">
        <mixed-citation>Schreier AL, Swedell L (2012) Ecology and sociality in a multilevel society: Ecological determinants of spatial cohesion in hamadryas baboons. American Journal of Physical Anthropology 148: 580–588. <ext-link xlink:href="10.1002/ajpa.22076" ext-link-type="doi">https://doi.org/10.1002/ajpa.22076</ext-link></mixed-citation>
      </ref>
      <ref id="B57">
        <mixed-citation>Schreier AL, Swedell L (2009) The fourth level of social structure in a multi-level society: ecological and social functions of clans in hamadryas baboons. American Journal of Primatology 71(11): 948–955. <ext-link xlink:href="10.1002/ajp.20736" ext-link-type="doi">https://doi.org/10.1002/ajp.20736</ext-link></mixed-citation>
      </ref>
      <ref id="B58">
        <mixed-citation>Snyder-Mackler N, Beehner JC, Bergman TJ (2012) Defining higher levels in the multilevel societies of geladas (<italic><tp:taxon-name><tp:taxon-name-part taxon-name-part-type="genus">Theropithecus</tp:taxon-name-part> <tp:taxon-name-part taxon-name-part-type="species">gelada</tp:taxon-name-part></tp:taxon-name></italic>). International Journal of Primatology 33: 1054–1068. <ext-link xlink:href="10.1007/s10764-012-9584-5" ext-link-type="doi">https://doi.org/10.1007/s10764-012-9584-5</ext-link></mixed-citation>
      </ref>
      <ref id="B59">
        <mixed-citation>Snyder-Mackler N, Alberts SC, Bergman TJ (2014) The socio-genetics of a complex society: female gelada relatedness patterns mirror association patterns in a multilevel society. Molecular Ecology 23: 6179–6191. <ext-link xlink:href="10.1111/mec.12987" ext-link-type="doi">https://doi.org/10.1111/mec.12987</ext-link></mixed-citation>
      </ref>
      <ref id="B60">
        <mixed-citation>Stearns SC (1989) Trade-offs in life-history evolution. Functional Ecology 3: 259. <ext-link xlink:href="10.2307/2389364" ext-link-type="doi">https://doi.org/10.2307/2389364</ext-link></mixed-citation>
      </ref>
      <ref id="B61">
        <mixed-citation>Steffen W, Richardson K, Rockström J, Cornell SE, Fetzer I, Bennett EM, Biggs R, Carpenter SR, De Vries W, De Wit CA, Folke C, Gerten D, Heinke J, Mace GM, Persson LM, Ramanathan V, Reyers B, Sörlin S (2015) Planetary boundaries: Guiding human development on a changing planet. Science 347: 1259855. <ext-link xlink:href="10.1126/science.1259855" ext-link-type="doi">https://doi.org/10.1126/science.1259855</ext-link></mixed-citation>
      </ref>
      <ref id="B62">
        <mixed-citation>Stillman RA, Railsback SF, Giske J, Berger U, Grimm V (2015) Making predictions in a changing world: The benefits of individual-based ecology. BioScience 65: 140–150. <ext-link xlink:href="10.1093/biosci/biu192" ext-link-type="doi">https://doi.org/10.1093/biosci/biu192</ext-link></mixed-citation>
      </ref>
      <ref id="B63">
        <mixed-citation>Swedell L, Schreier A (2009) Male aggression towards females in hamadryas baboons: conditioning, coercion, and control. In: Muller MN, Sexual RW (Eds) Sexual Coercion in Primates and Humans: An Evolutionary Perspective on Male Aggression Against Females. Harvard University Press, Cambridge, 244–268. <ext-link xlink:href="10.4159/9780674054349-010" ext-link-type="doi">https://doi.org/10.4159/9780674054349-010</ext-link></mixed-citation>
      </ref>
      <ref id="B64">
        <mixed-citation>Swedell L, Saunders J, Schreier A, Davis B, Tesfaye T, Pines M (2011) Female “dispersal” in hamadryas baboons: Transfer among social units in a multilevel society. American Journal of Physical Anthropology 145: 360–370. <ext-link xlink:href="10.1002/ajpa.21504" ext-link-type="doi">https://doi.org/10.1002/ajpa.21504</ext-link></mixed-citation>
      </ref>
      <ref id="B65">
        <mixed-citation>Tang J, Körner C, Muraoka H, Piao S, Shen M, Thackeray SJ, Yang X (2016) Emerging opportunities and challenges in phenology: a review. Ecosphere 7: e01436. <ext-link xlink:href="10.1002/ecs2.1436" ext-link-type="doi">https://doi.org/10.1002/ecs2.1436</ext-link></mixed-citation>
      </ref>
      <ref id="B66">
        <mixed-citation>Te Boekhorst IJ, Hogeweg P (1994) Self-structuring in artificial “chimps” offers new hypotheses for male grouping in chimpanzees. Behaviour 130: 229–252. <ext-link xlink:href="10.1163/156853994X00541" ext-link-type="doi">https://doi.org/10.1163/156853994X00541</ext-link></mixed-citation>
      </ref>
      <ref id="B67">
        <mixed-citation>Tinsley Johnson E, Snyder-Mackler N, Beehner JC, Bergman TJ (2014) Kinship and dominance rank influence the strength of social bonds in female geladas (<italic><tp:taxon-name><tp:taxon-name-part taxon-name-part-type="genus">Theropithecus</tp:taxon-name-part> <tp:taxon-name-part taxon-name-part-type="species">gelada</tp:taxon-name-part></tp:taxon-name></italic>). International Journal of Primatology 35: 288–304. <ext-link xlink:href="10.1007/s10764-013-9733-5" ext-link-type="doi">https://doi.org/10.1007/s10764-013-9733-5</ext-link></mixed-citation>
      </ref>
      <ref id="B68">
        <mixed-citation>Volterra V (1926) Fluctuations in the abundance of a species considered mathemati­cally<sup>1</sup>. Nature 118: 558–560. <ext-link xlink:href="10.1038/118558a0" ext-link-type="doi">https://doi.org/10.1038/118558a0</ext-link></mixed-citation>
      </ref>
      <ref id="B69">
        <mixed-citation>Walker KK, Pusey AE (2020) Inbreeding risk and maternal support have opposite effects on female chimpanzee dispersal. Current Biology 30: R62–R63. <ext-link xlink:href="10.1016/j.cub.2019.11.081" ext-link-type="doi">https://doi.org/10.1016/j.cub.2019.11.081</ext-link></mixed-citation>
      </ref>
      <ref id="B70">
        <mixed-citation>White LC, Städele V, Ramirez Amaya S, Langergraber K, Vigilant L (2024) Female chimpanzees avoid inbreeding even in the presence of substantial bisexual philopatry. Royal Society Open Science 11: 230967. <ext-link xlink:href="10.1098/rsos.230967" ext-link-type="doi">https://doi.org/10.1098/rsos.230967</ext-link></mixed-citation>
      </ref>
      <ref id="B71">
        <mixed-citation>Wilensky U (1999) NetLogo. Center for Connected Learning and Computer-Based Modeling, Northwestern University, Evanston, IL. <ext-link xlink:href="http://ccl.northwestern.edu/netlogo/" ext-link-type="uri">http://ccl.northwestern.edu/netlogo/</ext-link></mixed-citation>
      </ref>
      <ref id="B72">
        <mixed-citation>Williams JM, Pusey AE, Carlis JV, Farm BP, Goodall J (2002) Female competition and male territorial behaviour influence female chimpanzees’ ranging patterns. Animal Behaviour 63: 347–360. <ext-link xlink:href="10.1006/anbe.2001.1916" ext-link-type="doi">https://doi.org/10.1006/anbe.2001.1916</ext-link></mixed-citation>
      </ref>
      <ref id="B73">
        <mixed-citation>Wilson ML, Wrangham RW (2003) Intergroup relations in chimpanzees. Annual Review of Anthropology 32: 363–392. <ext-link xlink:href="10.1146/annurev.anthro.32.061002.120046" ext-link-type="doi">https://doi.org/10.1146/annurev.anthro.32.061002.120046</ext-link></mixed-citation>
      </ref>
      <ref id="B74">
        <mixed-citation>Wilson ML, Boesch C, Fruth B, Furuichi T, Gilby IC, Hashimoto C, Hobaiter CL, Hohmann G, Itoh N, Koops K, Lloyd JN, Matsuzawa T, Mitani JC, Mjungu DC, Morgan D, Muller MN, Mundry R, Nakamura M, Pruetz J, Pusey AE, Riedel J, Sanz C, Schel AM, Simmons N, Waller M, Watts DP, White F, Wittig RM, Zuberbühler K, Wrangham RW (2014) Lethal aggression in Pan is better explained by adaptive strategies than human impacts. Nature 513: 414–417. <ext-link xlink:href="10.1038/nature13727" ext-link-type="doi">https://doi.org/10.1038/nature13727</ext-link></mixed-citation>
      </ref>
      <ref id="B75">
        <mixed-citation>Wrangham R (1979) On the evolution of Ape Social Systems. Social Science Information 18: 336–368. <ext-link xlink:href="10.1177/053901847901800301" ext-link-type="doi">https://doi.org/10.1177/053901847901800301</ext-link></mixed-citation>
      </ref>
      <ref id="B76">
        <mixed-citation>Wrangham RW (1999) Evolution of coalitionary killing. Yearbook of physical anthro­pology 42: 1–30. <ext-link xlink:href="10.1002/(SICI)1096-8644(1999)110:29+%3C1::AID-AJPA2%3E3.0.CO;2-E" ext-link-type="doi">https://doi.org/10.1002/(SICI)1096-8644(1999)110:29+%3C1::AID-AJPA2%3E3.0.CO;2-E</ext-link></mixed-citation>
      </ref>
      <ref id="B77">
        <mixed-citation>Yoshihara Y, Horie R, Miyasaka T, Kono A, Shinoda M (2025) Predicting livestock intake energy at different grazing strategies using agent-based modelling of livestock. Scientific Reports 15: 35906. <ext-link xlink:href="10.1038/s41598-025-19816-8" ext-link-type="doi">https://doi.org/10.1038/s41598-025-19816-8</ext-link></mixed-citation>
      </ref>
      <ref id="B78">
        <mixed-citation>Zurell D, Berger U, Cabral JS, Jeltsch F, Meynard CN, Münkemüller T, Nehrbass N, Pagel J, Reineking B, Schröder B, Grimm V (2010) The virtual ecologist approach: simulating data and observers. Oikos 119: 622–635. <ext-link xlink:href="10.1111/j.1600-0706.2009.18284.x" ext-link-type="doi">https://doi.org/10.1111/j.1600-0706.2009.18284.x</ext-link></mixed-citation>
      </ref>
    </ref-list>
    <sec sec-type="Additional information" id="sec23">
      <title>Additional information</title>
      <sec sec-type="Conflict of interest" id="sec24">
        <title>Conflict of interest</title>
        <p>The authors have declared that no competing interests exist.</p>
      </sec>
      <sec sec-type="Ethical statement" id="sec25">
        <title>Ethical statement</title>
        <p>No ethical statement was reported.</p>
      </sec>
      <sec sec-type="Artificial Intelligence (AI) use" id="sec26">
        <title>Artificial Intelligence (AI) use</title>
        <p>The authors accept full responsibility for the content of the manuscript, including the disclosure of any use of AI.</p>
        <p>Regarding the use of AI in the preparation of this manuscript, the authors declare the following: GPT.</p>
        <p>Used for: Language, style and writing, Figures, tables and charts.</p>
        <p>We used ChatGPT to assist with editing text and improving clarity in the manuscript and supplementary document. We verified all text and produced all scientific content, model design, simulations, analyses, and interpretations independently.</p>
      </sec>
      <sec sec-type="Funding" id="sec27">
        <title>Funding</title>
        <p>No funding was reported.</p>
      </sec>
      <sec sec-type="Author contributions" id="sec28">
        <title>Author contributions</title>
        <p>Kristin Crouse: Conceptualization, Methodology, Software, Validation, Formal analysis, Investigation, Data Curation, Project administration, Writing – Original Draft, Writing – Review &amp; Editing, Visualization; Michael Wilson: Conceptualization, Methodology, Supervision, Writing – Review &amp; Editing, Validation; Clarence Lehman: Conceptualization, Methodology, Supervision, Writing – Review &amp; Editing, Validation.</p>
      </sec>
      <sec sec-type="Author ORCIDs" id="sec29">
        <title>Author ORCIDs</title>
        <p>K.N. Crouse <ext-link xlink:href="https://orcid.org/0000-0002-4878-7477" ext-link-type="uri">https://orcid.org/0000-0002-4878-7477</ext-link></p>
        <p>C.L. Lehman <ext-link xlink:href="https://orcid.org/0000-0002-1369-1205" ext-link-type="uri">https://orcid.org/0000-0002-1369-1205</ext-link></p>
        <p>M.L. Wilson <ext-link xlink:href="https://orcid.org/0000-0003-3073-4518" ext-link-type="uri">https://orcid.org/0000-0003-3073-4518</ext-link></p>
      </sec>
      <sec sec-type="Data availability" id="sec30">
        <title>Data availability</title>
        <p>The BYTE dataset generated by <abbrev xlink:title="Behavior, Ecology, Genetics, Evolution, and Tradeoffs">B3GET</abbrev> is available on Dryad (<ext-link xlink:href="10.5061/dryad.d2547d8d4" ext-link-type="doi">https://doi.org/10.5061/dryad.d2547d8d4</ext-link>). Code availability: <abbrev xlink:title="Behavior, Ecology, Genetics, Evolution, and Tradeoffs">B3GET</abbrev> (v1.2.0) is available for download on CoMSES (<ext-link xlink:href="10.25937/3dfb-js17" ext-link-type="doi">https://doi.org/10.25937/3dfb-js17</ext-link>).</p>
      </sec>
    </sec>
    <sec sec-type="supplementary-material">
      <title>Supplementary materials</title>
      <supplementary-material id="S1" position="float" orientation="portrait" xlink:type="simple">
        <object-id content-type="arpha">189EE49F-B8C7-5A5F-99FA-6837B5F3397D</object-id>
        <label>Supplementary material 1</label>
        <caption>
          <p>BYTE Simulations of the <abbrev xlink:title="Behavior, Ecology, Genetics, Evolution, and Tradeoffs">B3GET</abbrev> Model</p>
        </caption>
        <statement content-type="dataType">
          <label>Data type</label>
          <p>pdf</p>
        </statement>
        <statement content-type="notes">
          <label>Explanation note</label>
          <p>BYTE Simulations of the <abbrev xlink:title="Behavior, Ecology, Genetics, Evolution, and Tradeoffs">B3GET</abbrev> Model: A Comprehensive Companion Guide.</p>
        </statement>
        <media xlink:href="ibe-02-001_article-174844__-s001.pdf" mimetype="application" mime-subtype="pdf" position="float" orientation="portrait" id="oo_1731436.pdf">
          <uri content-type="original_file">https://binary.pensoft.net/file/1731436</uri>
        </media>
        <permissions>
          <license>
            <license-p>This dataset is made available under the Open Database License (<ext-link ext-link-type="uri" xlink:href="http://opendatacommons.org/licenses/odbl/1.0/">http://opendatacommons.org/licenses/odbl/1.0/</ext-link>). The Open Database License (ODbL) is a license agreement intended to allow users to freely share, modify, and use this Dataset while maintaining this same freedom for others, provided that the original source and author(s) are credited.</license-p>
          </license>
        </permissions>
        <attrib specific-use="authors"> Kristin N. Crouse</attrib>
      </supplementary-material>
    </sec>
  </back>
</article>
