Package openllet.core.tableau.branch
Class DisjunctionBranch
- java.lang.Object
-
- openllet.core.tableau.branch.Branch
-
- openllet.core.tableau.branch.DisjunctionBranch
-
- All Implemented Interfaces:
java.lang.Comparable<Branch>
- Direct Known Subclasses:
ChooseBranch
public class DisjunctionBranch extends Branch
-
-
Constructor Summary
Constructors Constructor Description DisjunctionBranch(ABox abox, CompletionStrategy completion, Node node, openllet.aterm.ATermAppl disjunction, DependencySet ds, openllet.aterm.ATermAppl[] disj)DisjunctionBranch(DisjunctionBranch dr, ABox abox)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DisjunctionBranchcopyTo(ABox abox)openllet.aterm.ATermApplgetDisjunct(int i)NodegetNode()voidprintLong()voidsetDisj(openllet.aterm.ATermAppl[] disj)voidsetLastClash(DependencySet ds)voidshiftTryNext(int openIndex)Added for to re-open closed branches.-
Methods inherited from class openllet.core.tableau.branch.Branch
compareTo, getAnonCount, getBranchIndexInABox, getCombinedClash, getNodeCount, getTermDepends, getTryCount, getTryNext, setNodeCount, setStrategy, setTermDepends, setTryCount, setTryNext, toString, tryNext
-
-
-
-
Constructor Detail
-
DisjunctionBranch
public DisjunctionBranch(ABox abox, CompletionStrategy completion, Node node, openllet.aterm.ATermAppl disjunction, DependencySet ds, openllet.aterm.ATermAppl[] disj)
-
DisjunctionBranch
public DisjunctionBranch(DisjunctionBranch dr, ABox abox)
-
-
Method Detail
-
copyTo
public DisjunctionBranch copyTo(ABox abox)
-
setLastClash
public void setLastClash(DependencySet ds)
- Overrides:
setLastClashin classBranch
-
shiftTryNext
public void shiftTryNext(int openIndex)
Added for to re-open closed branches. This is needed for incremental reasoning through deletions- Specified by:
shiftTryNextin classBranch- Parameters:
openIndex- The shift _index
-
printLong
public void printLong()
-
setDisj
public void setDisj(openllet.aterm.ATermAppl[] disj)
- Parameters:
disj- the _disj to set
-
getDisjunct
public openllet.aterm.ATermAppl getDisjunct(int i)
- Parameters:
i-- Returns:
- the disj
-
-