Evolution of decision-making systems