It is analogous to the simulation of swarms of insects, birds, or fish, in which we attribute very basic "navigational" rules to the individual organisms, and then run forward the behavior of the group as the compound of the interactive decisions made by the individuals.