public class IncrementalClassTaxonomyComputationStage extends SimpleInterrupter
| Modifier and Type | Field and Description |
|---|---|
protected ClassTaxonomyComputation |
computation_ |
| Constructor and Description |
|---|
IncrementalClassTaxonomyComputationStage(AbstractReasonerState reasoner,
org.semanticweb.elk.reasoner.stages.AbstractReasonerStage... preStages) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
dispose()
Free resources occupied by the reasoning stage.
|
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() |
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.
|
void |
setInterrupt(boolean flag) |
protected void |
setInterrupt(Interrupter interrupter,
boolean flag) |
isInterruptedclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitisInterruptedprotected ClassTaxonomyComputation computation_
public IncrementalClassTaxonomyComputationStage(AbstractReasonerState reasoner, org.semanticweb.elk.reasoner.stages.AbstractReasonerStage... preStages)
public String getName()
public boolean preExecute()
preExecute in interface ReasonerStagetrue if the operation is successfulpublic void executeStage()
throws ElkInterruptedException
ElkInterruptedExceptionpublic boolean postExecute()
postExecute in interface ReasonerStagetrue if the operation is successfulpublic boolean dispose()
ReasonerStageReasonerStage.preExecute()dispose in interface ReasonerStagetrue if the operation is successfulpublic void printInfo()
ReasonerStagepublic void setInterrupt(boolean flag)
setInterrupt in interface InterruptersetInterrupt in class SimpleInterrupterpublic 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 void execute()
throws ElkException
ReasonerStageexecute in interface ReasonerStageElkException - if execution was not successfulprotected void setInterrupt(Interrupter interrupter, boolean flag)
protected void markAllContextsAsSaturated()
protected SaturationStatistics getRuleAndConclusionStatistics()
Copyright © 2011-2015 Department of Computer Science, University of Oxford. All Rights Reserved.