A Multiagent Cooperative Learning System With Evolution of Social Roles