Text this: Joint Optimization Scheme of Resource Allocation and Offloading Decision in Mobile Edge Computing