Skip to main content
. 2021 Jan 30;23(2):171. doi: 10.3390/e23020171
Algorithm 1 Optimized design of action space
Input:
The number of trials: T
Information bits length: K
Discrete SNRs: snr
Output: The action space: A
Initialization:A0; frame1;
Forsinsnr:
Space1K0;
Whileframe < T:
Updating the received LLR: y1N;
FEbitNull;
//The FEbit is the first error bit index in SC decoding.
[u^1N, FEbit]SCdecoder(y1N, K,s, FEbit);
If FEbit is Null: Continue; else:
Space[FEbit]+=1;
frame+=1;
End if
End while
Space=Space/T;
For i in K:
If Space[i]>θ:
Move i into A;
End if
End for
End for