org.semanticweb.HermiT.tableau
Class LabelManager

java.lang.Object
  extended by org.semanticweb.HermiT.tableau.LabelManager
All Implemented Interfaces:
java.io.Serializable

public final class LabelManager
extends java.lang.Object
implements java.io.Serializable

This class is not used in the normal expansion of the tableau. Only at the end of a run, it is used to persist blocking signatures to facilitate another run on the same DLOntology. Uses a custom implementation of Hash sets.

See Also:
Serialized Form

Field Summary
protected  java.util.List<AtomicRole> m_atomicRoleBuffer
           
protected  SetFactory<AtomicRole> m_atomicRoleSetFactory
           
protected  ExtensionTable.Retrieval m_binaryTableSearch1Bound
           
protected  java.util.List<Concept> m_conceptBuffer
           
protected  SetFactory<Concept> m_conceptSetFactory
           
protected  Tableau m_tableau
           
protected  ExtensionTable.Retrieval m_ternaryTableSearch12Bound
           
private static long serialVersionUID
           
 
Constructor Summary
LabelManager(Tableau tableau)
           
 
Method Summary
 void addAtomicRoleSetReference(java.util.Set<AtomicRole> set)
           
 void addConceptSetReference(java.util.Set<Concept> set)
           
 java.util.Set<AtomicRole> getEdgeLabel(Node nodeFrom, Node nodeTo)
           
 java.util.Set<Concept> getPositiveLabel(Node node)
           
 void removeAtomicRoleSetReference(java.util.Set<AtomicRole> set)
           
 void removeConceptSetReference(java.util.Set<Concept> set)
           
 int sizeInMemoryAtomicRoleSetFactory()
           
 int sizeInMemoryConceptSetFactory()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

serialVersionUID

private static final long serialVersionUID
See Also:
Constant Field Values

m_tableau

protected final Tableau m_tableau

m_conceptSetFactory

protected final SetFactory<Concept> m_conceptSetFactory

m_atomicRoleSetFactory

protected final SetFactory<AtomicRole> m_atomicRoleSetFactory

m_binaryTableSearch1Bound

protected final ExtensionTable.Retrieval m_binaryTableSearch1Bound

m_ternaryTableSearch12Bound

protected final ExtensionTable.Retrieval m_ternaryTableSearch12Bound

m_conceptBuffer

protected final java.util.List<Concept> m_conceptBuffer

m_atomicRoleBuffer

protected final java.util.List<AtomicRole> m_atomicRoleBuffer
Constructor Detail

LabelManager

public LabelManager(Tableau tableau)
Method Detail

sizeInMemoryConceptSetFactory

public int sizeInMemoryConceptSetFactory()

sizeInMemoryAtomicRoleSetFactory

public int sizeInMemoryAtomicRoleSetFactory()

getPositiveLabel

public java.util.Set<Concept> getPositiveLabel(Node node)

getEdgeLabel

public java.util.Set<AtomicRole> getEdgeLabel(Node nodeFrom,
                                              Node nodeTo)

addConceptSetReference

public void addConceptSetReference(java.util.Set<Concept> set)

removeConceptSetReference

public void removeConceptSetReference(java.util.Set<Concept> set)

addAtomicRoleSetReference

public void addAtomicRoleSetReference(java.util.Set<AtomicRole> set)

removeAtomicRoleSetReference

public void removeAtomicRoleSetReference(java.util.Set<AtomicRole> set)