Skip to main content
. 2026 Aug 4;26(15):4924. doi: 10.3390/s26154924
Algorithm 1 Incentivized Ground Route Selection for Covert Multi-hop Forwarding
  •   1:

    Input: Network topology and basic system parameters {P,α,c,λ,δJi};

  •   2:

    Output: Optimal path Πopt, optimal configuration of source rewards R∗ and jamming power PJ∗;

  •   3:

    Evaluate the weight Θ of every feasible link l using Equation (41);

  •   4:

    Run a shortest-path search, e.g., Dijkstra’s algorithm, from the source to the destination and obtain Πopt;

  •   5:

    For Πopt, compute the larger zero of (34) and assign it to R∗;

  •   6:

    Compute ζ=27λ/(e3Δ)−1;

  •   7:

    if ζ≤0 then

  •   8:

        Set R∗=0;

  •   9:

    else

  • 10:

        Numerically compute the larger root R2>Δ/3 of (34) using a bracketing root-finding method;

  • 11:

        if US(R2)>0 then

  • 12:

            Set R∗=R2;

  • 13:

        else

  • 14:

            Set R∗=0;

  • 15:

        end if

  • 16:

    end if

  • 17:

    if R∗=0 then

  • 18:

        Set PJine=0, ∀i∈J;

  • 19:

    else

  • 20:

        Each jammer sets PJi∗ according to Equation (30);

  • 21:

    end if

  • 22:

    return {Πopt,R∗,PJ∗};