public class CacheSafetyDynamic extends Object implements CacheSafety
| Modifier and Type | Method and Description |
|---|---|
boolean |
canSupport(Expressivity expressivity)
Check if this safety checker can be used with the specified expressivity.
|
protected Iterator<CachedNode> |
getCachedNodes(ABox abox,
aterm.ATermAppl c) |
protected Edge |
getParentEdge(Individual ind) |
protected boolean |
hasAnonInverse(Role role) |
protected boolean |
interactsWithInverses(KnowledgeBase kb,
Role role) |
protected boolean |
interactsWithInversesComplex(KnowledgeBase kb,
Role role) |
protected boolean |
interactsWithInversesSimple(Role role) |
boolean |
isSafe(aterm.ATermAppl c,
Individual ind)
Returns if a previously cached satisfiability result is safe to reuse for a given
concept and node in the completion graph.
|
public boolean canSupport(Expressivity expressivity)
canSupport in interface CacheSafetyexpressivity - Expressivity of the KB where safety check will be performedtrue if this safety checker can be used with the specified expressivitypublic boolean isSafe(aterm.ATermAppl c,
Individual ind)
isSafe in interface CacheSafetyc - The concept for which we want to reuse previously cached satisfiability resultind - The node in the completion graph represented by the concepttrue if a previously cached satisfiability result is safe to reuseprotected Edge getParentEdge(Individual ind)
protected Iterator<CachedNode> getCachedNodes(ABox abox, aterm.ATermAppl c)
protected boolean interactsWithInverses(KnowledgeBase kb, Role role)
protected boolean interactsWithInversesSimple(Role role)
protected boolean interactsWithInversesComplex(KnowledgeBase kb, Role role)
protected boolean hasAnonInverse(Role role)
Copyright © 2019. All rights reserved.