Research Article

Double-Layer Low-Density Parity-Check Codes over Multiple-Input Multiple-Output Channels

Algorithm 1

Modified PEG algorithm.
(1)
(2)
(3) for do
(4)  arrange the check node degrees of the
  check node group in nondecreasing order
   .
(5)  end for
(6)  for to do
(7)  if then
(8)    .
(9)  else
(10)   .
(11)  end if
(12)  for to do
(13)   if then
(14)    if then
     edge , where is the first edge
   incident to . This edge corresponds to the “1” in
   the diagonal line of matrix .
(15)    else
     edge , where
    .
(16)    end if
(17)   else
   expand a subgraph from up to depth under
  the current graph setting such that
  but , or the cardinality of stops
  increasing, then edge , where is the
   th edge incident to and is a check node picked
  from the set having the lowest check-node
  degree.
(18)   end if
(19)   if the degree of equals then
    Add into .
     .
     .
(20)   end if
    find out which check node group includes .
    .
(21) end for
(22)  end for