Research Article

Processing Optimization of Typed Resources with Synchronized Storage and Computation Adaptation in Fog Computing

Algorithm 1

Calculating Re of each resource combination at all fog nodes.
Input: IR, RoG, IVuser0, Re0
Output: The minimum Re0.
For: each IRT Do
Assign value from ;
Compute CIR;
Compute CRG; Compute Cpro;
Compute Ctrans; Compute Total_Cost;
Compute IVuser; Compute Re;
If (Re < Re0 & IVuseri < IVuser0)
Re0= Re;
Return Re0