Skip to main content
. 2022 Jul 2;22(13):5011. doi: 10.3390/s22135011
Algorithm 2. Elite Mapping Swotting Algorithm for Parameter Mapping
Prerequisites: present state cs(t), previous state ps(x), and F(t)
Ascertain that the Swotting algorithm selected produces the maximum possible output. OP
Training: given the state of the network cs(t);
Probabilistic exploration γ;
Choose one action at random;
New Update UP(t)={b|W(cs(t),b)=1} for cs(t);
Probabilistic Exploitation is 1 −γ;
Choose α records UP”(CS’(ps(x),F(t)) from actions F in accordance with CS’(ps(x),F(t))
Resolve Re(cs(t), r) in accordance with next r(x) and fill UPR(cs(t));
if (y* exist=maxy(y|cs(y)  UP”(CS’(cs(t)),F(t)) UP’(cs(t)) then
Choose the action r(x);
Else if
Choose action from UPR(cs(t));
end if
do update UP(cs(t), r)
do
repeat SWQ;
while (t = t + 1 and s = s.t + 1)