T
- The type of formula the relation works on.public abstract class EntailmentRelation<T extends Formula>
extends java.lang.Object
Constructor and Description |
---|
EntailmentRelation() |
Modifier and Type | Method and Description |
---|---|
boolean |
entails(java.util.Collection<T> formulas,
java.util.Collection<T> formulas2)
Checks whether the given set of formulas entails the other set of formulas.
|
abstract boolean |
entails(java.util.Collection<T> formulas,
T formula)
Checks whether the given set of formulas entails the given formula.
|
boolean |
entails(T formula,
java.util.Collection<T> formulas2)
Checks whether the first formula entails the other set of formulas.
|
boolean |
entails(T formula,
T formula2)
Checks whether the first formula entails the second formula.
|
java.util.Collection<java.util.Collection<T>> |
getKernels(java.util.Collection<T> formulas,
T formula)
Retrieves the set of kernels for the given formula
from the given set of formulas.
|
abstract Interpretation |
getWitness(java.util.Collection<T> formulas)
If the collection of formulas is consistent this method
returns some model of it or, if it is inconsistent, null.
|
abstract boolean |
isConsistent(java.util.Collection<T> formulas)
Checks whether the given set of formulas is consistent.
|
boolean |
isEquivalent(T formula,
T formula2)
Checks whether the two formula are equivalent, i.e.
|
public abstract boolean entails(java.util.Collection<T> formulas, T formula)
formulas
- a collection of formulas.formula
- some formula.public abstract boolean isConsistent(java.util.Collection<T> formulas)
formulas
- a set of formulas.public abstract Interpretation getWitness(java.util.Collection<T> formulas)
public boolean entails(java.util.Collection<T> formulas, java.util.Collection<T> formulas2)
formulas
- a collection of formulas.formulas2
- a collection of formulas.public boolean entails(T formula, T formula2)
formula
- a formula.formula2
- a formula.public boolean entails(T formula, java.util.Collection<T> formulas2)
formula
- a formula.formulas2
- a set of formulas.public boolean isEquivalent(T formula, T formula2)
formula
- some formulaformula2
- some formulapublic java.util.Collection<java.util.Collection<T>> getKernels(java.util.Collection<T> formulas, T formula)
formulas
- a set of formulas.formula
- a formula.