Step 1
Step 1
Step 2- Select a crossover point at random and swap the bits at the
right site.
After crossover, the new offsprings generated look as follows:
Two-Point Crossover
Multi-Point Crossover
Uniform Crossover
Step 1- Select two parents for mating.
Step 2- At each bit position of the parents, toss a coin (let H=1 and
T=0).
Half-Uniform Crossover
Step 2- Toss a coin (let H=1 and T=0) only if the corresponding bits in
P1 and P2 do not match.
Step 3- Follow the algorithm mentioned below to generate both
offsprings:
if Toss=1,
then swap the bits
if Toss=0,
then don’t swap
Note: Shuffle genes for the right site and left site separately.
Step 3- Perform Single Point Crossover.
Matrix Crossover
Three-Parent Crossover
Linear Crossover
Cycle Crossover
Step 1- Select two parents for mating.
In this bit flip mutation, we select one or more random bits and flip
them. This is used for binary encoded GAs.
Swap Mutation
In swap mutation, we select two positions on the chromosome at
random, and interchange the values. This is common in permutation
based encodings.
Scramble Mutation
Inversion Mutation
Selection:
Tournament Selection
Rank Selection also works with negative fitness values and is mostly
used when the individuals in the population have very close fitness
values (this happens usually at the end of the run). This leads to each
individual having an almost equal share of the pie (like in case of fitness
proportionate selection) as shown in the following image and hence each
individual no matter how fit relative to each other has an approximately
same probability of getting selected as a parent. This in turn leads to a
loss in the selection pressure towards fitter individuals, making the GA
to make poor parent selections in such situations.
A 8.1 1
B 8.0 4
C 8.05 2
D 7.95 6
E 8.02 3
F 7.99 5
Random Selection