public interface ConceptCache extends Map<aterm.ATermAppl,CachedNode>
Title: Concept Cache
Description:
Copyright: Copyright (c) 2007
Company: Clark & Parsia, LLC.
| Modifier and Type | Method and Description |
|---|---|
Bool |
checkNominalEdges(KnowledgeBase kb,
CachedNode node1,
CachedNode node2) |
int |
getMaxSize()
Get the maximum number of non-primitive concepts allowed in the cache
|
CacheSafety |
getSafety()
Returns safety checker that tells which concepts are safe to cache.
|
Bool |
getSat(aterm.ATermAppl c)
Get the satisfiability status of a concept as a three-value boolean.
|
Bool |
isMergable(KnowledgeBase kb,
CachedNode node1,
CachedNode node2) |
boolean |
putSat(aterm.ATermAppl c,
boolean isSatisfiable)
Put an incomplete
|
void |
setMaxSize(int maxSize)
Set the maximum number of non-primitive concepts allowed in the cache
|
clear, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, equals, forEach, get, getOrDefault, hashCode, isEmpty, keySet, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, valuesint getMaxSize()
void setMaxSize(int maxSize)
Bool getSat(aterm.ATermAppl c)
c - boolean putSat(aterm.ATermAppl c,
boolean isSatisfiable)
c - isSatisfiable - Bool isMergable(KnowledgeBase kb, CachedNode node1, CachedNode node2)
kb - node - Bool checkNominalEdges(KnowledgeBase kb, CachedNode node1, CachedNode node2)
kb - node - CacheSafety getSafety()
Copyright © 2019. All rights reserved.