| org.mandarax.kernel.Fact
All known Subclasses: org.mandarax.reference.FactImpl,
applyToFact | public Fact applyToFact(Replacement r)(Code) | | Apply a single replacement to a fact. Return a new fact!
the fact that is the result of the application of the replacement Parameters: r - the replacement applied |
getKey | public Object getKey()(Code) | | Get a key for fast access. The key is usually the predicate, but subclasses
might want to use different keys. Note that keys are mainly used by inference engines and
knowledge bases to improve performance and inference engine and knowledge bases
must know about the semantics of keys to use them correctly!
See Also: org.mandarax.kernel.KnowledgeBase See Also: org.mandarax.kernel.Clause.getKey the key object |
isNegatedAF | boolean isNegatedAF()(Code) | | Indicates whether the fact is negated (negation as failure)
true if the fact is negated, false otherwise |
|
|