Download Electronic Supplementary Material for Speciation with gene flow in a

Survey
yes no Was this document useful for you?
   Thank you for your participation!

* Your assessment is very important for improving the workof artificial intelligence, which forms the content of this project

Document related concepts

Ecological fitting wikipedia , lookup

Habitat conservation wikipedia , lookup

Occupancy–abundance relationship wikipedia , lookup

Introduced species wikipedia , lookup

Biodiversity action plan wikipedia , lookup

Island restoration wikipedia , lookup

Unified neutral theory of biodiversity wikipedia , lookup

Theoretical ecology wikipedia , lookup

Latitudinal gradients in species diversity wikipedia , lookup

Bifrenaria wikipedia , lookup

Molecular ecology wikipedia , lookup

Transcript
Electronic Supplementary Material for
Speciation with gene flow in a heterogeneous virtual world: can physical obstacles
accelerate speciation?
Abbas Golestani 1, Robin Gras1,2, Melania Cristescu 2,3
1 School of Computer Science, University of Windsor, Canada
2 Department of Biology, University of Windsor, Canada
3 Great Lakes Institute, University of Windsor, Canada
1- Fuzzy cognitive maps (FCM)
In general, fuzzy cognitive maps (FCMs) represent weight graphs that represent the causal relationship
between concepts and produce inference patterns (the final states of the system after convergence). In our
simulation, the FCM is not only the base for describing and computing the agent behaviors, but also the
platform for modeling the evolutionary mechanism and the speciation events. Individuals perform one
action each during a time step based on their perception of the environment. The FCM, called a map in
our system, is used to model the agent behaviors (structure of the graph) and to compute the next action of
the agent (dynamics of the map).
Formally, a FCM is a graph which contains a set of nodes C, each node Ci being a concept, and a set of
edges I, each edge Iij representing the influence of the concept Ci on the concept Cj. A positive weight
associated with the edge Iij corresponds to an excitation of the concept Cj from the concept Ci, whereas a
negative weight is related to an inhibition (a null value meaning that there is no influence of C i on Cj). An
activation level ai is associated to each concept. A FCM allows to compute the new activation levels of
the concepts of an agent, based on its perception and on the current activation levels of its concepts. This
computation is called the dynamic of the map and is a normalized matrix product.
The map used in our symulations contains three kinds of concepts: sensory, internal, and motor. The
activation level of a sensory input is computed by a fuzzification of the information coming from the
environment (see Figure S1). The activation level of the motor concept is used to determine what the next
action of the agent will be, and a defuzzification of its value can be used to determine the amplitude of the
action. Finally, the internal concept’s activation levels correspond to the levels of intensity of the internal
states of the agent and affect the computation of the dynamic of the map.
Figure S1: A simple fuzzy cognitive map for detection of foe and decision to evade with its corresponding
matrix L and 0 for “Foe close”, 1 for “Foe far”, 2 for “Fear” and 3 for “Evasion” and the fuzzyfication
and defuzzyfication functions.
2- Speciation mechanism
The speciation mechanism implemented in our system is based on the gradual divergence of populations
which contain individuals that are more and more genetically different. This gradual divergence can lead
to situations where some conspecific individuals, cannot interbreed. To reflect the incipient process of
speciation, a splitting of the species in two sister species is then performed. We have observed that after
an initialization period (between 500 and 1000 time steps), the individuals that are genetically similar
(member of the same species) are also geographically close to each other in the world. Moreover, when a
speciation event occurs, the two genomic clusters formed lead to two spatially separated populations.
After splitting, the two sister species are still very similar leading to high number of hybridization events
(Figure S2). As the two sister species continue to diverge, two completely isolated species emerge. The
distance between the two new species increase with time and rapidly became larger than the within cluster
distance generating strongly isolated clusters in the genomic space.
The splitting mechanism produces two clusters of individuals with high intra-cluster similarity and strong
inter-cluster dissimilarity. We implemented a 2-means clustering technique designed to allow for (1) the
splitting of an existing species S into S1 and S2, and (2) the clustering of individuals that initially
belonged to S into one of either S1 or S2. Our speciation method begins by finding the individual in a
species S with the greatest distance from the ‘species genome’ called the species center. If this distance is
greater than a predefined threshold for speciation (which is two time greater than the threshold for
reproduction), the 2-means clustering is performed. Otherwise, species S remains unchanged. If clustering
is to be performed, two new species are created – one centered on a random individual, denoted Ir, and
another centered on the individual which is the most genetically different from Ir, denoted If.
Subsequently, all remaining individuals in S are added to one of the two new sister species – whichever
species the individual is more genetically similar. After recalculating the new centers for the two new
species, the process of clustering is repeated for convergence. After the 2-means clustering is completed,
two new sister species (S1 and S2) emerge. A single splitting events can only produce 2 sister species at a
given time step. However, if one or both of the two resulting sister species are still genetically
heterogeneous after the splitting, other splitting events can occur on these new species at the next time
step resulting in a final splitting of the initial species in more than two sister species in a very short period
of time.
It is worth noting that the speciation mechanism is only a labeling process based on a
hierarchical online clustering of all the existing genome. These labels are not use for any purpose
during the run of the simulation but only for the analysis of the data generated.
Figure S2. Reproduction between individuals in different situations. The red arrows indicate situations in
which the genetic distance between individuals is greater than the threshold for reproduction and
reproduction is stopped. Black arrows connect individuals with genetic distance smaller than the threshold
for reproduction, indicating that these individuals can interbreed even if they belong to different species.
3- Adding obstacles into the world
Three important changes have been made in the simulations that involve small, random obstacles. First,
because of obstacles, the vision system of the agents has been modified. Obstacle cells are considered
impenetrable and opaque and therefore affect not only the movement of species but also the capacity of
the agents to localize food resources, potential partners for reproduction or potential danger. The
perception concepts for food and friends were modified to stop the information coming from the other
side of the obstacles. The prey perception of foes concept was also modified.
The second main modification concerns the action of movement performed by the agents. Obviously
there is a big limitation in the agent’s movement because they cannot pass through obstacles. As a
consequence, few movement actions were modified. As the agent cannot perceive food or potential
mating partners through the obstacle, when the actions of movement towards food or potential
reproduction partners are performed, it means that there is no obstacle between the agent and its
destination. Therefore, these actions have been kept unchanged. The only action concerning both preys
and predators that was changed was the action of exploration. The destination of the movement is still
chosen randomly but a path toward it, circling the eventual obstacles, needs to be found. When different
paths to reach the destination point exist, the shortest path algorithm is applied1.
Prey individuals often need to escape predation. However, during the escape action, prey agents try to
avoid collision with the obstacle cells. To compute the escape direction two criteria are considered. First,
the barycenter of the five closest foes is computed. Second, the closest obstacle position is found. Then,
two vectors (V1 for predator and V2 for obstacle in Figure S3) pointing at the opposite direction from
these two positions are computed with a length proportional to the desire of the corresponding action. The
final destination position is then computed by the addition of these two vectors. Finally, the same process
used for exploration action, including the computation of the shortest path toward the desired final
position, is applied to avoid the other possible obstacles (see Figure S3).
Figure S3: Computation of final direction of the escape route for prey. The prey agent takes into account
the position of the closest obstacle as well as the position of the predators and the shortest path (path#1) is
used to avoid another obstacles (red line).
The last modification is related to the model of food diffusion. Normally during the evolution of our
ecosystem simulation, the grass present in a cell could diffuse in adjacent cells that do not contain grass.
This process generates a dynamic distribution of food in the world that can form non uniform and non
1
The shortest path problem is the problem of finding a path of minimum length between two points. Simple
algorithms can be used that guaranty to find the shortest path.
static patterns. To take into account the presence of obstacles, the diffusion mechanism has therefore
been modified to prevent diffusion towards cells that contain obstacles.
The graphical overview of the spatial distributions of individuals belonging to the same species (figure
S4) illustrates how obstacles strongly affect the spatial distribution of the individuals.
Figure S4. Spatial distribution of individuals that belong to one species (a) in a world with density of
obstacles (0%) and (b) in a world with density of obstacles (10%).