© The Author(s), under exclusive license to APress Media, LLC, part of Springer Nature 2022
R. WienerGeneric Data Structures and Algorithms in Gohttps://doi.org/10.1007/978-1-4842-8191-8_14

14. Ecological Simulation with Concurrency

Richard Wiener1  
(1)
Colorado Springs, CO, USA
 

The previous chapter introduced expression trees. We showed how we can represent and evaluate simple mathematical expressions using such trees.

In this chapter, we switch gears. We present a concurrent implementation of an ecological simulation.

In the next section, we present an overview of the simulation.

14.1 Overview

This chapter presents an interesting emergent computation using a predator/prey model of a simple ecological system that simulates population dynamics. The design ...

Get Generic Data Structures and Algorithms in Go: An Applied Approach Using Concurrency, Genericity and Heuristics now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.