| @@ 194-199 (lines=6) @@ | ||
| 191 | $matches = $ymatches[$line]; |
|
| 192 | reset($matches); |
|
| 193 | while (list(, $y) = each($matches)) { |
|
| 194 | if (empty($this->in_seq[$y])) { |
|
| 195 | $k = $this->_lcsPos($y); |
|
| 196 | assert($k > 0); |
|
| 197 | $ymids[$k] = $ymids[$k - 1]; |
|
| 198 | break; |
|
| 199 | } |
|
| 200 | } |
|
| 201 | while (list(, $y) = each($matches)) { |
|
| 202 | if ($y > $this->seq[$k - 1]) { |
|
| @@ 209-213 (lines=5) @@ | ||
| 206 | $this->in_seq[$this->seq[$k]] = false; |
|
| 207 | $this->seq[$k] = $y; |
|
| 208 | $this->in_seq[$y] = 1; |
|
| 209 | } elseif (empty($this->in_seq[$y])) { |
|
| 210 | $k = $this->_lcsPos($y); |
|
| 211 | assert($k > 0); |
|
| 212 | $ymids[$k] = $ymids[$k - 1]; |
|
| 213 | } |
|
| 214 | } |
|
| 215 | } |
|
| 216 | } |
|