public interface Interpretation
Modifier and Type | Method and Description |
---|---|
boolean |
satisfies(BeliefBase beliefBase)
Checks whether this interpretation satisfies the given knowledge base.
|
boolean |
satisfies(java.util.Collection<? extends Formula> formulas)
Checks whether this interpretation satisfies all given formulas.
|
boolean |
satisfies(Formula formula)
Checks whether this interpretation satisfies the given formula.
|
boolean satisfies(Formula formula) throws java.lang.IllegalArgumentException
formula
- a formula .java.lang.IllegalArgumentException
- if the formula does not correspond
to the expected language.boolean satisfies(java.util.Collection<? extends Formula> formulas) throws java.lang.IllegalArgumentException
formulas
- a collection of formulas.java.lang.IllegalArgumentException
- if at least one formula does not correspond
to the expected language.boolean satisfies(BeliefBase beliefBase) throws java.lang.IllegalArgumentException
beliefBase
- a knowledge base.java.lang.IllegalArgumentException
- IllegalArgumentException if the knowledgebase does not correspond
to the expected language.