Classes | |
class | TautologyException |
Public Member Functions | |
Clause (Formula f) throws Exception | |
boolean | isTrue (IPossibleWorld w) |
Formula | simplify (Database evidence) |
Formula | toCNF () |
Formula | toNNF () |
String | toString () |
Public Attributes | |
GroundLiteral[] | lits |
Definition at line 12 of file Clause.java.
edu::tum::cs::logic::sat::Clause::Clause | ( | Formula | f | ) | throws Exception [inline] |
Definition at line 16 of file Clause.java.
boolean edu::tum::cs::logic::sat::Clause::isTrue | ( | IPossibleWorld | w | ) | [inline, virtual] |
Implements edu::tum::cs::logic::Formula.
Definition at line 58 of file Clause.java.
simplifies the formula by removing parts of the formula that can be evaluated
evidence | an evidence database with which to evaluate ground atoms (may be null; if null, will only simplify based on TrueFalse instances appearing within the formula) |
Implements edu::tum::cs::logic::Formula.
Definition at line 75 of file Clause.java.
Formula edu::tum::cs::logic::sat::Clause::toCNF | ( | ) | [inline, virtual] |
Implements edu::tum::cs::logic::Formula.
Definition at line 66 of file Clause.java.
Formula edu::tum::cs::logic::sat::Clause::toNNF | ( | ) | [inline, virtual] |
Implements edu::tum::cs::logic::Formula.
Definition at line 80 of file Clause.java.
String edu::tum::cs::logic::sat::Clause::toString | ( | ) | [inline] |
Reimplemented in edu::tum::cs::logic::sat::weighted::WeightedClause.
Definition at line 70 of file Clause.java.
Definition at line 14 of file Clause.java.