226 Agent-Based Modeling and Simulation with Swarm
the entire population perishes at the 25th step. The minimum nutritive ratio
of sugar at which the agents survive is about 50%.
7.10.4.2 Alternating seasons
Next, alternating seasons are introduced as a form o f dynamic environmen-
tal cha nge. Taking the upper half of Sugarscape as the northern hemispher e
and the lower half as the southern hemisphere, the hemispheres alternate be-
tween summer a nd winter every 50 steps such that both hemispheres have
opposing seasons. The sugar yield in winter is 1/8 of that in summer. The
season rule is summarized as follows [33, p. 45].
Rule for season-dependent sugar growth S
αβγ
:
• The sea son is set to summer in the upper (northern) half and winter in
the lower (southern) half of Sugarscape.
• The seasons are swapped after a period of time α (summer bec omes
winter and winter becomes summer).
• Sugar grows at a rate of γ units per step in summer, and a rate of γ
units per β steps in winter.
Conducting the experiment under these conditions, the agents in the win-
ter hemisphere ultimately co nsume all of the s ugar, and their population is
drastically reduced. Only agents located around the equator can survive by
migrating to the summer hemisphere. However, once the seasons are swapped
after 50 steps, the agents that have been consuming generous amounts of sugar
during the summer suddenly face a severe winter (Fig. 7.37), and agents die
in large numbers if they do not reach the summer hemisphere. Agents that
successfully relocate produce offspring and increase in number (Fig. 7.38).
If the seasons are swapped an odd number of times, values of the average
vision and metabolic rate both improve, whereas with an even number of swaps
these attributes degenerate slightly. Agents with supe rior features adapt well
to the change in season and gather together inside the summer hemisphere.
However, since after an odd number of swaps the season in that hemisphere
is winter, a la rge number of agents die, and the remaining agents in the oppo-
site hemisphere produce offspring and increase the population. Therefore , the
effect of location-based selection is stronger tha n that of superior or inferior
features, resulting in an overall degeneration of the attributes. Furthermore,
the average reserve size increases rapidly immediately after the swap, owing to
the small number of agents refilling their reserves in the summer hemisphere
(Fig. 7.39).
7.10.4.3 Generation of pollution
When the climate alternates, the environment exerts a unidirectional in-
fluence on the agents. In contrast, in this section we introduce pollution as an