Skip to main content
. 2025 Jul 29;25(15):4688. doi: 10.3390/s25154688
Algorithm 1 The optimization of the phase shifts of the STEs based on MO
Input:  g¯n,h¯,g~n,h~,a,φ~nini
1: Initialize ϕ¯ with random phases, i=0
2: repeat
    3:        Select the step size μ
    4:        Update vecϕ¯ according to (23)
    5:        Update the Riemannian gradient gi=fϕ¯ according to (20)(21)
    6:        Calculate gi+,di+ from xi to xi+1
    7:        Select Polak–Ribiere parameter ηi+1
    8:        Calculate the conjugate direction di+1=gi+1+ηi+1di+
    9:            Update ii+1
10: until a stopping condition is satisfied
Output:   ϕ¯