| @@ 310-315 (lines=6) @@ | ||
| 307 | $matches = $ymatches[$line]; |
|
| 308 | reset($matches); |
|
| 309 | while (list ($junk, $y) = each($matches)) { |
|
| 310 | if (empty($this->in_seq[$y])) { |
|
| 311 | $k = $this->_lcs_pos($y); |
|
| 312 | USE_ASSERTS && assert($k > 0); |
|
| 313 | $ymids[$k] = $ymids[$k-1]; |
|
| 314 | break; |
|
| 315 | } |
|
| 316 | } |
|
| 317 | while (list ($junk, $y) = each($matches)) { |
|
| 318 | if ($y > $this->seq[$k-1]) { |
|
| @@ 326-330 (lines=5) @@ | ||
| 323 | $this->seq[$k] = $y; |
|
| 324 | $this->in_seq[$y] = 1; |
|
| 325 | } |
|
| 326 | elseif (empty($this->in_seq[$y])) { |
|
| 327 | $k = $this->_lcs_pos($y); |
|
| 328 | USE_ASSERTS && assert($k > 0); |
|
| 329 | $ymids[$k] = $ymids[$k-1]; |
|
| 330 | } |
|
| 331 | } |
|
| 332 | } |
|
| 333 | } |
|