|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.semanticweb.elk.reasoner.stages.IncrementalAdditionStage
public class IncrementalAdditionStage
TODO docs
| Constructor Summary | |
|---|---|
IncrementalAdditionStage(AbstractReasonerState reasoner,
org.semanticweb.elk.reasoner.stages.AbstractReasonerStage... preStages)
|
|
| Method Summary | |
|---|---|
void |
clearInterrupt()
Clears the interrupt status of this executor |
void |
execute()
Performs the execution of this stage. |
void |
executeStage()
Execute the stage with initialized parameters |
String |
getName()
|
Iterable<? extends ReasonerStage> |
getPreStages()
|
protected SaturationStatistics |
getRuleAndConclusionStatistics()
|
boolean |
isCompleted()
|
boolean |
isInterrupted()
|
protected void |
markAllContextsAsSaturated()
|
boolean |
postExecute()
Clear the parameters of the computation for this stage; this is the last thing to be done when the stage is executed * |
boolean |
preExecute()
Initialize the parameters of the computation for this stage; this is the first thing to be done before stage is executed |
void |
printInfo()
Prints detailed information about the (progress) of this stage. |
boolean |
spuriousInterrupt()
Check if the reasoner was interrupted and clears the interrupt status |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public IncrementalAdditionStage(AbstractReasonerState reasoner,
org.semanticweb.elk.reasoner.stages.AbstractReasonerStage... preStages)
| Method Detail |
|---|
public String getName()
public boolean preExecute()
preExecute in interface ReasonerStagetrue if the operation is successful
public void executeStage()
throws ElkInterruptedException
ElkInterruptedExceptionpublic boolean postExecute()
postExecute in interface ReasonerStagetrue if the operation is successfulpublic void printInfo()
ReasonerStage
public boolean isCompleted()
isCompleted in interface ReasonerStagetrue if the results for this stage have been already
computed; this does not necessarily mean that this stage was
executed: the results of the computation could have been computed
by other stagespublic Iterable<? extends ReasonerStage> getPreStages()
getPreStages in interface ReasonerStagepublic boolean isInterrupted()
isInterrupted in interface ReasonerStagetrue if this executor was interruptedpublic void clearInterrupt()
ReasonerStage
clearInterrupt in interface ReasonerStage
public boolean spuriousInterrupt()
throws ElkInterruptedException
true if the current thread was interrupted but the
reasoner was not interrupted (e.g., spurious interrupt)
ElkInterruptedException - if the reasoner was interrupted
public void execute()
throws ElkException
ReasonerStage
execute in interface ReasonerStageElkException - if execution was not successfulprotected void markAllContextsAsSaturated()
protected SaturationStatistics getRuleAndConclusionStatistics()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||