Another Word For It Patrick Durusau on Topic Maps and Semantic Diversity

October 28, 2018

Conway’s Game of Life in R: … [Simple Rules Lead to Complex Behaviors]

Filed under: Cellular Automata,Chaos — Patrick Durusau @ 8:27 pm

Conway’s Game of Life in R: Or On the Importance of Vectorizing Your R Code byJohn Mount.

From the post:

R is an interpreted programming language with vectorized data structures. This means a single R command can ask for very many arithmetic operations to be performed. This also means R computation can be fast. We will show an example of this using Conway’s Game of Life.

A demonstration of a 10x speed increase from vectorized R code.

Cellular automata, Conway’s Game of Life is one, have a rich history, as well as being part of the focus of the Santa Fe Institute.

Suffice it to say that simple rules lead to complex and unpredictable behaviors.

Keep that in mind when people suggest simple solutions to complex behaviors, such as regulating social media in response to acts of violence.

No Comments

No comments yet.

RSS feed for comments on this post.

Sorry, the comment form is closed at this time.

Powered by WordPress