正在加载图片...
2-SAT (X1V-X2)^(X2V-X3)^(X4Vx3)A(x5VX1)A(X4V-X5) clauses X1 X2 X3 Xa s current T T T F T Find an unsatisfied clause:(X4V-X5) flip one of the value of x4 and x5 randomly If we flip xa,then we jump from 4 to 5 If we flip xs,then we jump from 4 to 32-SAT • (x1∨¬x2 )∧(x2∨¬x3 )∧(x4∨x3 )∧(x5∨x1 )∧(x4∨¬x5 ) • Find an unsatisfied clause: (x4∨¬x5 ) • flip one of the value of x4 and x5 randomly – If we flip x4 , then we jump from 4 to 5 – If we flip x5 , then we jump from 4 to 3 x1 x2 x3 x4 x5 current T T T F T clauses
<<向上翻页向下翻页>>
©2008-现在 cucdc.com 高等教育资讯网 版权所有