Resource allocation methods for Fog computing systems