Content deleted Content added
CodeTalker (talk | contribs) Move detailed description of algorithm from lead to body |
Peter Buch (talk | contribs) →Example: Describe the last reduction of the matrix in analogy to the previous reductions. |
||
Line 303:
:: Step 1—The matrix is not empty, so the algorithm proceeds.
:: Step 2—The lowest number of 1s in any column is one. Column 2 is the first column with one 1 and thus is selected (deterministically)
:::{| class="wikitable"
! !! <span style="color:red">5</span> !! 7
|-
! ''F''
| <span style="color:red;font-weight:bold">1</span> || 1
|}
:: Row ''F'' has a 1 in column 2 and thus is selected (nondeterministically).
Line 329 ⟶ 336:
! <span style="color:blue">''F''</span>
| <span style="color:red;font-weight:bold">1</span> || <span style="color:red;font-weight:bold">1</span>
|}
::: No rows and no columns remain:
::::{| class="wikitable"
!
|}
::: Step 1—The matrix is empty, thus this branch of the algorithm terminates successfully.
::: As rows ''B'', ''D'', and ''F''
::::{| class="wikitable"
|