org.semanticweb.HermiT.tableau
Class Disjunction

java.lang.Object
  extended by org.semanticweb.HermiT.tableau.Disjunction

public class Disjunction
extends java.lang.Object

This class is used to create sets of various types. It ensures that each distinct set exists only once, thus allowing sets to be compared with ==.


Nested Class Summary
static class Disjunction.IndexWithPunishFactor
           
 
Field Summary
protected  DLPredicate[] m_dlPredicates
           
protected  Disjunction.IndexWithPunishFactor[] m_indexesWithPunishFactor
           
protected static InterningManager<Disjunction> s_interningManager
           
 
Constructor Summary
protected Disjunction(DLPredicate[] dlPredicates)
           
 
Method Summary
static Disjunction create(DLPredicate[] dlPredicates)
           
 DLPredicate[] getDisjuncts()
           
 int getNumberOfDisjuncts()
           
 java.lang.String toString()
           
 java.lang.String toString(Prefixes prefixes)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

m_dlPredicates

protected final DLPredicate[] m_dlPredicates

m_indexesWithPunishFactor

protected final Disjunction.IndexWithPunishFactor[] m_indexesWithPunishFactor

s_interningManager

protected static InterningManager<Disjunction> s_interningManager
Constructor Detail

Disjunction

protected Disjunction(DLPredicate[] dlPredicates)
Method Detail

getDisjuncts

public DLPredicate[] getDisjuncts()

getNumberOfDisjuncts

public int getNumberOfDisjuncts()

toString

public java.lang.String toString(Prefixes prefixes)

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

create

public static Disjunction create(DLPredicate[] dlPredicates)