public final class Node
extends java.lang.Object
implements java.io.Serializable
| Modifier and Type | Class and Description |
|---|---|
static class |
Node.NodeState |
| Modifier and Type | Field and Description |
|---|---|
protected Node |
m_blocker |
protected java.lang.Object |
m_blockingCargo |
protected java.lang.Object |
m_blockingObject |
protected boolean |
m_directlyBlocked |
protected int |
m_firstGraphOccurrenceNode |
protected Node |
m_mergedInto |
protected PermanentDependencySet |
m_mergedIntoDependencySet |
protected Node |
m_nextTableauNode |
protected int |
m_nodeID |
protected Node.NodeState |
m_nodeState |
protected NodeType |
m_nodeType |
protected int |
m_numberOfNegatedAtomicConcepts |
protected int |
m_numberOfNegatedRoleAssertions |
protected int |
m_numberOfPositiveAtomicConcepts |
protected Node |
m_parent |
protected Node |
m_previousMergedOrPrunedNode |
protected Node |
m_previousTableauNode |
protected Tableau |
m_tableau |
protected int |
m_treeDepth |
protected java.util.List<ExistentialConcept> |
m_unprocessedExistentials |
static Node |
SIGNATURE_CACHE_BLOCKER |
public static final Node SIGNATURE_CACHE_BLOCKER
protected final Tableau m_tableau
protected int m_nodeID
protected Node.NodeState m_nodeState
protected Node m_parent
protected NodeType m_nodeType
protected int m_treeDepth
protected int m_numberOfPositiveAtomicConcepts
protected int m_numberOfNegatedAtomicConcepts
protected int m_numberOfNegatedRoleAssertions
protected java.util.List<ExistentialConcept> m_unprocessedExistentials
protected Node m_previousTableauNode
protected Node m_nextTableauNode
protected Node m_previousMergedOrPrunedNode
protected Node m_mergedInto
protected PermanentDependencySet m_mergedIntoDependencySet
protected Node m_blocker
protected boolean m_directlyBlocked
protected java.lang.Object m_blockingObject
protected java.lang.Object m_blockingCargo
protected int m_firstGraphOccurrenceNode
public Node(Tableau tableau)
public Tableau getTableau()
protected void destroy()
public int getNodeID()
public Node getParent()
public Node getClusterAnchor()
public boolean isRootNode()
public boolean isParentOf(Node potentialChild)
public boolean isAncestorOf(Node potendialDescendant)
public NodeType getNodeType()
public int getTreeDepth()
public boolean isBlocked()
public boolean isDirectlyBlocked()
public boolean isIndirectlyBlocked()
public Node getBlocker()
public void setBlocked(Node blocker, boolean directlyBlocked)
public java.lang.Object getBlockingObject()
public void setBlockingObject(java.lang.Object blockingObject)
blockingObject - public java.lang.Object getBlockingCargo()
public void setBlockingCargo(java.lang.Object blockingCargo)
blockingCargo - should be an object of type BlockersCache.CacheEntrypublic int getNumberOfPositiveAtomicConcepts()
public boolean isActive()
public boolean isMerged()
public Node getMergedInto()
public PermanentDependencySet getMergedIntoDependencySet()
public boolean isPruned()
public Node getPreviousTableauNode()
public Node getNextTableauNode()
public Node getCanonicalNode()
public PermanentDependencySet getCanonicalNodeDependencySet()
public PermanentDependencySet addCanonicalNodeDependencySet(DependencySet dependencySet)
protected void addToUnprocessedExistentials(ExistentialConcept existentialConcept)
protected void removeFromUnprocessedExistentials(ExistentialConcept existentialConcept)
public boolean hasUnprocessedExistentials()
public ExistentialConcept getSomeUnprocessedExistential()
public java.util.Collection<ExistentialConcept> getUnprocessedExistentials()
public java.lang.String toString()
toString in class java.lang.Object