public class IsdoingAssertFilter extends KBAssertFilter
DefaultFilterKBaseLoader
TODO: this filter is never used the pattern is false (should be encapsulated in a belief) FIXMEConstructor and Description |
---|
IsdoingAssertFilter()
Constructor of the filter.
|
Modifier and Type | Method and Description |
---|---|
Formula |
apply(Formula formula)
If the filter is applicable, asserts in the belief base the
weaker version, and returns a
TrueNode . |
afterAssert, beforeAssert
getMyKBase, setMyKBase
protected Formula pattern
public IsdoingAssertFilter()
public final Formula apply(Formula formula)
TrueNode
.apply
in class KBAssertFilter
formula
- a formula to assert