Stochastic Diffusion Search ( SDS )
Stochastic Diffusion Search ( SDS ) is a search algorithm that is using swarm intelligence to solve its assigned problem. In this blog post I will talk about how I am implementing this algorithm using a mining simulation game. Stochastic Diffusion Search contains multiple agents and in this particular case, miners. Every miner has a position, a hypothesis and a current state. All the miners are also communicating with one another. The landscape we are simulating contains multiple hills which is represented by larger squares in our example, and each hill contains multiple locations within each hill which is represented by smaller squares. We initialise our miners with a random location together with randomly scattered gold objects across our landscape. If a miner strike gold, that hill now becomes their hypothesis which basically says: "this is a good hill for mining gold" and the miner will switch state to become satisfied. If the miner is satisfied , it w