public abstract class Branch extends Object
Title:
Description:
Copyright: Copyright (c) 2009
Company: Clark & Parsia, LLC.
| Modifier and Type | Field and Description |
|---|---|
protected ABox |
abox |
protected int |
anonCount |
protected int |
branch |
static Logger |
log |
protected int |
nodeCount |
protected CompletionStrategy |
strategy |
protected int |
tryCount |
protected int |
tryNext |
| Modifier and Type | Method and Description |
|---|---|
abstract Branch |
copyTo(ABox abox) |
int |
getAnonCount() |
int |
getBranch() |
DependencySet |
getCombinedClash() |
abstract Node |
getNode() |
int |
getNodeCount() |
DependencySet |
getTermDepends() |
int |
getTryCount() |
int |
getTryNext() |
void |
setAnonCount(int anonCount) |
void |
setBranch(int branch) |
void |
setLastClash(DependencySet ds) |
void |
setNodeCount(int nodeCount) |
void |
setStrategy(CompletionStrategy strategy) |
void |
setTermDepends(DependencySet termDepends) |
void |
setTryCount(int tryCount) |
void |
setTryNext(int tryNext) |
abstract void |
shiftTryNext(int index)
Added for to re-open closed branches.
|
String |
toString() |
protected abstract void |
tryBranch() |
boolean |
tryNext() |
public static final Logger log
protected ABox abox
protected CompletionStrategy strategy
protected int branch
protected int tryCount
protected int tryNext
protected int anonCount
protected int nodeCount
public void setLastClash(DependencySet ds)
public DependencySet getCombinedClash()
public void setStrategy(CompletionStrategy strategy)
public boolean tryNext()
protected abstract void tryBranch()
public abstract Node getNode()
public abstract void shiftTryNext(int index)
index - The shift indexpublic void setNodeCount(int nodeCount)
nodeCount - the nodeCount to setpublic int getNodeCount()
public void setBranch(int branch)
public int getBranch()
public int getAnonCount()
public void setTryNext(int tryNext)
tryNext - the tryNext to setpublic int getTryNext()
public void setTryCount(int tryCount)
tryCount - the tryCount to setpublic int getTryCount()
public void setTermDepends(DependencySet termDepends)
termDepends - the termDepends to setpublic DependencySet getTermDepends()
public void setAnonCount(int anonCount)
anonCount - the anonCount to setCopyright © 2019. All rights reserved.