Solving the shepherding problem: heuristics for herding autonomous, interacting agents
Related Experiment Video
Updated: Apr 25, 2026

Automated Interactive Video Playback for Studies of Animal Communication
Published on: February 9, 2011
Daniel Strömbom1, Richard P Mann2, Alan M Wilson3
1Department of Mathematics, Uppsala University, Uppsala 75106, Sweden strombom@math.uu.se.
Abstract:
Herding of sheep by dogs is a powerful example of one individual causing many unwilling individuals to move in the same direction. Similar phenomena are central to crowd control, cleaning the environment and other engineering problems. Despite single dogs solving this 'shepherding problem' every day, it remains unknown which algorithm they employ or whether a general algorithm exists for shepherding. Here, we demonstrate such an algorithm, based on adaptive switching between collecting the agents when they are too dispersed and driving them once they are aggregated. Our algorithm reproduces key features of empirical data collected from sheep-dog interactions and suggests new ways in which robots can be designed to influence movements of living and artificial agents.
Related Concept Videos
Optimal Foraging
Collisions in Multiple Dimensions: Problem Solving
A small car of mass 1,200 kg traveling east at 60 km/h collides at an intersection with a truck of mass 3,000 kg traveling due north at 40 km/h. The two vehicles are locked together. What is the...
Statically Indeterminate Problem Solving
Distributed Loads: Problem Solving
Stability of Equilibrium Configuration: Problem Solving
Problem-solving in the context of the stability of equilibrium configuration...
Two-Dimensional Force System: Problem Solving
The first step to solving a two-dimensional force system problem is to draw a free-body diagram of the object under consideration. This diagram helps identify all the external forces acting on the object, including their...

