January 2019
Intermediate to advanced
236 pages
5h 41m
English
In the previous chapter, you simulated diffusion, drew the results in C++, and considered how to test code with random elements. Your particles eventually dispersed or diffused as intended. They took a long time to escape the bag—unless you cheated with the input parameters—even going as far as turning off the stochastic behavior for the stock price simulation.
If you’re wondering how to make everything escape quickly, your earlier foray into particle swarms and ant colonies laid the foundation of the general idea of swarm optimizations or intelligence (SI). In this chapter, you’ll add to your knowledge by building another swarm optimization—this time, bees.
Imagine you’ve got some bees buzzing around ...
Read now
Unlock full access