if 𝑝 𝑘 > 𝜀 𝑝 1 , accept 𝑥 𝑘 as a cluster center and continue.
   else if 𝑝 𝑘 < 𝜀 𝑝 1 , reject 𝑥 𝑘 and end the clustering process.
      else let 𝑑 m i n = shortest of the distances between 𝑥 𝑘 and all previously found cluster centers.
         if ( 𝑑 m i n / 𝑟 𝑎 ) + ( 𝑝 𝑘 / 𝑝 1 ) 1 accept 𝑥 𝑘 as a cluster center and continue.
         else reject 𝑥 𝑘 and set the potential at 𝑥 𝑘 to 0. Select the data point with the next highest potential
         as the new 𝑥 𝑘 and reset.
         end if
      end if
end if
Algorithm 1: