Knuth's Algorithm X: Difference between revisions

Content deleted Content added
Tregoweth (talk | contribs)
No edit summary
Line 18:
Algorithm X functions as follows:
# Using any [[deterministic algorithm]], choose a column, c.
# Nondeterministically choosebranch, choosing any row, r, which has a 1 in column c, and add that row to the solution set.
# Remove any unselected rows which have a 1 in any column which r has a 1 in.
# Remove from the matrix any columns for which row r has a 1.