Logic of basic swarm reactions. (March 2020)