| 
 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.clarkparsia.owlapi.explanation.HSTExplanationGenerator
public class HSTExplanationGenerator
Description: An implementation of MultipleExplanationGenerator interface using Reiter's Hitting Set Tree (HST) algorithm as described in Aditya Kalyanpur's thesis. This class relies on a SingleExplanationGenerator that can compute a minimal set of axioms that cause the unsatisfiability. The core of the functionality is based on Matthew Horridge's implementation. Copyright: Copyright (c) 2007 Company: Clark & Parsia, LLC.
| Field Summary | |
|---|---|
| static java.util.logging.Logger | log | 
| Constructor Summary | |
|---|---|
| HSTExplanationGenerator(TransactionAwareSingleExpGen singleExplanationGenerator) | |
| Method Summary | |
|---|---|
|  java.util.Set<OWLAxiom> | getExplanation(OWLClassExpression unsatClass)Returns a single explanation for the given unsatisfiable class. | 
|  java.util.Set<java.util.Set<OWLAxiom>> | getExplanations(OWLClassExpression unsatClass)Returns all the explanations for the given unsatisfiable class. | 
|  java.util.Set<java.util.Set<OWLAxiom>> | getExplanations(OWLClassExpression unsatClass,
                int maxExplanations)Return a specified number of explanations for the given unsatisfiable class. | 
|  OWLOntology | getOntology()Gets the ontologies according to which the explanations are generated | 
|  OWLOntologyManager | getOntologyManager()Get the ontology manager for this explanation generator. | 
|  OWLReasoner | getReasoner()Returns the reasoner associated with this generator. | 
|  OWLReasonerFactory | getReasonerFactory()Returns the reasoner factory used to create fresh reasoners. | 
|  TransactionAwareSingleExpGen | getSingleExplanationGenerator() | 
|  void | setProgressMonitor(ExplanationProgressMonitor progressMonitor)Sets the progress monitor for this multiple explanation generator. | 
| Methods inherited from class java.lang.Object | 
|---|
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Field Detail | 
|---|
public static final java.util.logging.Logger log
| Constructor Detail | 
|---|
public HSTExplanationGenerator(TransactionAwareSingleExpGen singleExplanationGenerator)
| Method Detail | 
|---|
public void setProgressMonitor(ExplanationProgressMonitor progressMonitor)
MultipleExplanationGenerator
setProgressMonitor in interface MultipleExplanationGeneratorprogressMonitor - The progress monitor.public OWLOntologyManager getOntologyManager()
SingleExplanationGenerator
getOntologyManager in interface SingleExplanationGeneratorpublic OWLOntology getOntology()
SingleExplanationGenerator
getOntology in interface SingleExplanationGeneratorpublic OWLReasoner getReasoner()
SingleExplanationGenerator
getReasoner in interface SingleExplanationGeneratorpublic OWLReasonerFactory getReasonerFactory()
SingleExplanationGenerator
getReasonerFactory in interface SingleExplanationGeneratorpublic TransactionAwareSingleExpGen getSingleExplanationGenerator()
public java.util.Set<OWLAxiom> getExplanation(OWLClassExpression unsatClass)
ExplanationGenerator
getExplanation in interface ExplanationGeneratorgetExplanation in interface SingleExplanationGeneratorunsatClass - The class that is unsatisfiable for which an explanation
 will be generated.
public java.util.Set<java.util.Set<OWLAxiom>> getExplanations(OWLClassExpression unsatClass)
ExplanationGenerator
getExplanations in interface ExplanationGeneratorunsatClass - The class that is unsatisfiable for which an explanation
 will be generated.
public java.util.Set<java.util.Set<OWLAxiom>> getExplanations(OWLClassExpression unsatClass,
                                                              int maxExplanations)
ExplanationGenerator
getExplanations in interface ExplanationGeneratorunsatClass - The class that is unsatisfiable for which an explanation
 will be generated.maxExplanations - Maximum number of explanations requested, or 0 to get all the
 explanations
| 
 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||