edu::tum::cs::logic::sat::Clause Class Reference

Inheritance diagram for edu::tum::cs::logic::sat::Clause:
Inheritance graph
[legend]

List of all members.

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

Detailed Description

Definition at line 12 of file Clause.java.


Constructor & Destructor Documentation

edu::tum::cs::logic::sat::Clause::Clause ( Formula  f  )  throws Exception [inline]

Definition at line 16 of file Clause.java.


Member Function Documentation

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.

Formula edu::tum::cs::logic::sat::Clause::simplify ( Database  evidence  )  [inline, virtual]

simplifies the formula by removing parts of the formula that can be evaluated

Parameters:
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)
Returns:
a simplified version of the formula that incorporates the evidence

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.


Member Data Documentation

Definition at line 14 of file Clause.java.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Enumerations


srldb
Author(s): Dominik Jain, Stefan Waldherr, Moritz Tenorth
autogenerated on Fri Jan 11 09:58:42 2013