| @@ 211-216 (lines=6) @@ | ||
| 208 | $matches = $ymatches[$line]; |
|
| 209 | reset($matches); |
|
| 210 | while (list ($junk, $y) = each($matches)) { |
|
| 211 | if (empty($this->in_seq[$y])) { |
|
| 212 | $k = $this->_lcs_pos($y); |
|
| 213 | $this::USE_ASSERTS && assert($k > 0); |
|
| 214 | $ymids[$k] = $ymids[$k-1]; |
|
| 215 | break; |
|
| 216 | } |
|
| 217 | } |
|
| 218 | while (list ($junk, $y) = each($matches)) { |
|
| 219 | if ($y > $this->seq[$k-1]) { |
|
| @@ 227-231 (lines=5) @@ | ||
| 224 | $this->seq[$k] = $y; |
|
| 225 | $this->in_seq[$y] = 1; |
|
| 226 | } |
|
| 227 | elseif (empty($this->in_seq[$y])) { |
|
| 228 | $k = $this->_lcs_pos($y); |
|
| 229 | $this::USE_ASSERTS && assert($k > 0); |
|
| 230 | $ymids[$k] = $ymids[$k-1]; |
|
| 231 | } |
|
| 232 | } |
|
| 233 | } |
|
| 234 | } |
|