org.semanticweb.HermiT.hierarchy
Class DataRoleSubsumptionCache

java.lang.Object
  extended by org.semanticweb.HermiT.hierarchy.RoleSubsumptionCache
      extended by org.semanticweb.HermiT.hierarchy.DataRoleSubsumptionCache
All Implemented Interfaces:
SubsumptionCache<Role>

public class DataRoleSubsumptionCache
extends RoleSubsumptionCache

A cache for data roles.


Nested Class Summary
 
Nested classes/interfaces inherited from class org.semanticweb.HermiT.hierarchy.RoleSubsumptionCache
RoleSubsumptionCache.RoleInfo
 
Field Summary
 
Fields inherited from class org.semanticweb.HermiT.hierarchy.RoleSubsumptionCache
m_bottomRole, m_hasInverse, m_reasoner, m_roleInfos, m_topRole
 
Constructor Summary
DataRoleSubsumptionCache(Reasoner reasoner)
           
 
Method Summary
protected  boolean doSatisfiabilityTest(Role role)
           
protected  boolean doSubsumptionCheck(RoleSubsumptionCache.RoleInfo subroleInfo, Role superrole)
           
protected  void loadRoleGraph(java.util.Set<Role> allRoles, Graph<Role> roleGraph)
           
 
Methods inherited from class org.semanticweb.HermiT.hierarchy.RoleSubsumptionCache
getAllKnownSubsumers, getRoleInfo, isSatisfiable, isSatisfiable, isSubsumedBy, updateKnownSubsumers, updatePossibleSubsumers
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DataRoleSubsumptionCache

public DataRoleSubsumptionCache(Reasoner reasoner)
Method Detail

loadRoleGraph

protected void loadRoleGraph(java.util.Set<Role> allRoles,
                             Graph<Role> roleGraph)
Specified by:
loadRoleGraph in class RoleSubsumptionCache

doSatisfiabilityTest

protected boolean doSatisfiabilityTest(Role role)
Specified by:
doSatisfiabilityTest in class RoleSubsumptionCache

doSubsumptionCheck

protected boolean doSubsumptionCheck(RoleSubsumptionCache.RoleInfo subroleInfo,
                                     Role superrole)
Specified by:
doSubsumptionCheck in class RoleSubsumptionCache