I tried to simulate swarm intelligence.
Blind agents must look for resources and deliver them to the base. Communicate at a short distance with the help of a cry.
Each agent follows a simple algorithm:
Take a step and increase all the counters by one.
If you bump into one of the items, reset the respective counter.
If this is the destination you were willing to reach, turn around 180 degrees and change the destination objective in your head.
Shout out the value of one of your counters plus the maximum distance you can be heard at.
Listen to what the others are shouting.
If you have heard a value less than in your counter, update the respective counter and turn in the direction of the shouting if you need to reach this place.
You can support the channel on Patreon:
/ simulifehub
More support, more opportunities for new projects.
Негізгі бет Ғылым және технология Swarm intelligence simulation. Project "Screaming Insects"
Пікірлер: 223