250
X-Machines for Agent-Based Modeling: FLAME Perspectives
and processed to find data patterns in the simulations. The GPU was
much simpler to do this, as it immediately integrates with a visualization
engine. The agent could be observed as the simulation happens, and no
time waits were needed to visualize the simulations.
Following is example code of an economic market in GPU:

xmlns="http://www.dcs.shef.ac.uk/~paul/XMML">
Mariam Kiran


functions.c




Firm

intid
floatvalue
floata
floatproductivity
floatprofits
floatf
floatproduction
intgoodsproduced
intstock
intsold
intlabour
intnumberofworkers
intworkersize
floatprice
floatoldprice
floatpriceinflation
floatsprice
floatlprice
floatavewage
floattotalwagebill


intmall_vacancy
intmall_goods
floatrange
floatx
floaty
floatz



Firm_1
f_one
Précédent

- 279/329

Suivant