Contrasting Models of Upper Palaeolithic Social Dynamics: a Distributed Artificial Intelligence Approach