Skip to main content
. 2014 Feb 11;9(2):e86693. doi: 10.1371/journal.pone.0086693

Table 2. Algorithm 2. Local moving function.

function LOCALMOVING(binary vector x, adjacency matrix A, problem size N)
Inline graphic
Inline graphic
repeat
for Inline graphic do
   if Inline graphic then
    Inline graphic
    Inline graphic
   end if
end for
until Inline graphic
end function