An algorithm that explains how ants create and repair trail networks

Observing ants in the trees of a tropical forest, researchers recorded how, without a plan, the ants make and maintain their networks — and how they repair the network when it is ruptured.