public interface DPLL
| Modifier and Type | Method and Description |
|---|---|
boolean |
dpll(java.util.Set<Clause> clauses,
java.util.List<PropositionSymbol> symbols,
Model model)
DPLL(clauses, symbols, model)
|
boolean |
dpllSatisfiable(Sentence s)
DPLL-SATISFIABLE?(s)
Checks the satisfiability of a sentence in propositional logic. |
boolean |
isEntailed(KnowledgeBase kb,
Sentence alpha)
Determine if KB |= α, i.e.
|
boolean dpllSatisfiable(Sentence s)
s - a sentence in propositional logic.boolean dpll(java.util.Set<Clause> clauses, java.util.List<PropositionSymbol> symbols, Model model)
clauses - the set of clauses.symbols - a list of unassigned symbols.model - contains the values for assigned symbols.boolean isEntailed(KnowledgeBase kb, Sentence alpha)
kb - a Knowledge Base in propositional logic.alpha - a propositional sentence.