**4. Simulations**

We applied the proposed method to an ant foraging problem and evaluated its robustness in a fluctuating external environment. The simulation results show mechanisms that can flexibly assign foraging and exploring agents in an environment with fluctuating amounts and distributions of feeds through contact stimuli with foraging agents as the local interaction.
