]>Automated Test Case Prioritization with Reactive GRASP : Algorithm 5
( 1 ) while 𝑠 not locally optimal do
( 2 )  Find 𝑠 Neighbour ( 𝑠 ) with 𝑓 ( 𝑠 ) < 𝑓 ( 𝑠 ) ;
( 3 ) 𝑠 𝑠 ;
( 4 ) end;
(5)  return 𝑠 ;
Algorithm 5: Reactive GRASP for Test Case Prioritization, Local Search Phase.