Home

About

Advanced Search

Browse by Discipline

Scientific Societies

E-print Alerts

Add E-prints

E-print Network
FAQHELPSITE MAPCONTACT US


  Advanced Search  

 
UNITPROP(C, #) = IF C[#] contains the empty clause
 

Summary: UNITPROP(C, #) =
IF C[#] contains the empty clause
let # # # be the smallest sub­valuation of # such that # # C[#]
RETURN (#, ``unsatisfiable'')
ELSE IF C[#] is empty
RETURN (#, ``satisfiable'')
ELSE IF C[#] contains a unit clause {A}
RETURN UNITPROP(C, #[A##tt])
ELSE IF C[#] contains a unit clause {¬A}
RETURN UNITPROP(C, #[A##ff])
ELSE RETURN (#, ''undecided'')
DPLL(#) =
(# # , v) := UNITPROP(C, #)
IF v = ``satisfiable''
RETURN ``satisfiable''
ELSE IF v = ``unsatisfiable''
C := C # {k}where k asserts that at least one atom is valued different from # # .
RETURN ``unsatisfiable''
ELSE
choose an atom A ## dom(# # )

  

Source: Abel, Andreas - Theoretische Informatik, Ludwig-Maximilians-Universität München

 

Collections: Computer Technologies and Information Sciences