Model
The proposed model is an agent-based model on a regular network [
24,
25,
26,
27,
28]. The amount of resources is limited. In the network, each node represents an occupiable position. Each node can be occupied by only one of two different types of agents, each identified by a productivity parameter α, which regulates the amount of public goods produced and an assimilation rate σ that characterizes the agent-type. The productivity parameter can be adjusted to achieve the best performance. A higher productivity reduces the offspring levels. Each kind of agent reproduces the features of a specific bacterial strain, and therefore we will use the two terms interchangeably. Strains with a low assimilation rate (small σ) reproduce with difficulty, and finally die out due to ageing. On the other hand, strains with a high assimilation rate reproduce easily and quickly deplete the environmental resources, thus dying due to hunger. Strains that adopt low productive behavior (small α) are most effective in producing offsprings, and the opposite happens for strains that adopt highly productive behavior.
The model implements the concept of
quorum sensing (QS),
i.e. a long-range interaction between cells,
via an effective long-range potential instead of physical exchange of small molecules (autoinducers [
9,
10]). This potential is produced by a characteristic of the cell,
i.e. the
sensing-charge (
Q), which represents the strength of the cell/agent and can be associated with its size. The value of
Q, which here takes integer values, has multiple roles. It determines whether the agent can reproduce, donating half of
Q to the offspring. It also determines the quantity of energy (nutrients) that each agent can receive. It selects the node that the offspring can occupy and, finally, determines the quantity of public goods produced by the colony.
The evolution of each agent stops when it reaches the maximum value of Qmax. On the other hand, the energy necessary to improve the sensing-charge is ideally taken from outside, i.e. from the environment, and there is a maximum amount of energy that the colony may receive. When this threshold is reached, the colony evolution stops. Each agent has also an age indicator which brings the sensing-charge value to zero once a maximum value τ is reached whereupon no agent is present on that node.
The colony is allowed to evolve for subsequent iterations and the assumed configuration is stored at each iteration. The age indicator grows by one unit at each step if the sensing-charge value does not change, otherwise it is reset.
The initial value of Q (0/1) is assigned stochastically in the first iteration in order to distribute a number of sensing-charges equal to an assigned fraction of the total number of nodes.
At each iteration each agent receives energy which it uses, in proportion to its assimilation rate, for reproduction or migration. The amount of received energy depends on the energy distributed in the colony. In turn, this depends on the existing sensing-charges and on its own productivity, increasing as the aptitude for productivity decreases. The final amount of nutrients used by each agent depends on its own assimilation rate.
Finally, the colony produces public goods (nutrients, viral agents, bioluminescence etc. [
9,
10]) which are a product of QS and specifically of the level of cooperativity [
24,
25].
In the model, links and nodes give complementary information about the colony. Specifically, while the colony growth depends on the nodes of the network, the production of PG is described by means of the links by solving a random resistor network (RRN) [
29] that overlays the grid and evolves with it. The impedance of this RRN depends on the amount and distribution of
sensing-charges in the network and converts these data into a measurable quantity that we identify with the specific public goods produced by the colony, for example, bioluminescence [
24].
The procedure is detailed as follows:
INPUT DATA: input data (shown in Table I) include a random distribution of agents with in the grid, in agreement with the chosen fraction of occupiable sites. Each node may be occupied by only a single-type agent.
POTENTIAL DESIGNATION: the potential
of each node and the energy of the whole network are computed. For the
l-th node, the potential
and its energy,
are given by
where N=Lx x Ly is the network size and is the Euclidean distance between the two nodes l and j. is the sensing-charge of the k-agent, indepently on its type.
The energy of the network is computed as
.
If the evolution stops.
NETWORK SETUP Each agent explores the other agents in the grid and opens links with the ones with lower potential. The matrix of links is thus non- symmetric.
- 2.
RRN INIZIALIZATION
RESISTANCE NETWORK the link between the nodes is equipped with an elementary resistance : where an asymptotally large resistivity value. Unlike the matrix of links, the matrix is symmetric.
Finally, following a strategy formerly used in the description of the electric performances of biological matter [
30,
31,
32] , a pair of ideal extended electrical contacts is attached to the ends of the network and ideally connected with a d.c. bias matter [
30,
31].
- 3.
COLONY EVOLUTION
LINK ACTIVATION Each link across the
nodes is
activated with probability:
The parameter is the cooperativity coefficient and (see Eq.2) measures the amount of sensing-charges present in the landscape. Only the activated links play a role in the production of public good production and offspring.
The specific expression of the probability of activation ,Eq.(3), accounts for different aspects, i.e.
the amount of energy distributed in the landscape, being larger for larger energy, thus producing an autocatalytic effect;
the difference of energy between the considered agents, being larger for smaller differences, thus allowing a better distribution of activated links among nodes similar in energy;
the productivity of the agent, which represents the canalization of resources, in offspring or public goods production, thus producing less active links for higher productivity .
PUBLIC GOODS PRODUCTION If a link has been activated then its resistance decreases according to the law:
where
is the minimal value assigned to the resistivity and the interpolating functions
is taken to have a Hill-like shape [
33,
34]:
with
the mean value of the
sensing-charges of the nodes
. The Hill number
coincides with the productivity coefficient for a single strain. For the case of two strains it is given by their mean value, <α>. Notice that in Eq.(5),
is the colony cooperativity index which we related in [
25] to the amount of bioluminescence produced by several mutants of
Vibrio harvey. As a matter of facts, it represents the strength with which the agents present in the network cooperate in the formation of the public goods, to the extent of their
sensing-charges. The parameter
controls the steepness of the interpolation and hence the amount of
sensing-charges necessary to reach the minimal resistance.
OFFSPRING PRODUCTION Each agent receives energy from other nodes with a higher potential. In particular, the
sensing-charge value grows as
where 1< is the assimilation rate, specific for the considered agent , and links(n) is the number of links activated and connected to the n-th node.
In this step, for each agent we consider migration/duplication transitions. An empty site is selected for reproduction. The choice is done by first sorting the neighbors in order of increasing potential. Then, the k-th node in the list is selected with probability [
24,
25]
This formula corresponds to choose the minimum potential node (k=1) with probability 1-1/9 and otherwise, with probability 1/9, choose the second (k=2) with probability 1-2/9 and so on. It is possible that none of the 8 nodes is chosen, although this happens with a very small probability 8!/9^8 = 0.00093.
If the parent agent has the minimum nonzero value Q=1, it will migrate to the target node that inherits Q=1 while the parent node is set to Q=0.
If instead the parent node has
Q2 , it gives half of its
sensing-charge to the target node, thus implementing a binary-fission event [
24,
25]. Parent and offspring have the same assimilation rate and cooperative coefficient.
The final extinction of the colony happens due to greed or starvation, the former occurring when the agents have consumed all the available resources, the latter when the agents have not be able to obtain energy and die due to ageing.
The overall free parameters of our simulations are listed in the following
Table 1 (in the third column we report the fixed values used in the presented simulations)