org.semanticweb.HermiT.hierarchy
Class ObjectRoleByConceptSubsumptionCache<T extends Role>
java.lang.Object
org.semanticweb.HermiT.hierarchy.AtomicConceptSubsumptionCache
org.semanticweb.HermiT.hierarchy.ObjectRoleByConceptSubsumptionCache<T>
- All Implemented Interfaces:
- java.io.Serializable, SubsumptionCache<AtomicConcept>
public class ObjectRoleByConceptSubsumptionCache<T extends Role>
- extends AtomicConceptSubsumptionCache
A cache for role subsumption and role satisfiability tests. This class also maintains the set of known and possible subsumers for a role. This information can be used to optimize classification.
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
m_isForObjectProperties
protected final boolean m_isForObjectProperties
m_conceptsForRoles
protected final java.util.Map<T extends Role,AtomicConcept> m_conceptsForRoles
m_rolesForConcepts
protected final java.util.Map<AtomicConcept,T extends Role> m_rolesForConcepts
m_hasInverses
protected final boolean m_hasInverses
m_bottomRole
protected final AtomicRole m_bottomRole
m_topRole
protected final AtomicRole m_topRole
ObjectRoleByConceptSubsumptionCache
public ObjectRoleByConceptSubsumptionCache(Tableau tableau,
boolean isForObjectProperties,
boolean hasInverse,
AtomicRole bottomRole,
AtomicRole topRole,
java.util.Map<T,AtomicConcept> conceptsForRoles,
java.util.Map<AtomicConcept,T> rolesForConcepts)
updateKnownSubsumptionsUsingToldSubsumers
protected void updateKnownSubsumptionsUsingToldSubsumers(Graph<AtomicConcept> roleGraph,
java.util.Set<DLClause> dlClauses)
- Overrides:
updateKnownSubsumptionsUsingToldSubsumers in class AtomicConceptSubsumptionCache
addKnownSubsumption
protected void addKnownSubsumption(Graph<AtomicConcept> knownSubsumptions,
AtomicConcept subConcept,
AtomicConcept superConcept)
- Overrides:
addKnownSubsumption in class AtomicConceptSubsumptionCache
getSatTestDescription
protected ReasoningTaskDescription getSatTestDescription(AtomicConcept atomicConcept)
- Overrides:
getSatTestDescription in class AtomicConceptSubsumptionCache
getSubsumptionTestDescription
protected ReasoningTaskDescription getSubsumptionTestDescription(AtomicConcept subConcept,
AtomicConcept superConcept)
- Overrides:
getSubsumptionTestDescription in class AtomicConceptSubsumptionCache
isRelevantConcept
protected boolean isRelevantConcept(AtomicConcept atomicConcept)
- Overrides:
isRelevantConcept in class AtomicConceptSubsumptionCache