January 2019
Intermediate to advanced
236 pages
5h 41m
English
In the previous chapter, you built an ant colony optimization. The ants found trails out of your paper bag by sharing information about the lengths of the routes they took. You may not care which path an ant takes if you only want to code your way out of a paper bag. When ants, particles, or points spread out, they end up outside the paper bag. Problem solved. A simulation shows what happens when things spread out using a model or equation of how they spread or diffuse.
A simulation lets you explore different scenarios. Simulations are used in a variety of areas from finance to epidemiology. Armed with a plausible model—often a stochastic differential equation (SDE)—a simulation shows three things: ...
Read now
Unlock full access