Research Article

Improved Candidate Drug Mining for Alzheimer’s Disease

Algorithm 1

Pseudocode for the edit distance used for approximate string matching.
(1)// initialization
(2)for to do
(3)
(4)end for
(5)for to do
(6)
(7)end for
(8)// edit distance
(9)for to do
(10) for to do
(11)  if( ( ) =  ( )) then
(12)   
(13)  else
(14)   min   MIN[ ]
(15)     min + 1
(16)  end if
(17) end for
(18)end for
(19)return