public class NullExplanationProgressMonitor<E> extends Object implements ExplanationProgressMonitor<E>
| Constructor and Description |
|---|
NullExplanationProgressMonitor() |
| Modifier and Type | Method and Description |
|---|---|
void |
foundExplanation(ExplanationGenerator<E> explanationGenerator,
Explanation<E> eExplanation,
Set<Explanation<E>> allFoundExplanations)
Called by explanation generators that support progress monitors.
|
boolean |
isCancelled()
The explanation generator will periodically check to see if it should continue finding explanations by calling
this method.
|
public void foundExplanation(ExplanationGenerator<E> explanationGenerator, Explanation<E> eExplanation, Set<Explanation<E>> allFoundExplanations)
ExplanationProgressMonitorfoundExplanation in interface ExplanationProgressMonitor<E>explanationGenerator - The explanation generator that found the explanationeExplanation - The explanation that was found
for the entailment or false if the explanation generator should stop finding explanations
at the next opportunity.allFoundExplanations - All of the explanations found so far for the specified entailmentpublic boolean isCancelled()
ExplanationProgressMonitorisCancelled in interface ExplanationProgressMonitor<E>true if the explanation generator should cancel the explanation finding process or false
if the explanation generator should continue.Copyright © 2014. All rights reserved.