Research Article
ReLeC: A Reinforcement Learning-Based Clustering-Enhanced Protocol for Efficient Energy Optimization in Wireless Sensor Networks
for each node i, do | if E of node i >0, then | set Qmax = max(Q(node i; :)) | if Dl Transmission Range, then | if node i is to be the next hop, then | collate data and send to bstn | else | send data to bstn | else if node i is not a CH then | if CH is within Transmission Range, | then | send data to CH | else | locate and send data to neighbour | evaluate Rt+1 | update Q to Qt+1 (s; a) | end |
|