org.semanticweb.HermiT.tableau
Class GroundDisjunction

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

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

See Also:
Serialized Form

Field Summary
protected  Node[] m_arguments
           
protected  PermanentDependencySet m_dependencySet
           
protected  int[] m_disjunctStart
           
protected  DLPredicate[] m_dlPredicates
           
protected  GroundDisjunction m_nextGroundDisjunction
           
protected  GroundDisjunction m_previousGroundDisjunction
           
private static long serialVersionUID
           
 
Constructor Summary
GroundDisjunction(Tableau tableau, DLPredicate[] dlPredicates, int[] disjunctStart, Node[] arguments, DependencySet dependencySet)
           
 
Method Summary
 boolean addDisjunctToTableau(Tableau tableau, int disjunctIndex, DependencySet choicePointDependencySet)
           
 void destroy(Tableau tableau)
           
 Node getArgument(int disjunctIndex, int argumentIndex)
           
 DependencySet getDependencySet()
           
 DLPredicate getDLPredicate(int disjunctIndex)
           
 GroundDisjunction getNextGroundDisjunction()
           
 int getNumberOfDisjuncts()
           
 GroundDisjunction getPreviousGroundDisjunction()
           
 boolean isSatisfied(Tableau tableau)
           
 java.lang.String toString()
           
 
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

m_dlPredicates

protected final DLPredicate[] m_dlPredicates

m_disjunctStart

protected final int[] m_disjunctStart

m_arguments

protected final Node[] m_arguments

m_dependencySet

protected PermanentDependencySet m_dependencySet

m_previousGroundDisjunction

protected GroundDisjunction m_previousGroundDisjunction

m_nextGroundDisjunction

protected GroundDisjunction m_nextGroundDisjunction
Constructor Detail

GroundDisjunction

public GroundDisjunction(Tableau tableau,
                         DLPredicate[] dlPredicates,
                         int[] disjunctStart,
                         Node[] arguments,
                         DependencySet dependencySet)
Method Detail

getPreviousGroundDisjunction

public GroundDisjunction getPreviousGroundDisjunction()

getNextGroundDisjunction

public GroundDisjunction getNextGroundDisjunction()

destroy

public void destroy(Tableau tableau)

getNumberOfDisjuncts

public int getNumberOfDisjuncts()

getDLPredicate

public DLPredicate getDLPredicate(int disjunctIndex)

getArgument

public Node getArgument(int disjunctIndex,
                        int argumentIndex)

getDependencySet

public DependencySet getDependencySet()

isSatisfied

public boolean isSatisfied(Tableau tableau)

addDisjunctToTableau

public boolean addDisjunctToTableau(Tableau tableau,
                                    int disjunctIndex,
                                    DependencySet choicePointDependencySet)

toString

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