Skip to main content
. 2021 Feb 20;21(4):1484. doi: 10.3390/s21041484
Algorithm 1 Fuzzy Decision-Based Task Offloading Management (FTOM) Algorithm
  •  Input: The incoming task, T

  •  Output: Target offload node, O

  • 1:

    Read the network topology;

  • 2:

    Read the profile of incoming task T;

  • 3:

    fv← FuzzyLogic(τ, ι, d, η, w); // Output value that fuzzy logic returns

  • 4:

    Calculate the center of gravity value for crisp output, COG ← Equation (22);

  • 5:

    Offloading decision, O ← Table 4;

  • 6:

    return O;