An adaptive model for resource selection and allocation in fog computing environment. (July 2019)