public interface ExplanationGenerator<E>
| Modifier and Type | Method and Description |
|---|---|
Set<Explanation<E>> |
getExplanations(E entailment)
Gets explanations for an entailment.
|
Set<Explanation<E>> |
getExplanations(E entailment,
int limit)
Gets explanations for an entailment, with limit on the number of explanations returned.
|
Set<Explanation<E>> getExplanations(E entailment) throws ExplanationException
entailment - The entailment for which explanations will be generated.ExplanationException - if there was a problem generating the explanation.Set<Explanation<E>> getExplanations(E entailment, int limit) throws ExplanationException
entailment - The entailment for which explanations will be generated.limit - The maximum number of explanations to generate. This should be a positive integer.ExplanationException - if there was a problem generating the explanation.Copyright © 2014. All rights reserved.