@PortedFrom(file="Reasoner.h", name="DlSatTester") public class DlSatTester extends Object
| Modifier and Type | Field and Description |
|---|---|
protected uk.ac.manchester.cs.jfact.kernel.DlSatTester.BranchingContext |
bContext
context from the restored branching rule
|
protected DlCompletionGraph |
cGraph
Completion Graph of tested concept(s)
|
protected DlCompletionTree |
curNode
currently processed CTree node
|
protected DatatypeFactory |
datatypeFactory |
protected DLDag |
dlHeap
link to dag from TBox
|
protected int |
nonDetShift
shift in order to determine the 1st non-det application
|
protected JFactReasonerConfiguration |
options |
protected uk.ac.manchester.cs.jfact.kernel.DlSatTester.BCStack |
stack
stack for the local reasoner's state
|
protected TBox |
tBox
host TBox
|
| Modifier | Constructor and Description |
|---|---|
protected |
DlSatTester(TBox tbox,
JFactReasonerConfiguration Options,
DatatypeFactory datatypeFactory) |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
applicable(uk.ac.manchester.cs.jfact.kernel.SimpleRule rule) |
ModelCacheInterface |
buildCacheByCGraph(boolean sat)
create model cache for the just-classified entry
|
protected boolean |
checkDisjointRoleClash(DlCompletionTree from,
DlCompletionTree to,
Role R,
DepSet dep) |
boolean |
checkDisjointRoles(Role R,
Role S) |
boolean |
checkIrreflexivity(Role R) |
void |
createBCTopLE()
create BC for LE-rule
|
ModelCacheInterface |
createCache(int p,
FastSet f) |
protected ModelCacheInterface |
createModelCache(DlCompletionTree p)
return cache of given completion tree (implementation)
|
boolean |
findConcept(CWDArray lab,
int p)
try to add a concept to a label given by TAG; ~C can't appear in the
label
|
DLDag |
getDAG()
get access to the DAG associated with it (necessary for the blocking
support)
|
JFactReasonerConfiguration |
getOptions() |
DlCompletionTree |
getRootNode()
get the ROOT node of the completion graph
|
boolean |
hasNominals()
check whether reasoning with nominals is performed
|
protected void |
initBC(uk.ac.manchester.cs.jfact.kernel.DlSatTester.BranchingContext c)
init branching context with given rule type
|
protected boolean |
initNewNode(DlCompletionTree node,
DepSet dep,
int C) |
void |
initToDoPriorities()
init Todo list priority for classification
|
protected boolean |
isNNApplicable(Role r,
int C,
int stopper) |
protected boolean |
noBranchingOps() |
protected void |
prepareReasoner() |
float |
printReasoningTime(LogAdapter o) |
void |
repeatUnblockedNode(DlCompletionTree node,
boolean direct)
re-apply all the relevant expantion rules to a given unblocked NODE
|
protected void |
resetSessionFlags() |
protected void |
restore(int newTryLevel) |
protected boolean |
runSat() |
boolean |
runSat(int p,
int q) |
protected void |
save() |
void |
setBlockingMethod(boolean hasInverse,
boolean hasQCR)
set blocking method for a session
|
boolean |
setupEdge(DlCompletionTreeArc pA,
DepSet dep,
int flags) |
void |
writeTotalStatistic(LogAdapter o) |
@PortedFrom(file="Reasoner.h", name="tBox") protected TBox tBox
@PortedFrom(file="Reasoner.h", name="DLHeap") protected DLDag dlHeap
@PortedFrom(file="Reasoner.h", name="CGraph") protected DlCompletionGraph cGraph
@PortedFrom(file="Reasoner.h", name="Stack") protected uk.ac.manchester.cs.jfact.kernel.DlSatTester.BCStack stack
@PortedFrom(file="Reasoner.h", name="bContext") protected uk.ac.manchester.cs.jfact.kernel.DlSatTester.BranchingContext bContext
@PortedFrom(file="Reasoner.h", name="nonDetShift") protected int nonDetShift
@PortedFrom(file="Reasoner.h", name="curNode") protected DlCompletionTree curNode
@Original protected JFactReasonerConfiguration options
@Original protected DatatypeFactory datatypeFactory
protected DlSatTester(TBox tbox, JFactReasonerConfiguration Options, DatatypeFactory datatypeFactory)
@PortedFrom(file="Reasoner.h", name="createModelCache") protected ModelCacheInterface createModelCache(DlCompletionTree p)
@PortedFrom(file="Reasoner.h", name="hasNominals") public boolean hasNominals()
@PortedFrom(file="Reasoner.h", name="initBC") protected void initBC(uk.ac.manchester.cs.jfact.kernel.DlSatTester.BranchingContext c)
@PortedFrom(file="Reasoner.h", name="noBranchingOps") protected boolean noBranchingOps()
@PortedFrom(file="Reasoner.h", name="repeatUnblockedNode") public void repeatUnblockedNode(DlCompletionTree node, boolean direct)
@PortedFrom(file="Reasoner.h", name="getDAG") public DLDag getDAG()
@PortedFrom(file="Reasoner.h", name="getRootNode") public DlCompletionTree getRootNode()
@Original public void initToDoPriorities()
@PortedFrom(file="Reasoner.h", name="setBlockingMethod") public void setBlockingMethod(boolean hasInverse, boolean hasQCR)
@PortedFrom(file="Reasoner.h", name="buildCacheByCGraph") public ModelCacheInterface buildCacheByCGraph(boolean sat)
@PortedFrom(file="Reasoner.h", name="writeTotalStatistic") public void writeTotalStatistic(LogAdapter o)
@PortedFrom(file="Reasoner.h", name="createCache") public ModelCacheInterface createCache(int p, FastSet f)
@PortedFrom(file="Reasoner.h", name="resetSessionFlags") protected void resetSessionFlags()
@PortedFrom(file="Reasoner.h", name="initNewNode") protected boolean initNewNode(DlCompletionTree node, DepSet dep, int C)
@PortedFrom(file="Reasoner.h", name="runSat") public boolean runSat(int p, int q)
@PortedFrom(file="Reasoner.h", name="checkDisjointRoles") public boolean checkDisjointRoles(Role R, Role S)
@PortedFrom(file="Reasoner.h", name="checkIrreflexivity") public boolean checkIrreflexivity(Role R)
@Original public JFactReasonerConfiguration getOptions()
@PortedFrom(file="Reasoner.h", name="prepareReasoner") protected void prepareReasoner()
@PortedFrom(file="Reasoner.h", name="findConcept") public boolean findConcept(CWDArray lab, int p)
@PortedFrom(file="Reasoner.h", name="runSat") protected boolean runSat()
@PortedFrom(file="Reasoner.h", name="save") protected void save()
@PortedFrom(file="Reasoner.h", name="restore") protected void restore(int newTryLevel)
@PortedFrom(file="Reasoner.h", name="printReasoningTime") public float printReasoningTime(LogAdapter o)
@PortedFrom(file="Reasoner.h", name="applicable") protected boolean applicable(uk.ac.manchester.cs.jfact.kernel.SimpleRule rule)
@PortedFrom(file="Reasoner.h", name="setupEdge") public boolean setupEdge(DlCompletionTreeArc pA, DepSet dep, int flags)
@PortedFrom(file="Reasoner.h", name="checkDisjointRoleClash") protected boolean checkDisjointRoleClash(DlCompletionTree from, DlCompletionTree to, Role R, DepSet dep)
@PortedFrom(file="Reasoner.h", name="isNNApplicable") protected boolean isNNApplicable(Role r, int C, int stopper)
@PortedFrom(file="Reasoner.h", name="createBCTopLE") public void createBCTopLE()
Copyright © 2013 The University of Manchester. All Rights Reserved.