VMDBSCAN()
(1) Begin initialize 𝜂
(2)  For 𝑖 = 1 𝑡 𝑜 𝑛
(3)     𝑑 𝑖 𝑑 𝑒 𝑛 𝑠 𝑖 𝑡 𝑦 ( 𝑥 𝑖 )
(4)  end_For
(5)   𝐶 𝑙 𝑎 𝑠 𝑠 𝐷 𝐵 𝑆 𝐶 𝐴 𝑁 ( )
(6)  For 𝑗 = 1 𝑡 𝑜 𝑐
(7)     𝑐 𝑗 𝑐 𝑜 𝑟 𝑒 ( 𝑥 𝑗 )
(8)  end_For
(9)  For 𝑖 = 1 𝑡 𝑜 𝑛
(10)     𝐸 𝑖 = 𝑐 𝑖 𝑑 𝑒 𝑛 𝑠 𝑖 𝑡 𝑦 ( 𝑥 𝑖 )
(11)    For 𝑗 = 1 𝑡 𝑜 𝑐
(12)        𝐸 𝑖 𝑐 = 𝑐 𝑗 𝑑 𝑒 𝑛 𝑠 𝑖 𝑡 𝑦 ( 𝑥 𝑖 )
(13)       if 𝐸 𝑖 𝑐 < 𝐸 𝑖
(14)         vibrate the point
(15)         else no vibrate
(16)       end_If
(17)    end_For
(18)  end_For
Algorithm 1: VMDBSCAN algorithm.