|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.semanticweb.elk.reasoner.stages.IncrementalOverdeletionPruningStage
public class IncrementalOverdeletionPruningStage
Prunes the set of deleted conclusions by re-deriving those having alternative
derivations (name taken from the original paper on the DRed algorithm). Uses
a ContextCompletionFactory which "fills gaps" in the set of
conclusions for each context by deriving the missing conclusions.
| Constructor Summary | |
|---|---|
IncrementalOverdeletionPruningStage(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. |
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 IncrementalOverdeletionPruningStage(AbstractReasonerState reasoner,
org.semanticweb.elk.reasoner.stages.AbstractReasonerStage... preStages)
| Method Detail |
|---|
public String getName()
public void printInfo()
ReasonerStage
public boolean preExecute()
preExecute in interface ReasonerStagetrue if the operation is successfulpublic boolean postExecute()
postExecute in interface ReasonerStagetrue if the operation is successfulpublic 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 | |||||||||