public final class GroundDisjunction
extends java.lang.Object
implements java.io.Serializable
| Modifier and Type | Field and Description |
|---|---|
protected Node[] |
m_arguments |
protected PermanentDependencySet |
m_dependencySet |
protected GroundDisjunctionHeader |
m_groundDisjunctionHeader |
protected boolean[] |
m_isCore |
protected GroundDisjunction |
m_nextGroundDisjunction |
protected GroundDisjunction |
m_previousGroundDisjunction |
| Constructor and Description |
|---|
GroundDisjunction(Tableau tableau,
GroundDisjunctionHeader groundDisjunctionHeader,
Node[] arguments,
boolean[] isCore,
DependencySet dependencySet) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
addDisjunctToTableau(Tableau tableau,
int disjunctIndex,
DependencySet dependencySet) |
void |
destroy(Tableau tableau) |
Node |
getArgument(int disjunctIndex,
int argumentIndex) |
DependencySet |
getDependencySet() |
DLPredicate |
getDLPredicate(int disjunctIndex) |
GroundDisjunctionHeader |
getGroundDisjunctionHeader() |
GroundDisjunction |
getNextGroundDisjunction() |
int |
getNumberOfDisjuncts() |
GroundDisjunction |
getPreviousGroundDisjunction() |
boolean |
isCore(int disjunctIndex) |
boolean |
isPruned() |
boolean |
isSatisfied(Tableau tableau) |
java.lang.String |
toString() |
java.lang.String |
toString(Prefixes prefixes) |
protected final GroundDisjunctionHeader m_groundDisjunctionHeader
protected final Node[] m_arguments
protected final boolean[] m_isCore
protected PermanentDependencySet m_dependencySet
protected GroundDisjunction m_previousGroundDisjunction
protected GroundDisjunction m_nextGroundDisjunction
public GroundDisjunction(Tableau tableau, GroundDisjunctionHeader groundDisjunctionHeader, Node[] arguments, boolean[] isCore, DependencySet dependencySet)
public GroundDisjunction getPreviousGroundDisjunction()
public GroundDisjunction getNextGroundDisjunction()
public void destroy(Tableau tableau)
public int getNumberOfDisjuncts()
public DLPredicate getDLPredicate(int disjunctIndex)
public Node getArgument(int disjunctIndex, int argumentIndex)
public boolean isCore(int disjunctIndex)
public DependencySet getDependencySet()
public GroundDisjunctionHeader getGroundDisjunctionHeader()
public boolean isPruned()
public boolean isSatisfied(Tableau tableau)
public boolean addDisjunctToTableau(Tableau tableau, int disjunctIndex, DependencySet dependencySet)
public java.lang.String toString(Prefixes prefixes)
public java.lang.String toString()
toString in class java.lang.Object