Research Article

Reinforcement Learning for Routing in Cognitive Radio Ad Hoc Networks

Algorithm 2

Counterapproach algorithm at SU node .
initialize  
while  (updating a new -value )
if  ( )  then  
else  
end  if
compute
if  ( )  then  
else  if   ( )  then  
end  if
end