public interface ReasonerStage extends Interrupter
ReasonerStage can specify other ReasonerStages as
dependencies. Thus, several stages can be chained within a reasoning process.| 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() |
boolean |
isCompleted() |
boolean |
postExecute()
Invoked after a successful
execute() to perform any necessary
finalization, e.g., computation of statistics. |
boolean |
preExecute()
Invoked prior to
execute() to perform any necessary
initialization |
void |
printInfo()
Prints detailed information about the (progress) of this stage.
|
isInterrupted, setInterruptString getName()
boolean isCompleted()
true 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 stagesIterable<? extends ReasonerStage> getPreStages()
boolean preExecute()
execute() to perform any necessary
initializationtrue if the operation is successfulvoid execute()
throws ElkException
ElkException - if execution was not successfulboolean postExecute()
execute() to perform any necessary
finalization, e.g., computation of statistics.true if the operation is successfulboolean dispose()
preExecute()true if the operation is successfulvoid printInfo()
Copyright © 2011-2015 Department of Computer Science, University of Oxford. All Rights Reserved.