Computer Science Department Crossover and Mutation Done by:Noor AL_Badareen Supervised by: Dr'Eyas Q - PowerPoint PPT Presentation

1 / 19
About This Presentation
Title:

Computer Science Department Crossover and Mutation Done by:Noor AL_Badareen Supervised by: Dr'Eyas Q

Description:

Type and implementation of operators depends on encoding and also on a problem. There are many ways ... ENCORE, the EvolutioNary COmputation REpository network ... – PowerPoint PPT presentation

Number of Views:83
Avg rating:3.0/5.0
Slides: 20
Provided by: User149
Category:

less

Transcript and Presenter's Notes

Title: Computer Science Department Crossover and Mutation Done by:Noor AL_Badareen Supervised by: Dr'Eyas Q


1
Computer Science DepartmentCrossover and
Mutation Done byNoor AL_BadareenSupervised
by Dr.Eyas Qwasmeh
2
Crossover and Mutation
3
Introduction
  • Crossover and mutation are two basic operators of
    GA. Performance of GA very depends on them. Type
    and implementation of operators depends on
    encoding and also on a problem.
  • There are many ways how to do crossover and
    mutation. In this paper are only some examples
    and suggestions how to do it for several encoding.

4
Several Encoding
  • Binary Encoding
  • Permutation Encoding
  • Value Encoding
  • Tree Encoding

5
Binary Encoding
  • 1) Single point crossover
  • one crossover point is selected, binary string
    from beginning of chromosome to the crossover
    point is copied from one parent, the rest is
    copied from the second parent

6
1100101111011111 11001111
7
Binary Encoding
  • 2)Two point crossover - two crossover point are
    selected, binary string from beginning of
    chromosome to the first crossover point is copied
    from one parent, the part from the first to the
    second crossover point is copied from the second
    parent and the rest is copied from the first
    parent

8
11001011 11011111 11011111
9
Binary Encoding
  • 3)Uniform crossover - bits are randomly copied
    from the first or from the second parent
  • 11001011 11011101 11011111

10
Binary Encoding
  • 4)Arithmetic crossover - some arithmetic
    operation is performed to make a new offspring
  • 11001011 11011111 11001011 (AND)

11
Binary Encoding
  • 5)Bit inversion - selected bits are inverted

11001001 gt  10001001
12
Permutation Encoding
  • Single point crossover - one crossover point is
    selected, till this point the permutation is
    copied from the first parent, then the second
    parent is scanned and if the number is not yet in
    the offspring it is added

13
  • Note there are more ways how to produce the rest
    after crossover point
  • (1 2 3 4 5 6 7 8 9) (4 5 3 6 8 9 7 2 1) (1 2
    3 4 5 6 8 9 7)

14
Permutation Encoding
  • Order changing in mutation
  • two numbers are selected and exchanged
  • (1 2 3 4 5 6 8 9 7) gt (1 8 3 4 5 6 2 9 7)

15
Value Encoding
  • -all crossover from binary encoding can be used
  • - adding mutation -a small number (for real
    value encoding) - to selected values is added (or
    subtracted) a small number
  • (1.29  5.68  2.86  4.11  5.55) gt (1.29  5.68
     2.73  4.22  5.55)

16
Tree Encoding
  • Tree crossover - in both parent one crossover
    point is selected, parents are divided in that
    point and exchange part below crossover point to
    produce new offspring

17
(No Transcript)
18
  • Mutation
  • Changing operator, number - selected nodes are
    changed

19
References-
  • ENCORE, the EvolutioNary COmputation REpository
    networkftp//alife.santafe.edu/pub/USER-AREA/EC/
    (there are also some others nodes)
  • FAQ - The Hitch-Hiker's Guide to Evolutionary
    Computationftp//alife.santafe.edu/pub/USER-AREA/
    EC/FAQ/www/index.html
  • FAQ - Genetic programminghttp//www-dept.cs.ucl.a
    c.uk/research/genprog/gp2faq/gp2faq.html
  • The Genetic Algorithms Archive - many links,
    information about mailing list, some fun
    stuffhttp//www.aic.nrl.navy.mil80/galist/
  • Artificial Life Online - links, if you are
    looking for some introductory materials, look
    herehttp//alife.santafe.edu/
  • Yahoo! ScienceComputer ScienceAlgorithmsGenetic
    Algorithms - directory of other
    linkshttp//www.yahoo.com/Science/Computer_Scienc
    e/Algorithms/Genetic_Algorithms/
Write a Comment
User Comments (0)
About PowerShow.com