Research Article

AN-Aided Secure Beamforming in SWIPT-Aware Mobile Edge Computing Systems with Cognitive Radio

Algorithm 1

The 1-D search algorithm.
1: Initialization:.
2: Input:.
3: Set: The iteration index n=1, the step length factor of the
1-D search .
4: Optimization:
5: for=::1
6: solve the P3,
    obtain ;
    set n=n+1.
7: end
8: Comparison: Find the optimal from the n