public class IncrementalOverdeletionPruningStage extends SimpleInterrupter
ContextCompletionFactory which "fills gaps" in the set of
conclusions for each context by deriving the missing conclusions.| Constructor and Description |
|---|
IncrementalOverdeletionPruningStage(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.
|
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, waitisInterruptedpublic IncrementalOverdeletionPruningStage(AbstractReasonerState reasoner, org.semanticweb.elk.reasoner.stages.AbstractReasonerStage... preStages)
public String getName()
public void printInfo()
ReasonerStagepublic boolean preExecute()
preExecute in interface ReasonerStagetrue if the operation is successfulpublic 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 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.