where
Pµν
X0,...,Xc−1
is set of all possible sequences of length
ν
of populations of length
µ
. Replacement of
µ
or
ν
to the star symbol (
∗
) means
all possible values of given parameter, e.g. P∗ν
X0,...,Xc−1is set of all sequences of length νof populations of arbitrary length.
Notation
P∗
X0,...,Xc−1
and
P∗∗
X0,...,Xc−1
are inspired by Kleene closure, but it is not equivalent to it, because— according to Kleene algebra
[
12
]—double application of Kleene star is equivalent to single application and here
P∗
X0,...,Xc−1,P∗∗
X0,...,Xc−1
, i.e. population concatenation
does not occur automatically. To concatenate populations one can use flatten (
flat
, i.e. Italian
bemolle
)
[:P∗∗
X0,...,Xc−1→P∗
X0,...,Xc−1
function:
[gi,jµ(j)−1
i=0 ν−1
j=0
=g0,0, . . . , gµ(0)−1,0, . . . , . . . , . . . , g0,ν−1, . . . , gµ(ν−1)−1,ν−1(6)
1.3 Fitness function
Set of genotypes is by itself not very useful if there is no objective function to optimize over it, or—to put it dierently—if there is no
optimization problem to solve. In GA field, the term
fitness function
is used and common practice is to define the problem in such a way, that
this function is maximized. Fitness function, that is
f:G→Ò
, represents given maximization problem, but it does not need necessarily be
formulated explicitly and calculation of its values might be costly. Fitness function ensures gradual enhancement of population “quality” in
evolutionary process. In
multi-objective GA
the fitness function is extended to the so-called
cost function G→Òd
, where
d∈Î+
and this
function is able to maximize many, often competing, parameters simultaneously and solution of such problem has form of set called
Pareto
frontier [13]. This work, however, is devoted to d= 1 case.
1.4 Variation operators
The essence of metaheuristics is intelligent search of space of potential solutions with intention of finding the best one. In order to achieve
that in GA approach the mechanism of exploitation of successful genotypes’ genes is applied. This mechanism includes variation operator
dependent on representation, which is a function
vn,m:Vn,m
X0,...,Xc−1
, where
Vn,m
X0,...,Xc−1≡Pn
X0,...,Xc−1→Pm
X0,...,Xc−1
. Variation
vn,m
applied on
parents (gi)n−1
i=0
results in
ospring (hi)m−1
i=0
, where every element is called
child
. Application of variation on population will be denoted
with vn,m(gi)n−1
i=0 or similar.
There are three main cases of variation:
mutation
(or
unary variation
)
v1,1
and two
recombinations
(or
binary variations
)—
v2,1
(one
child) and
v2,2
(two children). Variations of other kinds are less often used and are out of the scope of this work. Variations can be composed
and are often used that way. For case of recombination and mutation the canonical composition is to first apply recombination and
then the mutation. Mutation is in that case, using term taken from functional programming,
mapped
on every child obtained from the
recombination process, i.e.
mapnv1,1◦v2,n
, where in special case of operations on populations
mapn:V1,1
X0,...,Xc−1→Vn,n
X0,...,Xc−1
, i.e.
mapµv1,1(gi)µ−1
i=0 =v1,1(gi)µ−1
i=0 .
1.5 Probability distributions
Variations are often based on drawing procedure from some probability distribution. In this work normal
N
, uniform
U
and special case of
Bernoulli distributions B will be used—their definitions can be easily found in literature. Normal distribution with mean
µ
and standard
deviation
σ
is marked here
N(µ,σ)
(contrary to conventional form
N(µ,σ2)
). Uniform distribution has continuous form
U(a,b)
for
a,b∈Ò
, where values are drawn from closed interval
[a,b]
, and discrete form
U{a,b}
for
a,b∈Ú
or
a,b∈Â
, where values are drawn
from set [a,b]Úor {a,b}⊂Â, respectively. Furthermore, the following notation for drawing from set Xis also assumed:
U(X)=U(a,b) ⇔ X=[a,b]
U{a,b} ⇔ X=[a,b]Ú∨X={a,b}⊂Â(7)
For Bernoulli distribution B
(1,p)
the probability of drawing value
1
(equivalent to
true ∈Â
) equals to
p
. Value
0
(equivalent to
false ∈Â
)
can be drawn with probability 1−p.
1.6 Examples of mutation operators
•Gaussian mutation
is a floating-point variation having two parameters:
σ∈Ò+
and
p∈ [0,1]
. Variation of each gene in a given
genotype occurs with probability
p
and consists of addition of a value
σ· N(0,1)
. In case where such mutation was to move
locus i
gene value out of constraints imposed by Xiset, the inf Xior sup Xivalue is used instead.
•Swap mutation
is an uniform genotype variation, where for genotype of size
c
it consists of swapping values of two genes with
loci
drawn from U(ιc).
•Random-reset mutation
is a binary, floating-point and integer variation having one parameter
p∈ [0,1]
. Each gene of a given
genotype is changed with probability p∈ [0,1]and variation of gene locus iconsists of assigning new value drawn from U(Xi).
2