org.semanticweb.HermiT.hierarchy
Class ObjectRoleSubsumptionCache

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

public class ObjectRoleSubsumptionCache
extends RoleSubsumptionCache

A cache for object 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
ObjectRoleSubsumptionCache(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

ObjectRoleSubsumptionCache

public ObjectRoleSubsumptionCache(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