Evaluating centralized and heterarchical control of smart manufacturing systems in the era of industry 4.0