org.semanticweb.HermiT.model
Class DLClause

java.lang.Object
  extended by org.semanticweb.HermiT.model.DLClause
All Implemented Interfaces:
java.io.Serializable

public class DLClause
extends java.lang.Object
implements java.io.Serializable

Represents a DL clause. The body is a conjunction of atoms and the head is a disjunction of atoms.

See Also:
Serialized Form

Field Summary
static Atom[][] EMPTY_HEAD
           
protected  Atom[] m_bodyAtoms
           
protected  Atom[] m_headAtoms
           
protected static InterningManager<DLClause> s_interningManager
           
private static long serialVersionUID
           
 
Constructor Summary
protected DLClause(Atom[] headAtoms, Atom[] bodyAtoms)
           
 
Method Summary
static DLClause create(Atom[] headAtoms, Atom[] bodyAtoms)
           
 Atom getBodyAtom(int atomIndex)
           
 int getBodyLength()
           
 DLClause getChangedDLClause(Atom[] headAtoms, Atom[] bodyAtoms)
           
 Atom getHeadAtom(int atomIndex)
           
 int getHeadLength()
           
 DLClause getSafeVersion()
           
 boolean isConceptInclusion()
           
 boolean isFunctionalityAxiom()
           
 boolean isGuardedFunctionalityAxiom()
           
 boolean isGuardedInverseFunctionalityAxiom()
           
 boolean isInverseFunctionalityAxiom()
           
 boolean isRoleInclusion()
           
 boolean isRoleInverseInclusion()
           
protected  java.lang.Object readResolve()
           
 java.lang.String toString()
           
 java.lang.String toString(Namespaces namespaces)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

serialVersionUID

private static final long serialVersionUID
See Also:
Constant Field Values

EMPTY_HEAD

public static final Atom[][] EMPTY_HEAD

m_headAtoms

protected final Atom[] m_headAtoms

m_bodyAtoms

protected final Atom[] m_bodyAtoms

s_interningManager

protected static InterningManager<DLClause> s_interningManager
Constructor Detail

DLClause

protected DLClause(Atom[] headAtoms,
                   Atom[] bodyAtoms)
Method Detail

getHeadLength

public int getHeadLength()

getHeadAtom

public Atom getHeadAtom(int atomIndex)

getBodyLength

public int getBodyLength()

getBodyAtom

public Atom getBodyAtom(int atomIndex)

getSafeVersion

public DLClause getSafeVersion()

getChangedDLClause

public DLClause getChangedDLClause(Atom[] headAtoms,
                                   Atom[] bodyAtoms)

isConceptInclusion

public boolean isConceptInclusion()

isFunctionalityAxiom

public boolean isFunctionalityAxiom()

isGuardedFunctionalityAxiom

public boolean isGuardedFunctionalityAxiom()

isInverseFunctionalityAxiom

public boolean isInverseFunctionalityAxiom()

isGuardedInverseFunctionalityAxiom

public boolean isGuardedInverseFunctionalityAxiom()

isRoleInclusion

public boolean isRoleInclusion()

isRoleInverseInclusion

public boolean isRoleInverseInclusion()

toString

public java.lang.String toString(Namespaces namespaces)

toString

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

readResolve

protected java.lang.Object readResolve()

create

public static DLClause create(Atom[] headAtoms,
                              Atom[] bodyAtoms)