36
Automatos celulares Automatos celulares estado[r,t+Δ] = f(estado[r,t]) 1940 – John von Neumann & Stanislaw Ulam – Los Alamos 1) Homogeneidade, 2) Osciladores, 3) Caótico, e 4) Estruturas complexas persistentes. S. Wolfram, “A New Kind of Science” (2002) Estados Finais Conus textile

Automatos celulares · 2019. 11. 11. · Jogo da Vida J. Conway 1970’s SUBPOPULAÇÃO SUPERPOPULAÇÃ O REPRODUÇÃO REGRAS SIMPLES M. Gardner Sci. Am. 223 (1970) 120-123

  • Upload
    others

  • View
    0

  • Download
    0

Embed Size (px)

Citation preview

Page 1: Automatos celulares · 2019. 11. 11. · Jogo da Vida J. Conway 1970’s SUBPOPULAÇÃO SUPERPOPULAÇÃ O REPRODUÇÃO REGRAS SIMPLES M. Gardner Sci. Am. 223 (1970) 120-123

Automatos celularesAutomatos celulares

estado[r,t+Δ] = f(estado[r,t])

1940 – John von Neumann & Stanislaw Ulam – Los Alamos

1) Homogeneidade,2) Osciladores,3) Caótico, e4) Estruturas

complexas persistentes.

S. Wolfram, “A New Kind of Science” (2002)

Estados Finais

Conus textile

Page 2: Automatos celulares · 2019. 11. 11. · Jogo da Vida J. Conway 1970’s SUBPOPULAÇÃO SUPERPOPULAÇÃ O REPRODUÇÃO REGRAS SIMPLES M. Gardner Sci. Am. 223 (1970) 120-123

Vizinhança de Moore Vizinhança de von Neumann

VizinhançasVizinhanças

Page 3: Automatos celulares · 2019. 11. 11. · Jogo da Vida J. Conway 1970’s SUBPOPULAÇÃO SUPERPOPULAÇÃ O REPRODUÇÃO REGRAS SIMPLES M. Gardner Sci. Am. 223 (1970) 120-123

ReversibilidadeReversibilidade

Bijetivo

Respeita Termodinâmica → gás, fluidos

Page 4: Automatos celulares · 2019. 11. 11. · Jogo da Vida J. Conway 1970’s SUBPOPULAÇÃO SUPERPOPULAÇÃ O REPRODUÇÃO REGRAS SIMPLES M. Gardner Sci. Am. 223 (1970) 120-123

TotalísticoTotalístico

S[rn,t+Δ] = Θ(ΣS[r

i,t], 5)

i vizinho de n

Page 5: Automatos celulares · 2019. 11. 11. · Jogo da Vida J. Conway 1970’s SUBPOPULAÇÃO SUPERPOPULAÇÃ O REPRODUÇÃO REGRAS SIMPLES M. Gardner Sci. Am. 223 (1970) 120-123

TotalísticoTotalístico

S[rn,t+Δ] = Θ(ΣS[r

i,t], 5)

i vizinho de n

Page 6: Automatos celulares · 2019. 11. 11. · Jogo da Vida J. Conway 1970’s SUBPOPULAÇÃO SUPERPOPULAÇÃ O REPRODUÇÃO REGRAS SIMPLES M. Gardner Sci. Am. 223 (1970) 120-123

TotalísticoTotalístico

S[rn,t+Δ] = Θ(ΣS[r

i,t], 5)

i vizinho de n

Page 7: Automatos celulares · 2019. 11. 11. · Jogo da Vida J. Conway 1970’s SUBPOPULAÇÃO SUPERPOPULAÇÃ O REPRODUÇÃO REGRAS SIMPLES M. Gardner Sci. Am. 223 (1970) 120-123

TotalísticoTotalístico

S[rn,t+Δ] = Θ(ΣS[r

i,t], 5)

i vizinho de n

Page 8: Automatos celulares · 2019. 11. 11. · Jogo da Vida J. Conway 1970’s SUBPOPULAÇÃO SUPERPOPULAÇÃ O REPRODUÇÃO REGRAS SIMPLES M. Gardner Sci. Am. 223 (1970) 120-123

TotalísticoTotalístico

S[rn,t+Δ] = Θ(ΣS[r

i,t], 5)

i vizinho de n

Page 9: Automatos celulares · 2019. 11. 11. · Jogo da Vida J. Conway 1970’s SUBPOPULAÇÃO SUPERPOPULAÇÃ O REPRODUÇÃO REGRAS SIMPLES M. Gardner Sci. Am. 223 (1970) 120-123

TotalísticoTotalístico

S[rn,t+Δ] = Θ(ΣS[r

i,t], 5)

i vizinho de n

Page 10: Automatos celulares · 2019. 11. 11. · Jogo da Vida J. Conway 1970’s SUBPOPULAÇÃO SUPERPOPULAÇÃ O REPRODUÇÃO REGRAS SIMPLES M. Gardner Sci. Am. 223 (1970) 120-123

TotalísticoTotalístico

S[rn,t+Δ] = Θ(ΣS[r

i,t], 5)

i vizinho de n

Page 11: Automatos celulares · 2019. 11. 11. · Jogo da Vida J. Conway 1970’s SUBPOPULAÇÃO SUPERPOPULAÇÃ O REPRODUÇÃO REGRAS SIMPLES M. Gardner Sci. Am. 223 (1970) 120-123

TotalísticoTotalístico

S[rn,t+Δ] = Θ(ΣS[r

i,t], 5)

i vizinho de n

Page 12: Automatos celulares · 2019. 11. 11. · Jogo da Vida J. Conway 1970’s SUBPOPULAÇÃO SUPERPOPULAÇÃ O REPRODUÇÃO REGRAS SIMPLES M. Gardner Sci. Am. 223 (1970) 120-123

TotalísticoTotalístico

S[rn,t+Δ] = Θ(ΣS[r

i,t], 5)

i vizinho de n

Page 13: Automatos celulares · 2019. 11. 11. · Jogo da Vida J. Conway 1970’s SUBPOPULAÇÃO SUPERPOPULAÇÃ O REPRODUÇÃO REGRAS SIMPLES M. Gardner Sci. Am. 223 (1970) 120-123

Jogo da VidaJogo da Vida

J. Conway1970’s

SUBPOPULAÇÃO SUPERPOPULAÇÃO

REPRODUÇÃO

REGRAS SIMPLES

M. Gardner Sci. Am. 223 (1970) 120-123.

Page 14: Automatos celulares · 2019. 11. 11. · Jogo da Vida J. Conway 1970’s SUBPOPULAÇÃO SUPERPOPULAÇÃ O REPRODUÇÃO REGRAS SIMPLES M. Gardner Sci. Am. 223 (1970) 120-123

Jogo da VidaJogo da Vida

Page 15: Automatos celulares · 2019. 11. 11. · Jogo da Vida J. Conway 1970’s SUBPOPULAÇÃO SUPERPOPULAÇÃ O REPRODUÇÃO REGRAS SIMPLES M. Gardner Sci. Am. 223 (1970) 120-123

Jogo da VidaJogo da Vida

Page 16: Automatos celulares · 2019. 11. 11. · Jogo da Vida J. Conway 1970’s SUBPOPULAÇÃO SUPERPOPULAÇÃ O REPRODUÇÃO REGRAS SIMPLES M. Gardner Sci. Am. 223 (1970) 120-123

Jogo da VidaJogo da Vida

Page 17: Automatos celulares · 2019. 11. 11. · Jogo da Vida J. Conway 1970’s SUBPOPULAÇÃO SUPERPOPULAÇÃ O REPRODUÇÃO REGRAS SIMPLES M. Gardner Sci. Am. 223 (1970) 120-123

Jogo da VidaJogo da Vida

Page 18: Automatos celulares · 2019. 11. 11. · Jogo da Vida J. Conway 1970’s SUBPOPULAÇÃO SUPERPOPULAÇÃ O REPRODUÇÃO REGRAS SIMPLES M. Gardner Sci. Am. 223 (1970) 120-123

Jogo da VidaJogo da Vida

Page 19: Automatos celulares · 2019. 11. 11. · Jogo da Vida J. Conway 1970’s SUBPOPULAÇÃO SUPERPOPULAÇÃ O REPRODUÇÃO REGRAS SIMPLES M. Gardner Sci. Am. 223 (1970) 120-123

Jogo da VidaJogo da Vida

Page 20: Automatos celulares · 2019. 11. 11. · Jogo da Vida J. Conway 1970’s SUBPOPULAÇÃO SUPERPOPULAÇÃ O REPRODUÇÃO REGRAS SIMPLES M. Gardner Sci. Am. 223 (1970) 120-123

Jogo da VidaJogo da Vida

Page 21: Automatos celulares · 2019. 11. 11. · Jogo da Vida J. Conway 1970’s SUBPOPULAÇÃO SUPERPOPULAÇÃ O REPRODUÇÃO REGRAS SIMPLES M. Gardner Sci. Am. 223 (1970) 120-123

Jogo da VidaJogo da Vida

Page 22: Automatos celulares · 2019. 11. 11. · Jogo da Vida J. Conway 1970’s SUBPOPULAÇÃO SUPERPOPULAÇÃ O REPRODUÇÃO REGRAS SIMPLES M. Gardner Sci. Am. 223 (1970) 120-123

Jogo da VidaJogo da Vida

Page 23: Automatos celulares · 2019. 11. 11. · Jogo da Vida J. Conway 1970’s SUBPOPULAÇÃO SUPERPOPULAÇÃ O REPRODUÇÃO REGRAS SIMPLES M. Gardner Sci. Am. 223 (1970) 120-123

Jogo da VidaJogo da Vida

Page 24: Automatos celulares · 2019. 11. 11. · Jogo da Vida J. Conway 1970’s SUBPOPULAÇÃO SUPERPOPULAÇÃ O REPRODUÇÃO REGRAS SIMPLES M. Gardner Sci. Am. 223 (1970) 120-123

Jogo da VidaJogo da Vida

Page 25: Automatos celulares · 2019. 11. 11. · Jogo da Vida J. Conway 1970’s SUBPOPULAÇÃO SUPERPOPULAÇÃ O REPRODUÇÃO REGRAS SIMPLES M. Gardner Sci. Am. 223 (1970) 120-123

Jogo da VidaJogo da Vida

Page 26: Automatos celulares · 2019. 11. 11. · Jogo da Vida J. Conway 1970’s SUBPOPULAÇÃO SUPERPOPULAÇÃ O REPRODUÇÃO REGRAS SIMPLES M. Gardner Sci. Am. 223 (1970) 120-123

Jogo da VidaJogo da Vida

Page 27: Automatos celulares · 2019. 11. 11. · Jogo da Vida J. Conway 1970’s SUBPOPULAÇÃO SUPERPOPULAÇÃ O REPRODUÇÃO REGRAS SIMPLES M. Gardner Sci. Am. 223 (1970) 120-123

Jogo da VidaJogo da Vida

Page 28: Automatos celulares · 2019. 11. 11. · Jogo da Vida J. Conway 1970’s SUBPOPULAÇÃO SUPERPOPULAÇÃ O REPRODUÇÃO REGRAS SIMPLES M. Gardner Sci. Am. 223 (1970) 120-123

Jogo da VidaJogo da Vida

Page 29: Automatos celulares · 2019. 11. 11. · Jogo da Vida J. Conway 1970’s SUBPOPULAÇÃO SUPERPOPULAÇÃ O REPRODUÇÃO REGRAS SIMPLES M. Gardner Sci. Am. 223 (1970) 120-123

Jogo da VidaJogo da Vida

Page 30: Automatos celulares · 2019. 11. 11. · Jogo da Vida J. Conway 1970’s SUBPOPULAÇÃO SUPERPOPULAÇÃ O REPRODUÇÃO REGRAS SIMPLES M. Gardner Sci. Am. 223 (1970) 120-123

Jogo da VidaJogo da Vida

RESULTADOS COMPLEXOS!

IRREDUTIBILIDADE COMPUTACIONAL

Page 31: Automatos celulares · 2019. 11. 11. · Jogo da Vida J. Conway 1970’s SUBPOPULAÇÃO SUPERPOPULAÇÃ O REPRODUÇÃO REGRAS SIMPLES M. Gardner Sci. Am. 223 (1970) 120-123

SchellingSchelling

T. C. Schelling, “Dynamic models of segregation”, J. Math. Sociol. (1971) 143-186.

u(rn,t) = 1-Θ(ΣS(r

i,t) , f*) → Muda posição

i vizinho de n

L

N=Ld

σi=1

σi=-1

σi=0

Densidade: ρ0,±

= N0,±

/N

Restrita (sólida): Só insatisfeitos migram;Irrestrita (líquida): Todos mudam se não piorarem de situação.

● Alcance infinito, preserva polarização global, mas não local;

● Pode migrar mesmo que piore utilidade dos vizinhos.

utilidade

Page 32: Automatos celulares · 2019. 11. 11. · Jogo da Vida J. Conway 1970’s SUBPOPULAÇÃO SUPERPOPULAÇÃ O REPRODUÇÃO REGRAS SIMPLES M. Gardner Sci. Am. 223 (1970) 120-123

Schelling – Moran’s ISchelling – Moran’s I

I=M∑i , j

wij ( x i− x̄ )(x j− x̄)

(∑i , j wij )∑i ( x i− x̄)2

Parâmetro de ordem: Associação Espacial

x = 0 se azul, 1 se vermelhoW

ij = 1 se j é vizinho de i

L. Anseling, Geo. Anal. 27-2 (1995) 93-115, A. Getis, J. Ord, Geo. Anal. 24 (1992) 189-206.

No. células ocupadas

0: aleatório1: Segregação total

Page 33: Automatos celulares · 2019. 11. 11. · Jogo da Vida J. Conway 1970’s SUBPOPULAÇÃO SUPERPOPULAÇÃ O REPRODUÇÃO REGRAS SIMPLES M. Gardner Sci. Am. 223 (1970) 120-123

E. Hatna, I. Benenson, J. Artif. Soc. Soc. Sim. 15-1 (2012) 6.

Page 34: Automatos celulares · 2019. 11. 11. · Jogo da Vida J. Conway 1970’s SUBPOPULAÇÃO SUPERPOPULAÇÃ O REPRODUÇÃO REGRAS SIMPLES M. Gardner Sci. Am. 223 (1970) 120-123

GranovetterGranovetter

M. Granovetter, Am. J. Sociol. 83-6 (1978) 1420-1443.

Adesão se ativação do seu grupo tiver sido atingido.

Limiares: 0%, 15%, 30%, 50% e 75%

População: 20%, 20%, 20%, 20%, 20%

15%

30%

50%

~73%

Page 35: Automatos celulares · 2019. 11. 11. · Jogo da Vida J. Conway 1970’s SUBPOPULAÇÃO SUPERPOPULAÇÃ O REPRODUÇÃO REGRAS SIMPLES M. Gardner Sci. Am. 223 (1970) 120-123

Hegselmann-Krause-DeffuantHegselmann-Krause-Deffuant

Opinião Xi in [0,1]

G. Deffuant et al. Adv. Comp. Sys. 03 (2000) 87-98.

G(j) = Grupo de j = {xi, |x

i - x

j| < ε}

Corrige xj pela media de G(j)

Se pegar dois a dois forma clusters:

x i (t+Δ)=x i (t)−μ [ x i (t)−x j (t)]x j (t+Δ)=x j (t)−μ [ x j (t)−x i (t)]

Page 36: Automatos celulares · 2019. 11. 11. · Jogo da Vida J. Conway 1970’s SUBPOPULAÇÃO SUPERPOPULAÇÃ O REPRODUÇÃO REGRAS SIMPLES M. Gardner Sci. Am. 223 (1970) 120-123

Duopólios de Kirman Duopólios de Kirman

Pr (X→ X +1)=π p(X )Δ t

Pr (X →X −1)=πn(X )Δ t

Tendo duas fontes de comida, formigas pegam de uma e depois da outra. Por quê?

πp (X )=(N−X )(σ 1+hX )Δt

πn(X )=X (σ2+h(N−X ))Δ t

Preferência individual

Efeito manada

A. P. Kirman, Quart. J. Econ. 108 (1993) 137-156.