xviii Preface
and the emergence of complex phenomena due to the interaction between the
agents is observed. This chapter focuse s mainly on the Java library for the
Windows edition and gives a tutorial on how to use Swarm, aiming to imple-
ment a practical simulation. In later chapters, we w ill explain the programs
of complex systems simula tion implemented in Swarm. All software sources
described in the text are available from our on-line server for educational
purposes.
Chapter 4 describes evolutionary simulation examples by means of GA.
Most of them are provided with supplementary demonstration based upon
our multi-agent simulation. First, we present a simulation o f sexual selection.
In this chapter, we pre sent several hypotheses expla ining the excessive be auty
of certain animals, toge ther with verification expe riments bas e d on GAs. This
exp e riment is a remarkable demonstration of the power of female preferences
and sexual selection. We also explain an extended version of the prisoner’s
dilemma known as the “iterated prisoner’s dilemma” (IPD), in which the pris-
oner’s dilemma is repeated a number of times with the same participants,
and a final score is obtained as the sum of the scores in all iterations. In this
section, we first give a detailed discussion of the evolution of cooperation in
IPD. Next, we explain the concept of an evolutionarily stable state (ESS),
whereby once a ce rtain strategy becomes dominant in a population, invasion
by another strategy is difficult. Then we describe an experiment based on re-
search conducted by Co hen, where an IPD strategy evolves using a GA. With
these experiments, we have obs e rved that a cooperative relationship emerges
in a certain network structure. Subsequently, we give a brief explanation of
A-life a nd its philosophy. Finally, we give a detailed description of remarkable
examples, i.e., artificial cr e atures evolved by Karl Sims.
Marching is a cooperative ant behavior that can be explained by the
pheromone trail mode. Many of the ants return to the shorter p ath, secreting
additional pheromones; therefore, the ants that follow also take the shorter
path. This model can b e applied to the search for the shortest path and is
used to solve the traveling salesman problem (TSP) and routing of networks.
In Chapter 5, we give a detailed description of ant trail simulation and ant
colony optimization (ACO). We also give an advanced topic on the simulation
of cooperative behavior of ar my a nts. Army ants build br idges using their
bodies along the route from a food source to the nest. Such altruistic b e havior
helps to optimize the food ga thering performance of the ant colony. We present
a multi-agent simulation inspired by army ant behavior in which interesting
cooperation is observed in the form o f philanthropic activity. As a real-world
application, we describe an ACO-based approach to solving network routing
problems.
In Chapter 6, we describe flocking behaviors of bir ds or fis h (called “boids”).
Microscopica lly, the behavior is very simple and can be modeled using cellu-
lar automata; however, macroscopically, the behavior is chaotic and very com-
plex. The models are dominated by interactions be tween individual birds, and
their collective behavior is the result of rules to keep the optimum distance