|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--techniques.FOL.Sentence
Represents a Sentence in first-order logic. The Sentences all have a number of simplification methods.
Field Summary | |
static Proposition |
FALSE
The False proposition. |
static Proposition |
TRUE
The True proposition. |
Constructor Summary | |
Sentence()
|
Method Summary | |
ClauseList |
clausalForm()
Returns a list of clauses that is equivalent to this Sentence. |
java.lang.Object |
clone()
cloning returns a deep copy of a sentence. |
static void |
debugPrint(java.lang.String s)
|
static void |
debugPrintln(java.lang.String s)
for debugging |
abstract Sentence |
driveInNegations()
Drive in negations to get an equivalent Sentence. |
abstract Sentence |
eliminateEquivalences()
Removes all equivalence Connectives from the Sentence. |
abstract Sentence |
eliminateImplications()
Removes all Implication Connectives from the Sentence. |
abstract void |
extractQuantifications(java.util.Vector quantifications)
|
abstract ClauseList |
makeClauses()
|
abstract Sentence |
negate()
Return the negation of this sentence by applying deMorgan's law. |
abstract Sentence |
removeQuantifiers(java.util.Vector quantifications)
|
abstract Sentence |
renameVariables()
|
abstract Sentence |
simplify()
Simplifies this sentence by removing subtrees that are known to be true or false. |
abstract Sentence |
substitute(Substitution s)
|
abstract Sentence |
substituteVariable(Variable oldVar,
Term newVar)
|
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static Proposition TRUE
public static Proposition FALSE
Constructor Detail |
public Sentence()
Method Detail |
public java.lang.Object clone()
public abstract Sentence eliminateEquivalences()
public abstract Sentence eliminateImplications()
public abstract Sentence driveInNegations()
public abstract Sentence simplify()
public abstract Sentence negate()
public ClauseList clausalForm()
public abstract Sentence substitute(Substitution s)
public abstract Sentence substituteVariable(Variable oldVar, Term newVar)
public abstract Sentence renameVariables()
public abstract void extractQuantifications(java.util.Vector quantifications)
public abstract Sentence removeQuantifiers(java.util.Vector quantifications)
public abstract ClauseList makeClauses()
public static void debugPrintln(java.lang.String s)
public static void debugPrint(java.lang.String s)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |