Research Article

Development of an AI-Enabled Q-Agent for Making Data Offloading Decisions in a Multi-RAT Wireless Network

Algorithm 1

Training of Q-agent.
(1)Initialization
(2) as a random uniform policy
(3)
(4)
(5)for each download request - episode do
(6) define state - randomly generated using (6)
(7)while download is not complete do
(8)  if is same then
(9)   choose action at random
(10)  else
(11)   choose
(12)  end if
(13)  take action
(14)  update by using (13)
(15)  ifthen
(16)   obtain using (9)
(17)   obtain - randomly generated using (6)
(18)   update by using (12)
(19)   
(20)  else
(21)   obtain using (10)
(22)   update
(23)   break
(24)  end if
(25)end While
(26)end for