This strategy causes unit clauses to be selected from the ToBeUsed set in preference to non-unit clauses.
Example, using unit preference | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
S1 = { p(b) | r(Y) | p(Y), ~p(S) | p(b), ~p(b), ~r(a), ~r(c) }
|
Example, using least symbol count | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
S10 = { p(X) | ~p(f(X)) [5] ~p(a) [2] p(S) | q(S) | r(S) [6] ~q(T) | p(a) [4] ~r(T) | p(a) } [4]
|
S = { ~r(Y) | ~p(Y), p(b), r(a), p(S) | ~p(b) | ~r(S), r(c) }Number the chosen clause at each iteration.
S = { ~p(b), p(X) | l(X) | q, ~q | l(Y), ~l(Z) | r(Z), ~r(b) | ~l(T) }
S = { p(X) | ~p(f(X)) ~p(a) p(S) | q(S) | r(S) ~q(T) | p(a) ~r(T) | p(a) }