RESEARCH ON AGENT AND CELLULAR AUTOMATA SIMULATION OF THE HERD EFFECT
To investigate the mechanism of the movement law of sheep and theoretically support the study on the herd effect, a herd effect model based on the agent and cellular automata technology is built. The law of the herd effect is defined with the use of PyCharm for simulation, based on the characteristics of the flock tending to the top sheep. The flock activity area falls into several two-dimensional cell space structures, and the grid with the cell state of "sheep" in the cell space structure is considered a type of agent. The model assumed that there are five behaviors, including standing, walking slowly, looking for the leader, random and avoiding collisions in four scenarios. A herd effect model is built, the herd behavior is simulated, and the simulation results are compared with the actual herd behavior trajectory. The mean square error between the calculation model and the reality is 1.025. As revealed by the results, the model exhibits effective applicability, so it can better describe the trajectory of real herd behavior and provide theoretical guidance for the study on the herd effect.
Abstract in Chinese