Cost function for delay (CFD) in software defined network with fog computing and associated IoT application. Issue 3 (December 2020)