S
- The type of formulas this postulate is about.public interface Postulate<S extends Formula>
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getName()
The textual name of the postulate
|
boolean |
isApplicable(java.util.Collection<S> kb)
Checks whether the given kb represents a non-trivial
instance for this postulate, i.e., whether assumptions
of this postulates are satisfied (evaluating an approach
on a non-applicable instance always succeeds).
|
boolean |
isSatisfied(java.util.Collection<S> kb,
PostulateEvaluatable<S> ev)
Checks whether this postulate is satisfied by the given approach
ev wrt. |
boolean isApplicable(java.util.Collection<S> kb)
kb
- some knowledge baseboolean isSatisfied(java.util.Collection<S> kb, PostulateEvaluatable<S> ev)
ev
wrt. the given instance kb
(note
that evaluating an approach on a non-applicable instance always succeeds).kb
- some knowledge baseev
- some approachjava.lang.String getName()