|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.semanticweb.HermiT.tableau.Tableau
public final class Tableau
This class coordinates the main tableau expansion for a given DLOntology (a normalized and clausified ontology). It represents the state of a run on a set of clauses and coordinates the extension of the ABox and also the retraction of facts when backtracking. Before starting the expansion, the given clauses are (for better performance) preprocessed via the HyperresolutionManager into a compiled and executable form.
| Nested Class Summary | |
|---|---|
protected static class |
Tableau.InterruptTimer
|
| Constructor Summary | |
|---|---|
Tableau(InterruptFlag interruptFlag,
TableauMonitor tableauMonitor,
ExistentialExpansionStrategy existentialsExpansionStrategy,
boolean useDisjunctionLearning,
DLOntology dlOntology,
java.util.Map<java.lang.String,java.lang.Object> parameters)
|
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected final InterruptFlag m_interruptFlag
protected final java.util.Map<java.lang.String,java.lang.Object> m_parameters
protected final TableauMonitor m_tableauMonitor
protected final ExistentialExpansionStrategy m_existentialExpansionStrategy
protected final DLOntology m_dlOntology
protected final DependencySetFactory m_dependencySetFactory
protected final ExtensionManager m_extensionManager
protected final ClashManager m_clashManager
protected final HyperresolutionManager m_hyperresolutionManager
protected final MergingManager m_mergingManager
protected final ExistentialExpansionManager m_existentialExpasionManager
protected final NominalIntroductionManager m_nominalIntroductionManager
protected final DescriptionGraphManager m_descriptionGraphManager
protected final DatatypeManager m_datatypeManager
protected final boolean m_needsThingExtension
protected final boolean m_needsNamedExtension
protected final java.util.List<java.util.List<ExistentialConcept>> m_existentialConceptsBuffers
protected final boolean m_checkDatatypes
protected final boolean m_useDisjunctionLearning
protected BranchingPoint[] m_branchingPoints
protected int m_currentBranchingPoint
protected int m_nonbacktrackableBranchingPoint
protected boolean m_isCurrentModelDeterministic
protected int m_allocatedNodes
protected int m_numberOfNodesInTableau
protected int m_numberOfMergedOrPrunedNodes
protected int m_numberOfNodeCreations
protected Node m_firstFreeNode
protected Node m_firstTableauNode
protected Node m_lastTableauNode
protected Node m_lastMergedOrPrunedNode
protected GroundDisjunction m_firstGroundDisjunction
protected GroundDisjunction m_firstUnprocessedGroundDisjunction
protected Node m_checkedNode0
protected Node m_checkedNode1
| Constructor Detail |
|---|
public Tableau(InterruptFlag interruptFlag,
TableauMonitor tableauMonitor,
ExistentialExpansionStrategy existentialsExpansionStrategy,
boolean useDisjunctionLearning,
DLOntology dlOntology,
java.util.Map<java.lang.String,java.lang.Object> parameters)
| Method Detail |
|---|
public InterruptFlag getInterruptFlag()
public DLOntology getDLOntology()
public java.util.Map<java.lang.String,java.lang.Object> getParameters()
public TableauMonitor getTableauMonitor()
public ExistentialExpansionStrategy getExistentialsExpansionStrategy()
public boolean isDeterministic()
public DependencySetFactory getDependencySetFactory()
public ExtensionManager getExtensionManager()
public HyperresolutionManager getHyperresolutionManager()
public MergingManager getMergingManager()
public ExistentialExpansionManager getExistentialExpansionManager()
public NominalIntroductionManager getNominalIntroductionManager()
public DescriptionGraphManager getDescriptionGraphManager()
public void clear()
public boolean isSatisfiable()
protected boolean doIteration()
public Node getCheckedNode0()
public Node getCheckedNode1()
public boolean isSatisfiable(AtomicConcept atomicConcept)
public boolean isSubsumedBy(AtomicConcept subconcept,
AtomicConcept superconcept)
public boolean isSatisfiable(Role role,
boolean isDataRole)
public boolean isAsymmetric(Role role)
public boolean isABoxSatisfiable()
public boolean isABoxSatisfiable(Individual checkedNode0Name,
Individual checkedNode1Name)
public boolean isInstanceOf(AtomicConcept atomicConcept,
Individual individual)
protected java.util.Map<Term,Node> loadABox()
protected Node getNodeForTerm(java.util.Map<Term,Node> termsToNodes,
Term term)
public boolean isCurrentModelDeterministic()
public int getCurrentBranchingPointLevel()
public BranchingPoint getCurrentBranchingPoint()
public void addGroundDisjunction(GroundDisjunction groundDisjunction)
public GroundDisjunction getFirstUnprocessedGroundDisjunction()
public void pushBranchingPoint(BranchingPoint branchingPoint)
branchingPoint - protected void backtrackTo(int newCurrentBrancingPoint)
newCurrentBrancingPoint - public Node createNewNamedNode(DependencySet dependencySet)
dependencySet - the dependency set for the node
public Node createNewNINode(DependencySet dependencySet)
dependencySet - the dependency set for the node
public Node createNewTreeNode(DependencySet dependencySet,
Node parent)
dependencySet - the dependency set for the nodeparent - the parent of the node that is to be created
public Node createNewConcreteNode(DependencySet dependencySet,
Node parent)
dependencySet - the dependency set for the nodeparent - the parent of the node that is to be created
public Node createNewRootConstantNode(DependencySet dependencySet)
dependencySet - the dependency set for the node
public Node createNewGraphNode(Node parent,
DependencySet dependencySet)
parent - the parent of the node that is to be created (may be null)dependencySet - the dependency set for the node
protected Node createNewNodeRaw(DependencySet dependencySet,
Node parent,
NodeType nodeType,
int treeDepth)
public void mergeNode(Node node,
Node mergeInto,
DependencySet dependencySet)
node - the node that is to be mergedmergeInto - the node we merge intodependencySet - public void pruneNode(Node node)
protected void backtrackLastMergedOrPrunedNode()
protected void destroyLastTableauNode()
public int getNumberOfNodeCreations()
public Node getFirstTableauNode()
public Node getLastTableauNode()
public int getNumberOfAllocatedNodes()
public int getNumberOfNodesInTableau()
public int getNumberOfMergedOrPrunedNodes()
public Node getNode(int nodeID)
protected java.util.List<ExistentialConcept> getExistentialConceptsBuffer()
public void putExistentialConceptsBuffer(java.util.List<ExistentialConcept> buffer)
public void checkTableauList()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||