Research Article

A Db-Scan Binarization Algorithm Applied to Matrix Covering Problems

Algorithm 4

Repair algorithm.
(1)Function Repair ()
(2)Input Input solution
(3)Output The repaired solution
(4)while needRepair () = = True do
(5).append (Heuristic ())
(6)end while
(7) deleteRepeatedItem ()
(8)return