Genetic Algorithm - PowerPoint PPT Presentation

1 / 24
About This Presentation
Title:

Genetic Algorithm

Description:

Title: Genetic Algorithm Author: user Last modified by: user Created Date: 4/22/2003 3:02:01 AM Document presentation format: Company – PowerPoint PPT presentation

Number of Views:16
Avg rating:3.0/5.0
Slides: 25
Provided by: hin110
Category:

less

Transcript and Presenter's Notes

Title: Genetic Algorithm


1
Genetic Algorithm
  • ???????

2
???????
  • 1975?????????John Holland????
  • ??????????????????
  • ??????????????????????,???????????????????,???????
    ??????????,?????????????????,???????????????????

3
???????(?)
  • ???????
  • ????
  • ????

0
1
1
0
1
0
0
1
2
8
4
3
6
1
5
7
9
2
4
???????(?)
  • ???????
  • ??/??(Reproduction / Selection)
  • ????????????????????????????????????????
  • ?????(roulette wheel selection)
  • ?????????????????????,?????????????(????????????),
    ??????????????,???????????????????
  • ???????N???,fi???i?????????,????????
    ????????

????????????
5
???????(?)
  • ?????(tournament selection)
  • ??????????,???????????????,??????????????????????
  • ??????????
  • ??(Crossover)
  • ???????????????,??????????,??????????,????????????
    ,??????????
  • ?????????????????

6
???????(?)
  • ?????
  • ????
  • ????
  • ????

A 00000 ? A 00111 B 11111 ?
B 11000
A 00000 ? A 00110 B 11111 ?
B 11001
A 00000 A 00110 B
11111 B 11001
??00110
7
???????(?)
  • ??(Mutation)
  • ???????,?????????,???????????????
  • ?????????????????
  • ?????????????????????????

A 01010 ? A 01000
8
???????(?)
  • ????

??????????? ??????????? ???????????
????? ????
?????? ??????
??? ???????
??? ???????
????
??? ????? ??
No
????
Yes
?????
9
???????(?)
  • ????
  • ???????m???,??????n????,???????kn???
  • ????????????
  • ??m??????i????
  • ?i???????????
  • ??i??????????
  • ?im??????m???????
  • ????????????8,??????3
  • ?????,??????

10
???????(?)
  • ??
  • ??f(x)x2 ????
  • x??????0, 32
  • ??5???????
  • ??????1.0
  • ??????0.1

11
???????(?)
  • ??????
  • ????????4
  • ????????????

????? ??? ??x?
1 01110 14
2 11000 24
3 10001 17
4 00111 7
12
???????(?)
  • ????
  • ???f(x)x2??????
  • ???????????f1110
  • ????????f278
  • ???????????
  • ???????????

x f(x) fi/?f fi / f ????
14 196 0.18 0.71 1
24 576 0.52 2.07 2
17 289 0.26 1.04 1
7 49 0.04 0.18 0
13
???????(?)
  • ????
  • ???????????f1845
  • ????????f461

??? ?? ??? ???? x f(x)
01110 2 2 01000 8 64
11000 1 2 11110 30 900
11000 4 4 11001 25 625
10001 3 4 10000 16 256
14
???????(?)
  • ????
  • ????????
  • ????????(45)0.12
  • ?????????
  • ???????????
  • ??????????????????
  • 01000 ? 01100
  • ???????????????????
  • ????
  • ??????????????????????,??,?????,???????????????

15
???????(?)
  • ????
  • ????????????,??????,??????????????
  • ??????????????????,?????????????,????????????
  • ??????????,?????????,???????????????
  • ?????????????,?????????,??????????????????

16
???????(?)
  • ????
  • ?????,??????????????
  • ????
  • ?????,????????????,????????????,????,?????????????
    ???????,????????
  • ?????,????????
  • ????
  • ??????????,?????????????????????????????,?????????
    ???????,????????????

17
???????(?)
  • ?????????
  • ????????????????????,????????????????,????????????
    ????,???????
  • ??????
  • ???????????(?????????????)
  • ???????????????????

18
??????
  • ???????????,??????????,???????????,???????
  • ???????????????????,??,????????????,??????????????
    ??
  • ?????????????????,??????????,????????

19
??????(?)
  • ????????
  • ??
  • ????????????????????????

??
1 2 3 4 5 6 7
8 9
8
4
3
6
1
5
7
9
2
??
20
??????(?)
1 2 3 4 5 6 7
8 9
8
4
3
6
1
5
7
9
2
  • ?
  • ?????,???????????,??,?????????????,???????????????
    ???????,?????????????????,??,????????1,?????1?????
    ???????????
  • ?????????????,???????????????????????????,??,?????
    ???????

21
??????(?)
  • ????
  • ???????m???,??????n????,???????kn???
  • ????????????
  • ??m??????i???
  • ??i??????????
  • ?im??????m???????
  • ????????????7,??????3
  • ?????,??????

22
??????(?)
  • ????
  • ?????
  • ??????????????,??????????,???????

8
4
3
6
1
5
7
9
2
8
5
3
6
1
4
7
9
2
23
??????(?)
  • ????
  • ?? i1
  • ??uniform(0,1)??????r,?r?????,?????3,??ii1?????2
  • ?????i?????j????
  • ?????j???????y??z????????
  • ????????????????,??ii1?????2

24
??????(?)
  • ?????
  • ?????????
Write a Comment
User Comments (0)
About PowerShow.com