Presentation is loading. Please wait.

Presentation is loading. Please wait.

Modelagem Baseada em Agentes no TerraME: estado atual Pedro Ribeiro de Andrade feb/09.

Similar presentations


Presentation on theme: "Modelagem Baseada em Agentes no TerraME: estado atual Pedro Ribeiro de Andrade feb/09."— Presentation transcript:

1 Modelagem Baseada em Agentes no TerraME: estado atual Pedro Ribeiro de Andrade feb/09

2 How to model these phenomena?

3 Agent-based modelling (ABM) flexibility natural approach emergence Bottom-up approach for building complex systems, through the dynamical interaction of agents.

4 How can geospatial data feed agent-based models? Scientific question ? Jfddfjh gfsdfgdfssf fsdf fsdfsd sdfsdf

5 Relations Entities How can geospatial data feed agent-based models? Scientific question Jfddfjh gfsdfgdfssf fsdf fsdfsd sdfsdf

6 Citizens (points) Farmers (polygons) First Entity: Agent Source: (Crooks, 2006); (Lim et al. 2002)

7 Agents are computational systems placed in some environment. (Jennings et al., 98) Second Entity: Space Discrete cells Dynamic

8 Agent Cell Cell Agent Sources: (Benenson and Torrens, 2005; Samuelson and Macau, 2006) From To Relations

9 Cellcell Spatial neighbourhood between cells

10 Cellagent Which agents belong to this cell?

11 Agentcell Source: Adapted from (Lim et al. 2002) Which cells this agent controls, owns, targets?

12 Agentagent Agents can communicate, exchange goods, etc. Agents are situated in space.

13 GPM as a graph To Agent Cell a b a b c c Cell Agent From

14 CellAgent ForEachAgentForEachCell ForEachNeighbor ForEachAgent CellularSpace Society GroupTrajectory DBMS

15 CellAgent ForEachAgentForEachCell ForEachNeighbor ForEachAgent CellularSpace Society GroupTrajectory DBMS

16 Society ABC ACA AAC CCC BBC CBB CAC BBA CCB CBA AAA BAB

17 createAgent = function(capital_) return { capital = capital_, --... } end data = {} data[1] = 100; data[2] = 50; data[3] = 25 mag = Society(createAgent, data) mag = Society(createAgent, 50) Society capital = 100capital = 50capital = 25

18 Group ABC ACA AAC CCC BBC CBB CAC BBA CCB CBA AAA BAB

19 g = Group(mag, function(agent) return agent. capital > 40 end, function(a1, a2) return a1.capital > a2.capital end ) Group capital = 100capital = 50capital = 25

20 ForEachAgent(mag, function(agent) agent.capital = agent.capital + 100 end) Transversing the Society capital = 200capital = 150capital = 125 capital = 100capital = 50capital = 25

21 InitAgents(cs) --... agents = GetAgents(cell) if table.getn(agents) == 0 then -- empty RemoveAgent(oldcell, agent) AddAgent(cell, agent) end Agents within cells

22 Modelagem Baseada em Agentes no TerraME: estado atual Pedro Ribeiro de Andrade feb/09


Download ppt "Modelagem Baseada em Agentes no TerraME: estado atual Pedro Ribeiro de Andrade feb/09."

Similar presentations


Ads by Google