{'fraction_non_alphanumeric': 0.013584117032392894, 'fraction_numerical': 0.0010449320794148381, 'mean_word_length': 4.9875, 'pattern_counts': {'":': 0, '<': 0, '<?xml version=': 0, '>': 0, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
Swarm interaction in 2D

In the present work is described a simple minimal model set of ordinary differential system of equations for simulating the swarming behavior of preys under action of predators. Preys and predators are represented by a set of ODEs taking in account the Newtonian attraction-repulsion forces. The predators interacts with the preys through a Newtonian force, which is a nonconservative force (includes friction) that acts in the same direction for both agents. A perturbing force is introduced for the predators’ dynamics in order to simulate its behavior among preys. The resulting system of ordinary differential equations is solved numerically by means of Runge-Kutta of fourth order and the dynamics are discussed in the present work as the swarm’s ability to realistically avoid the predator. The main goal is to reproduce swarm behavior that has been observed in nature with the minimal and simple possible model of ODE system.