formation is coded by a fixed-length bit sub-string, as
depicted in Figure 4.
Figure 4: The chromosome structure.
The number of bits representing each transforma-
tion depends on the transformation range, given the
precision (0.01 in our experimentation). Therefore
each substring represents a fixed floating point real
number. The first bit is used for coding the sign,
whilst the remaining bits represent the magnitude of
the transformation parameter.
The Simple-GA (Goldberg, 1989) is able to ex-
plore effectively a multimodal search space. How-
ever it tends to find one single optimum, thus it can
still be trapped in local optima. This problem is the
result of genetic drift (De Jong, 1975), which is the
genetic algorithm’s tendency to select a population
with similar chromosomes, thus to converge towards
one solution. One strategy to overcome this problem
consists in maintaining population diversity, so that
different sub-populations are able to explore different
portions of the search space, in order to identify and
converge towards different multiple optima. Niche
based GAs represent an elegant and nature inspired
solution to address the issue of keeping the population
diversity. In a multimodal search space, each peak
can be thought of as a niche explored by a subpopula-
tion, similarly to nature where there are environments
(niches) that can support different types of life (Gold-
berg, 1989), as depicted in Figure 5.
Figure 5: The convergence of Simple-GA versus Niche-
GA.
In nature, a niche is able to support a certain num-
ber of individuals depending on the niche fertility and
the individual capacity of exploiting this fertility. If
there are too many individuals, the niche will not be
able to support all of them, and less competitive indi-
viduals are likely to die. Differently, if there are too
few individuals, they will start to reproduce quickly
in order to exploit the niche. Two of most success-
ful mechanisms are the fitness sharing (Goldberg and
Richardson, 1987) and deterministic crowding (Mah-
foud, 1995).
The idea behind the sharing method is to reduce
the fitness of individuals that are very similar in their
chromosome. By this way, individuals that uniquely
exploit portions of the search space are privileged for
reproduction, while discouraging redundant individ-
uals in the same area. The method is based on the
determination of the shared fitness of the individual i
as
f
′
(i) =
f(i)
m
i
(2)
where f(i) is the individual’s raw fitness, and m
i
is the
niche count, that is defined as
m
i
=
n
∑
j=1
sh(d(i, j)) (3)
The sharing function sh depends on the distance (dis-
similarity) d(i, j) between the individual i and the in-
dividual j. It is a monotonically decreasing function,
so that the niche count is reduced if individuals are
closer. In particular, it returns 1 if the elements are
identical, and 0 if they exceed some threshold of dis-
similarity. The function originally proposed by Gold-
berg (Goldberg and Richardson, 1987) is defined as
sh(d) =
(
1− (
d
σ
share
)
α
if d < σ
share
0 otherwise
(4)
where d is the distance, α is a constant used to regu-
late the shape of the sharing function, and σ
share
the
dissimilarity threshold. When α = 1, the function is
triangular.
The chromosome similarity can be measured by
different metrics, aimed to measure the genotype or
phenotype similarity. A genotype similarity metric
is domain independent, as it considers the distance
between string coding of chromosomes, such as the
Hamming distance. A phenotype similarity is related
to the chromosome structure in genes and to their se-
mantic, thus it is domain specific. The main drawback
of the sharing approach is in estimating proper val-
ues for the sharing function parameters, moreover the
complexity for the fitness evaluation becomes O(N
2
),
since a pairwise similarity measure is required at each
evaluation step.
The other mechanism for maintaining popula-
tion diversity is the determinist crowding (Mahfoud,
1992), that is an evolution of De Jong’s crowding
schema (De Jong, 1975). In De Jong’s schema, at
each generation only a portion of the population,
called population gap is selected for reproduction
ICEIS 2007 - International Conference on Enterprise Information Systems
344