public interface Interpretation<B extends BeliefBase,S extends Formula>
| Modifier and Type | Method and Description |
|---|---|
boolean |
satisfies(B beliefBase)
Checks whether this interpretation satisfies the given knowledge base.
|
boolean |
satisfies(Collection<S> formulas)
Checks whether this interpretation satisfies all given formulas.
|
boolean |
satisfies(S formula)
Checks whether this interpretation satisfies the given formula.
|
boolean satisfies(S formula) throws IllegalArgumentException
formula - a formula .IllegalArgumentException - if the formula does not correspond
to the expected language.boolean satisfies(Collection<S> formulas) throws IllegalArgumentException
formulas - a collection of formulas.IllegalArgumentException - if at least one formula does not correspond
to the expected language.boolean satisfies(B beliefBase) throws IllegalArgumentException
beliefBase - a knowledge base.IllegalArgumentException - IllegalArgumentException if the knowledgebase does not correspond
to the expected language.Copyright © 2019. All rights reserved.