A unified model for the mobile-edge-cloud continuum