MQFANG@PUBLIC.BTA.NET.CN - PowerPoint PPT Presentation

About This Presentation
Title:

MQFANG@PUBLIC.BTA.NET.CN

Description:

Title: Author: ECWEB1 Last modified by: Meiqi Fang Created Date: 7/15/2004 9:25:37 AM Document presentation format: – PowerPoint PPT presentation

Number of Views:85
Avg rating:3.0/5.0
Slides: 214
Provided by: ECW8
Category:
Tags: bta | mqfang | net | public | emacs

less

Transcript and Presenter's Notes

Title: MQFANG@PUBLIC.BTA.NET.CN


1
??????????
  • ??????????
  • ???
  • MQFANG_at_PUBLIC.BTA.NET.CN

2
??
  • ?????????????
  • ??????????????
  • ???????????,???????????????????,??????????????!

3
  • ????????????????,?????,??????????????????????????,
    ????,?????????????????,???????????????
  • ?????????????????????????????????
  • ?????????????,????????,?????????,???????????,?????
    ?,???????..??,?????????????????????????

4
??? ?????
  1. ???????????????
  2. ???????
  3. ????????

5
??? ????
  1. ????
  2. ??????

6
??? ???????
  1. ??
  2. ?????
  3. ??????SWARM???
  4. ??????STARLOGO???
  5. ????

7
??? ?????
  • I ???????????????

8
I ??????!
9
???????
  • ????????????
  • ???????????????
  • ???????????????????????,??????????,?????
  • ???????????(??),?????????????

10
??????
  • ??????????????????
  • ??????????????,
  • ???,?????
  • ?????????

11
????
  • ????????????????????? ????,????
  • ????????????,??????????,??????????
  • ?? ?????? ??????

12
????????
  • 1963????,???????????????????????????,?????????????
    ???????????????,????????????????????????,?????????
    ,???????????????????????,????????????????????????
    ??,??????????????????????????,?????????????????,??
    ???????????

13
?????
  • ???????
  • ??????????????
  • ??????????????
  • ????????????????
  • ???????? ???? ???? ????????? ??????????

14
  • ???????????,????????????????????????????????????
    ????????????????,???????????????,?????????????????
    ??????????????????,??????????????????????????????,
    ?????????????????????

15
????????????
  • ?????????????
  • ????
  • ????????
  • ????????
  • ???
  • ?????????

16
???????????,??????
??????????????,???????????????????????????????,???
????????????????????????????????????,??????????
17
??????????
  • ?? ???????.??? ???????
  • ??????????
  • ???????????? ?????????????
  • ???????????? ??????
  • ??????????

18
???????????
  • ?????????????????
  • ??????????(new age )??

19
II ???????
20
????
  • ???????????????,????????????????
  • ????????????????????

21
????????????????????
  • ?????????????????? ??? ???????
  • ???????????????(????????????????)
  • ????????????????
  • ?????????????(??????)
  • ????????????

22
  • ???????????????,????????????????,?????????????????
    ??????????????????,???????????????????

23
??????????
  • ????????????????,
  • ?????????
  • ????? ?????????????windows?,??????,?????????windo
    ws????.
  • ????????????? DVD?? ??????????

24
???????????
  • ????????????????,?????????????
  • ?????????????????

25
???????
  • ?????????????????
  • ???????????????
  • ?????????????????? ?????????????????
  • ??????????????????
  • ?????????????????
  • ??vs??
  • ?? ?????????????????? ???????? Sheldrake
    ???????

26
???????2
  • ??????,?????????????????????????????????
  • ??????????????
  • ????????????????
  • ???? ?????????,???????
  • ??? ?????????,???????????

27
?????
  • ???? ??????????
  • ?????????,???????????????????,?????????????????,??
    ??????????????????????????
  • ?????????????? ???? ?????

28
3. ???????
29
???????
  • ??
  • ???
  • ????
  • ???
  • ????????
  • ????,?????(????)
  • ?????
  • ????

30
????????????
  • ???????????????????????????
  • ???????(????????????????)?????????
  • ????????? ????? ???????????????? ??????????
    ????????????????

31
????????
  • ???
  • ??????
  • ???? ?? ?? ??
  • ????? ??? ??? ????

32
???????
  • 2002?5?,????????????????????????????????????Nan
    oarchaeum equitans????????????,?????DNA?????50???
    ?????????????1000???,???????????????500???????????
    ????,????????????500?????
  • ?????????????,????????????????????,????????????,??
    ??????,????????(????????)???

33
??????
??????
34
?????
?????
35
????
?????????????Franceso Sylos Labini
?????????????,???????,???????????
36
(No Transcript)
37
CAS?????????
  • CAS?????????
  • ??????(??????????,??????????????????,?????????????
    ??????,)??????????????????????,???????????????????
    ,????????????????,?????????????????????? 1
    ??????,????,????????? 2000? P252

??
38
????????????
  • ??????
  • ???? ???? ????????
  • ??????????
  • ????? ???
  • ???????????
  • ?????? ???? ????????
  • ????? ????? ????

39
????????????
  • CAS??
  • ???????????? ????? ???????

40
????????
  • 1860 ?,?????? Delaunay( Charles Eugene
    Delaunay,1816-1872)?????????????????????,?????,???
    ??????,?????????
  • 1970?, ???????????,??????20???,???????????,???
    Delaunay ???????
  • ?????
  • ????????????????????????????????????
  • ?????????????,??????,??????

41
????
  • Sugar scape ?? ???? ?????????????
  • ???????????????????
  • ????????????????????
  • ?????????????????????????????????????????????

42
????????????
????????? ???? ???? ????
  • ???
  • ???
  • ???
  • ????
  • ? Swarm Repast Ascape Satrlogo Dynamo?

43
????????????????
  • ??????????????????????????
  • ???????????????

44
??? ????
  • ????
  • ??????

45
????

46
??
  • ????????????,?????????????????????????(??)??
    ??
  • ???,????????????????????????,???????????????
    ?????????????????

47
????
  • ????????????????????????,?????????????????????????
    ????????????????????????????????????????
  • ???????????????????,??????????????????????????????

48
?????????
  • ???????????????,?????????
  • (1)??????????????????????
  • (2)???????????????????

49
?????????(?)
  • (3)?????? ??????????????????,????????????????
    ??????
  • (4)?????? ????????????????????????????????????????
    ??
  • ????????,??????,???????

50
?????????
  • ????????????,??????????????????????????,??????????
    ?????????????????????????????????

51
????????
  • ? ?????
  • ???????????????????????,????????
  • ???????????????????,?????????,?????????????????,??
    ????????????????

52
  • ? ?????
  • ??????????????????
  • ???????????????
  • ???????????????
  • ??????,?????????

53
???????????
  • ???????????
  • ????????????
  • ???????????????
  • ??????????????????
  • ????????????????????

54
???????? ???????
  • ????????CAS(Complex Adaptive System)?
  • ???????????????????(Adaptive Agent),??????

55
  • ???????,???????????????????,????????????????,?
    ?????????????????????
  • ??????????,????????,?????????,???????????????????,
    ????????????

56
?????????
  • ?????
  • ????
  • ??
  • ??

57
?????Agent-Based Modelling
  • ????????????????,??????????????
  • ???????????
  • ABM???????????????,??????????????

58
CAS????
  • 1994?????
  • ???????????????????(Adaptive Agent),?????????????,
    ???????????????????,????????????????,?????????
    ???????????????????????,????????,?????????,???????
    ????????????,????????????

59
??CAS?????
  • A)??(Adaptive Agent)?????????????CAS
    ?????????????????????,????????????????????????????
    ??
  • B)?????(??????)?????,????,????????????????????????
    ???????????????,?????????,????????????????????????
    ????CAS?????????????????,???????????????????

60
??CAS?????
  • C)?????????????????,??????????,???????????????????
    ???????,???????????????????,????????
  • D)?????????????????,??????????????

61
CAS?????????6???
  • ??????? ???????????????????????,???????????????
    ?????????????????????????????????????????
  • ??????? ?????????????,????????????????????????
    ??????????????????????????????????????????

62
CAS?????????6???
  • ??????? ????????????????????????(???????????)??
    ?????????????????????????,?????????????
  • ?????? ???????,??????????????????,????????,????
    ?????????

63
CAS?????????6???
  • ???? ?????????????????????????,????????????????
    ???????????????????????,?????????????????????????
  • ??????? ???????????????????????,???????????????
    ????????,??????????????????,????????????

64
CAS?7?????
  • 1.??(Aggregation)??????
  • ????????????????????????,???????????
  • ?????????????????????(meta-agent)?
  • 2.??(Tag)
  • ??????????,???????????????????????????????????????
    ??,???????????????????????????????

65
  • 3.???(Non-linearity)
  • ?????????????????????????????????????????,????????
    ??????????????????,??????????????
  • 4.?(Flow)
  • ???????????????????????CAS????????????????????????
    ,?????????????

66
  • 5.???(Diversity)
  • CAS????,?CAS???,??????????????????????????????????
    ????????(niche,???????)
  • CAS????,???????????????,???????,??????????
  • CAS?????????????????CAS?????????

67
  • 6.????(Internal Model)
  • ???????????????????????,??????????????,????,??????
    ????????,?????,?????????????????????????,?????????
    ?
  • 7. ???(Building Blocks)
  • ???????????????????????????,CAS???????????????????
    ????,??????????,???????????????,????????????

68
??? ???????
  1. ??
  2. ?????
  3. ??????SWARM???
  4. ??????STARLOGO???
  5. ????

69
????????????????
  • ??
  • ????
  • ??
  • ??????????CAS

70
????
  • ?????????/??????????????????,?????????????
  • ??????????????????

71
?????
  • ????????????,????????????????,????????????????
    ?????????????,???????????????
  • ??????????????????,????????????,????????????????
    ?????????????,??????????????????

72
(No Transcript)
73
??????
  • ??????????,???????????????????????,???????????????
    ????
  • ?????????????
  • ????????????????????????
  • ????,?????????????????????????
  • ????????????,?????????????????,???????????????????
    ,???????????????????

74
????
  • ?????????,??????????????????
  • ??????????????????????????????????????????????????
    ?
  • ????????????????,?????????????????????????,?????
    ?(???)??????(????)???

75
????
  • ????????????????????
  • (1)?????????
  • (2)??????
  • (3)??????
  • (4)???????????

76
? ???????
  • ???????
  • ????
  • ???????
  • ????
  • ????
  • ????

77
?????????
  • ???????????,?????????,????????????????????????????
    ??????,????????????,??????????????,???????????,???
    ?????????????
  • ????????????????????????????????????????????????
    ???????????????? ????,????????????????,?????????
  • ???? ??????????????

78
?????????
  • ???????,?????????,?????????????????
    ??,????????????,?????,???????????????? ??
  • (1)????????????????????
  • (2)????
  • (3)????
  • (4)????????

79
? ??????????
  • ????????????????
  • ??????????
  • ???????????????????????
  • ?????
  • ?????????????

80
? ?????????
  • ???????????
  • ?????????
  • ??????????????????????????????????????
    ???????????
  • ?????????????
  • ?????????????

81
? ??????????
  • ???
  • ??????????

82
???????

83
????
  • ??
  • ???????
  • ??????????
  • ?????????

84
  • ?????????????
  • ??????????
  • ??????????
  • ????????????????
  • ????????????????

85
?????
  • ?????????????????
  • ????
  • ????
  • ????
  • ????
  • ??????

86
??????
  • ????
  • ?????
  • CAS

87
??????
  • ??????????????????,?????????????????????????????,?
    ??????????????????????????????????????,?????????,?
    ??????????????

88
???????
  • ???????
  • ???????
  • ???????
  • ????????????

89
???????
  • ??????
  • ????????
  • ????????
  • ????,??????????????,???????????

90
?????????????
  • ???????????????????
  • ???????????????????
  • ??????????????

91
???????
  • ???????????,??????????????????,????????????,??????
    ????????????????

92
?????-?????
  • ?????????????
  • ?PC??????????????
  • ????????,?????,?????,????
  • ????????,?email,????,????
  • ????,???????agent,agent??????,???????????????
  • PC,?????,?,?????,??????????

93
??
  • ????????????,?????????????,????????
  • ??????,????????????,?????????????????????
  • ????????,??,??,??????

94
?????????
  • ???????????????????????
  • ?????????
  • ?????????
  • ????????????
  • ????????????

95
?????????
  • ?????????????
  • ????????
  • ????????
  • ?????,????????

96
?????????
97
????????????
  • CAS complex adaptive system
  • MAS Multi-Agent System
  • ABM Agent based Model
  • ACE Agent based Computional Economy
  • ???
  • ??????????????????????(????? ???? ???? ????
    ???? ?????? ???? ?????? ?????? ?????)

98
??????????
  • (1)???????????????????????????????????????
  • (2)?????????,??????????????,???????,????????,?????
    ???????

99
??????????(?)
  • (3)?????????????,?????????????????????????????????
    ??????????????????????????????
  • (4)???????????, ???????????????????????????????

100
?????1000?????????????????????????,????????????,??
??????????????????????
? ? ???? ?????
???? ???? ????(??PERT?CPM) ???? ????? ???? ???? ???? ?? 60 43 28 24 16 8 7 7 12 29 21 14 12 8 4 3 3 6
?? 205 100
???????????
101
??????????(?)
  • (5)??????????????
  • ?????,??????????????????????,?????????????????????
    ?????
  • ?????????,?????????,??????????????????????????????
    ???
  • ????????????????,????????????,?????????,?????,????
    ???????

102
??????????(?)
  • (6)?????????????????,????????????,?????????????,??
    ?????????????????????????,?????????
  • (7)???????????????????????????????????????????????
    ?,???????????????????????,?????????????????

103
?????????
  • ??? ????????????????????,???????????????????,????
    ??????
  • ??? ??????,??????????????????????????????
  • ??? ???????????????????,?????????????????????????
    ??????????,?????????????

104
????????
  • ????????????????????????,???????????????????,?????
    ?????????????
  • ???????,?????????????,????????,???????????????????
    ?????????,?????????
  • ??,???????????????????,???????????????????????????
    ?????
  • ????????????????????,????????????????????

105
?????????
  • Swarm
  • Starlogo

106
SWARM??
  • 1???
  • 2?Swarm??????
  • 3????????
  • 4? ?Swarm????????
  • 5??Swarm???????
  • 6?Swarm????

107
1???
  • ????????????????,?????,??????,??????????????????
    ???????,????????
  • ??????????????????????,?????????????????????
  • ???????????????????????
  • Swarm???????????????????????????????????????????,
    ????????????????,????????????????????

108
2?Swarm??????
Swarm??????????,??????????????????? ?????????????
Swarm???? Swarm??Objective C??,Objective
C????????C??????????Tcl/Tk??,???????????????????
????Unix???????Windows 95/98/NT?
109
???? Swarm?? SUN JDK 1.2????????,???????,?Jbuild
er3,Visual Cafe 4?????????????Java?Swarm??? Unix?
1)?????Java,??????Swarm???Java?????Unix?,????Kaf
fe(http//www.alphaworks.ibm.com/tech/jikes),Black
down JDK(http//www.Blackdown.org)?SUN
JDK(http//java.sun.com/products/jdk/1.2/)? 2)???
?????emacs,emacs???GNU????,???????,????,??????,???
???????????,???????
110
3?SWARM????????????
??(object)??????????????????????????????????????,
??????,???????????????????,?????????????????????,?
????????????????,???????????,???????????,?????????
????????,???????????????????????????????
111
(No Transcript)
112
(No Transcript)
113
?????
?? ????,???????? ???? ?????????? ?? ??.
?????????????
? ??????????? ?? ?????????? ?? ????????????
114
????
?? ????????(??)???(?????????)???? ?? ?????????????
????? ?? ??????????,????????,?????????
??
??
115
4??Swarm????????
Swarm????????????????????????Swarm??????????????
??????????????? Swarm??????????,??????????????,?
?????????????????????????????????? ????Swarm?????
??????????????????????????????
116
?????????
  • get parameters
  • initialize
  • for 1 to timesteps do
  • for 1 to num_agents do
  • agent-i-do-something
  • end for
  • show state
  • end for
  • quit

???,????????????
???????????????????
??????????
117
????
???
????
118
  • ??swarm
  • SWARM??????(??)???????,????????????????????sw
    arm??????????
  • ????swarm??????????????????(??)?swarm???????
    ?????,???????????????????????
  • ?????????????,?????????????????,???????????SWARM
    ??????????????,???????????????????????????????????
    ????????????,??????????????????
  • ??????swarm?????????????????????????,????????
    ??????????????????????????

119
  • ???swarm
  • ??swarm???????????????????????????,?????????
    ?????????SWARM??????,??????????????swarm?swarm
    ??
  • ???????????Swarm
  • ????????????????????,??????????,??????
  • ???????????,????????????????

?????????,???swarm?????????????????????????????,
???????,????????Swarm ???????,?????????????,????
????????????
120
(No Transcript)
121
???
  • Swarm????????????????
  • ??????????????, ??????????,???????????????????????
    ???

???
?????10.2
??
122
??????????(GUI)
????????
?????
  • ???????????????
  • ??????????????????????????????????????

???
?????
????
??
123
??????(GUI)
  • ?????
  • ???
  • ???
  • ???
  • Digraphs
  • ????????????????????,??????

124
???????(GUI)????
  • ???????????????????????

????
????
????
???
???
??
125
????
  • ???????????????????????????
  • ??????????????,????????????????????????????????
  • ????????????,??????????????????,???????????????
  • ??????????????????????
  • ??????Swarm???????????????????

126
????Swarm?????????(bottom-up) ??????
127
5??Swarm???????
??(Heatbugs) ???Swarm???????,????????????????????
???????
128
????
129
?????
130
?????????swarm ????????????swarm????HeatbugModel
Swarm???
interface HeatbugModelSwarm Swarm int
numBugs // simulation parameters double
evaporationRate double diffuseConstant int
worldXSize, worldYSize int minIdealTemp,
maxIdealTemp int minOutputHeat, maxOutputHeat
double randomMoveProbability id modelActions
// scheduling data structures id
modelSchedule id heatbugList // list of all
the heatbugs Grid2d world // objects
representing HeatSpace heat // the world
-getHeatbugList // access methods into
the -(Grid2d ) getWorld // model swarm. These
methods -(HeatSpace ) getHeat // allow the
model swarm to be observed. createBegin
aZone // extra methods you -createEnd //
provide for Swarms -buildObjects -buildActions -
activateIn swarmContext
131
????????? ?????????????????????????????????,????
???????????heatbug???????
- setWorld (Grid2d ) w Heat (HeatSpace ) h
// which world are we in -createEnd -(double)
getUnhappiness -setIdealTemperature
(HeatValue) i -setOutputHeat (HeatValue)
o -setRandomMoveProbability (float) p -setX
(int) x Y (int) y // bug's position -setBugColor
(Color) c // bug's colour (display) -step -d
rawSelfOn (id ltRastergt) r
interface Heatbug SwarmObject double
unhappiness // my current unhappiness int x, y
// my spatial coordinates HeatValue
idealTemperature // my ideal temperature
HeatValue outputHeat // how much heat I put out
float randomMoveProbability // chance of moving
randomly Grid2d world // the world I live
in int worldXSize, worldYSize // how big that
world is HeatSpace heat // the heat for the
world Color bugColor // my colour (display)
132
??????? Heatbug??????,??swarm??????????HeatbugMo
delSwarm? buildObjects???????
for (i 0 i lt numBugs i) Heatbug
hbug int idealTemp, outputHeat // Choose a
random ideal temperature, output heat from the
specified idealTemp uniformRandom rMin
minIdealTemp Max maxIdealTemp outputHeat
uniformRandom rMin minOutputHeat Max
maxOutputHeat // Create the heatbug, set the
creation time variables hbug Heatbug
createBegin self getZone hbug setWorld
world Heat heat hbug hbug createEnd
// Add the bug to the end of the list.
heatbugList addLast hbug // Now initialize
the rest of the heatbug's state. hbug
setIdealTemperature idealTemp hbug
setOutputHeat outputHeat hbug setX
uniformRandom rMax worldXSize // random
position Y uniformRandom rMax
worldYSize
133
????????? ?swarm?,??????????Heatbug????????????,
??swarm?space???????????????HeatbugModelSwarm?buil
dObjects???????
heat HeatSpace createBegin self
getZone heat setSizeX worldXSize Y
worldYSize heat setDiffusionConstant
diffuseConstant heat setEvaporationRate
evaporationRate heat heat createEnd
134
?????swarm????? ??????????buildObjects????,?????
????buildActions?????????????
modelActions ActionGroup create self
getZone modelActions createActionTo heat
message M(stepRule) modelActions
createActionForEach heatbugList message
M(step) modelActions createActionTo heat
message M(updateLattice) modelSchedule
Schedule createBegin self getZone modelSche
dule setRepeatInterval 1 modelSchedule
modelSchedule createEnd modelSchedule at 0
createAction modelActions
135
???????????? ??swarm????,?????????????swarm???He
atbug????,????HeatbugObserverSwarm?????swarm??????
??swarm???????
interface HeatbugObserverSwarm GUISwarm int
displayFrequency // one parameter update freq
id displayActions // schedule data structs id
displaySchedule HeatbugModelSwarm
heatbugModelSwarm // the Swarm we're
observing // Lots of display objects. First,
widgets XColormap colormap // allocate
colours ZoomRaster worldRaster // 2d display
widget EZGraph unhappyGraph // graphing
widget // Now, higher order display and data
objects Value2dDisplay heatDisplay //
display the heat Object2dDisplay
heatbugDisplay // display the heatbugs
136
????????? ?????HeatbugObserverSwarm??????,??????
?????????????????
// Create the graph widget to display
unhappiness. unhappyGraph EZGraph createBegin
self getZone unhappyGraph setTitle
"Unhappiness of bugs vs. time" unhappyGraph
setAxisLabelsX "time" Y "unhappiness" unhappyG
raph unhappyGraph createEnd unhappyGraph
createAverageSequence "unhappiness"
withFeedFrom heatbugModelSwarm getHeatbugList
andSelector M(getUnhappiness)
137
?????? ??main()??????????????????????????,??????
??????????
theTopLevelSwarm buildObjects
theTopLevelSwarm buildActions
theTopLevelSwarm activateIn nil
theTopLevelSwarm go // theTopLevelSwarm has
finished processing, so it's time to quit.
return 0
int main(int argc, const char argv) id
theTopLevelSwarm // Swarm initialization all
Swarm apps must call this first. initSwarm(argc,
argv) // swarmGUIMode is set in initSwarm().
It's set to be 0 if you // typed heatbugs
--batchmode' or heatbugs -b', Otherwise, it's
set to // 1. if (swarmGUIMode 1) // We've
got graphics, so make a full ObserverSwarm to get
GUI objects theTopLevelSwarm
HeatbugObserverSwarm create globalZone else
// No graphics - make a batchmode swarm and run
it. theTopLevelSwarm HeatbugBatchSwarm
create globalZone
138
6? Swarm????
  • Swarm????????????????????Swarm?????????,??????
    ???????????

??????????,swarmobject ?swarm?Swarmobject
??????????,??????????????????????Swarm???????,Mode
lSwarm?ObserverSwarm???????????????
Swarmobject
activity
??????????????????????????,???????????????????????
??,????????????,??????????????????????
simtools
????????????,??????????????????????Simtools???????
????????,??????????,???????
139
Collection
??????????????,?List?Array?Set??Swarm?????????????
????,??????????????????
defobj
?????????????????????????,??? Objective-C?????????
????????,???Swarm??????????????
random
????????????????????????????????????????
???????????,???????????????????????????????????Spa
ce ????????Grid2D,????????????????????????????
Space
140
ga?neuro
??????????????Swarm??????????,??Juan J.Merelo
??????????????
141
Starlogo
  • ??CAS??? ??????

142
Starlogo??
  • StarLogo????????????
  • ????????????????????????????????,????????????
  • ??StarLogo???????????????????????,????????????????
    ?StarLogo????????????

143
  • StarLogo is developed at Media Laboratory, MIT,
    Cambridge, Massachusetts, with support from the
    National Science Foundation and the LEGO group.

144
  • Starlogo????(turtle)??(patch)???,????????????,????
    (canvas)??????????????????????????????,???????????
    ??, ????, ??, ????????????????????,???????????????
    ??????????????????????????,?????Starlogo??????????
    ???????????????
  • ??,Starlogo?????????(breeds ),??,??????????????,?
    ??????????????????

145
  • ??
  • ??(canvas)????
  • ????
  • ????????????
  • ?????????????

146
? ?
147
????
148
????
  • ????????????
  • ??????????????
  • ????????
  • ?????????????
  • ????????

149
??
  • ??????????????????
  • ???????????
  • ???(monitor)???????
  • ??????????
  • ???????????
  • ??????????????
  • output ?????print????????

150
? ?
  • ???????????????
  • ???????speed?????,????speed??????observer?turtles
    ?????????????? ???timer???????(?????)
  • ?????( Who)
  • ???14?????,???????????????,????????

151
????
  • ??????????????,????????????,??????,????,??????
    ????????????????????,????,?????
  • ?????
  • ??????????????????,?????????????????????
  • ???????????????????,?????????????????????
  • ??????????????????????,???????????????????????????

152
???????
  • ???
  • ????
  • ???
  • ????????????????,????,??????,????????????????????
    ???????????

153
? ?(?)
  • Starlogo????????????????????????????
  • ??????????????,?????????????set?????
  • ???????????????????????????????????????????,?????
    ????????????????????????????????????????

154
? ?(?)
  • ???????-at, -to , -towards ??????????????????????
    ?

155
? ?(?)
  • ????
  • ??????????????????????????????????(?let????,?????
    )
  • ??????????,????????????

156
list
  • ??list ?sentence??? ????,???????????????,?Starlo
    go?,??????????????
  • Pick ???? ????????????
  • copy-list ???? ?????????
  • Median-of-list???? ??????????,????
  • Mode-of-list???? ?????????????,??????,??????????
  • Setitem number???? thing ?????number???thing

157
????
  • ??
  • Output??
  • Plot??
  • ???
  • Info??

158
????
  • diffuse variable percentage
  • ????
  • ????????variable????percentage(0
    ?1????),???????????????
  • ????
  • ????(0,0)??color??139,??????0(??)??????go??,??
    ???????????20???????????
  • ????
  • diffuse4 variable percentage
    ,?diffuse????,??diffuse4?????????????

159
Diffuse????????
????
?????
??12??
??27??
??,??????? output ??????????? ?color?????,?????dif
fuse??????
160
  • fd, step, jump, leap
  • ??????????????????????????fd?step???????step???
    ?????,??????10?step???10????step?????jump?leap??
    ??????step???????????????10?step???????step????ju
    mp?leap?????leap ???????????????????,?jump???????f
    d?step?????fd????number ,??????,step??????,?????

161
  • ????
  • ????
  • ??output??????

to go ask-turtle 1 resett fd 10 print
timer ask-turtle 2 resett jump 10 print
timer ask-turtle 3 resett leap 10 print
timer ask-turtle 0 resett repeat 10 step
print timer end
Turtle 1 0.831 Turtle 2 0.14 Turtle 3
0.14 Turtle 0 0.811
162
????
  1. ?????????
  2. Akerlof??
  3. ??????
  4. ACE

163
1??????????
  • ????
  • ?????????????????????,???????????????????????????
    ?????????????????(????????)???????????,???,??????
    ?,???????????
  • ??
  • ?????????????????,?????????

164
?????
  • ?????????????
  • NumTicket p predictDay
  • ???????????????/???????,???????,??????????,??????
    ??,????????
  • ?????????????

165
??????(?)
  • ???,??????????????????????????????,??????????,????
    ???

166
??????(?)
  • ????????????
  • 1??????????????,???????????????
  • 2??????????,??????????????????????

167
??????(?)
  • ?????????????????,??????????????

??
168
2???????
  • ?????????????????????????????????????????
  • ????????????,???????????????

169
  • ??????????????????????????????????????????????????
    ???
  • ??????????????????,????????????????????
  • ??????????????????????????????????????????

170
?????
  • OBJECT?????
  • ???????????????
  • ??????,?????????????????,????????????????????

171
  • ?????????????????????,?????????,?????????????????
    ?,????????????????????,???????????????????????????
    ???????,???????????????????

172
??????
  • ???????????
  • ?????????
  • ????
  • ????????,?????????,??????????

??
173
3??????????????
  • ?????????????????????????
  • ????????,?????????,???????????

174
????4ACE
  • 1. ?????????
  • 2. ???????????
  • 3. ????????????

175
1. ?????????
  • 1.1 ???????????
  • 1.2 ???????????
  • 1.3 ?????????????????

176
1.1 ???????????
  • ?????????????
  • ?????????
  • ???????,????????????????????,??????????????

177
1.1 ???????????
  • ??????
  • (1)???????????,??????????????????????????
  • 2)???????????,??????????????????????????????
    ???????????????(????)
  • ????????
  • ?????????????????????,?????????????,??????????
    ?

178
  • ????????????????????????????????????????????n????
    ?(n?? ),?????????x?????R
  • R ( x . p ) px c ( x ) ?????,??p???,c ( x
    )???????????

179
  • ???????????
  • p p ( n X ),??????????n X????,??X?????
    ????(????)???????????p??,??x????????,??????x???
    ????????(p c( x ))???

180
  • ????
  • xargmaxxR(x,p)g(p)
  • ????????,??argmax???x???????p p ( n X
    )????????,??????x??
  • xg(p(nX))h(X)

181
  • ??,???????????????????????????(??)????????????????
    ??????????????????,???Xh(X),???????????????X???x
    Xh(X),???????????????????????????????,???????????
    ???????

182
  • ????????????????????????????????????????????????,?
    ???????????????,?????????????????????????,????????
    ??,?????,???????????

183
1.2 ???????????
  • ??????
  • (1)??????????????(?????)??????
  • (2)?????????????????????
  • (3)??????????????????????
  • ??????
  • (1)????????????????(?????????)
  • (2)???????,??????????????

184
1.2 ???????????
  • ??????????????
  • ?????????(????)??
  • ????????????,?????????
  • ?????????????,???????
  • ???????,?????????????,?????????
  • ??????????????,?????
  • ???????????,??????
  • ????????????????????????????????

185
1.2 ???????????
  • ??????????????????T??????????????,???????????????
    ????????????????????,?????????
  • ??,24??????????1000???????,10??100?????,100?10????
    ???
  • log(N) log(K)-slog(c)
  • N?????,K1000,c????????,s1
  • ?????????,?????,?????

186
1.3 ?????????????????
  • ??????????,????????????
  • ?????????????????????????????,?????????,?????????
    ,????????????????????????,???????????,???????????

187
2. ???????????
  • ???????????????????????????????????(Agent-based
    Computational Economics)??ACE,????????????????????
    ???
  • ACE????????????????????????,??????????????

188
2. ???????????
  • 2.1 ?????
  • 2.2 ??????????????????
  • 2.3 ??????????????????
  • 2.4 ??????????
  • 2.5 ????????????????
  • 2.6 ?????????????

189
2.1 ?????
  • ?????(Computational Economics)??????????????????
  • ???????????????????????,????????????????
  • ???????????????,????????????? ?

190
2.2 ??????????????????
  • ????(Artificial Intelligence)????????????????????,
    ????????????,???????????
  • ??1992????????????????????????????????????,????
    ????????????????????????
  • ????????,???????

191
2.2 ??????????????????
  • ???????????????????
  • ??????????????????????????????,???????????????????
    ?,??????????,??????????????
  • ?????????????????????,???????????????(???????)????
    ??????????????????????,???????,???????????????,???
    ??????????????????

192
2.2 ??????????????????
  • ??,????????????????????????(Neural
    Networks)?????????????,?????????????
  • ??????????????????????????????????????????????????
    ??????????????,?????????????????????????

193
2.3 ??????????????????
  • ???????????ACE??????????????????,??????????
  • ACE??????????????,???OO????,????????????????,????
    ?????????????????????????????????????????,???????
    ????????????????????
  • ACE?????????(??????)???????????(???????????)?

194
2.3 ??????????????????
  • ???????????????????????(Model Economy)
  • ??????,???????????????????
  • ????????????????????????????,??????????????
  • ???????????????????????????????????????????,??????
    ??????,?????????????

195
2.3 ??????????????????
  • ????
  • ??????????????????????Young??????????,??????Shubi
    k????????????,???????Henrich????????????,??????Cha
    ttoe???????????
  • ?2001?,?????????Journal of Economic Dynamics and
    ControlComputation Economics??????IEEE
    Transaction on Evolutionary Computation??????????
    ??????????,????????????????????

196
2.4 ??????????
  • ??,??????????????????????????????
  • ????????????????,Holland ?1975????????????????????
    ???(Genetic Algorithms)
  • ?????????????
  • ???(??????)????????
  • ??????????????????
  • ???????????

197
2.4 ??????????
  • Holland(1986)???????(Classifier
    Systems)??????????????????????,??????????????
  • ??????3????
  • (1)?????
  • (2)???????
  • (3)????????

198
2.4 ??????????
  • ???????
  • IFlt??gtTHENlt??gtlt??gt
  • ?????????????????,??????????????????,?????????????
    ?????????
  • ??????????????????,?????????????

199
2.5 ????????????????
  • ???? ?????????????????,??????????
  • ???? ?????????
  • (1)?????
  • (2)?????????????
  • (3)??????????????????
  • (4)??????????

200
2.5 ????????????????
  • ???? ??????????????????????????,???????????,?????
    ?????(????)
  • ???? ????????????????????????,???????????????????
    ???????,???????????????????
  • ???? ?????????,?????????????

201
2.6 ?????????????
  • ??????CL(computational laboratory )
  • CL????????,??????????????????????????????
  • ?????????????????CL?????????????????,??????
  • CL???????????????????????????????,?????CL?????????
    ??

202
2.6 ?????????????
  • Trade Network Game(TNG)Lab (C /Visual Basic
  • SimBioSys,???????????CL ???????????????????????
  • Swarm?Ascape (Java)?RePast (Java)??
  • ??????,?MAML(Multi-Agent Modelling Language)?
    MATLAB ? SDML (The Strictly Declarative Modelling
    Language )? StarLogo ? StarlogoT?

203
3. ????????????
  • 3.1 ACE?????????????
  • 3.2 ACE?????????????
  • 3.3 Thomas Schelling?????????
  • 3.4 ??????
  • 3.5 ACE???????????

204
3.1 ACE?????????????
  • 1989?,Kiyotaki?Wright(1989)?????????????
    ???????????????
  • ???Kiyotaki?Wright??????,Marimon??(1900)??????????
    ??
  • Vriend(1995)??????????????????,????????,?????????
    ??
  • Epstein(2001)?????????????,??????????????????????
    ?????????????????????????

205
3.2 ACE?????????????
  • ??Santa Fe?????????????????
  • Tesfasion????????????????,????????????????????? ?
  • ???????????????????,?????????????????????,????????
    ????,??????????
  • ????????,??????????????????,??????????????

206
3.2 ACE?????????????
  • Kirman?Vriend(2001)??????????????????,????????????
    ??????????????
  • ????????????????????????????????????????????????
    ??????????????????
  • ?????????????????,?????????????????,?????????????
    ?????????

207
3.3 Thomas Schelling?????????
  • 1.????
  • Schelling????????????????????????????????
    ??????????,???????????????????????????????????????
    ?????????????
  • 2.????

208
3.5 ACE???????????
  • ??
  • ACE????????????????????,???????????????
  • ACE?????????????????????????

209
3.5 ACE???????????
  • ??
  • ??????????????????????
  • ?????????
  • ???????????,?????????????????????
  • ACE?????????????????

210
  • ? ?

211
MATLAB
  • http//www.mathworks.com/

212
??????
  • 1?????????????
  • 2???????????????
  • 3?????,????,???????????????

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