public abstract class AbstractSolvabilityOPPLOWLAxiomSearchTree extends SearchTree<SolvabilitySearchNode>
| Modifier and Type | Field and Description |
|---|---|
protected Set<org.semanticweb.owlapi.model.OWLAnnotationProperty> |
allAnnotationProperties |
protected Set<org.semanticweb.owlapi.model.OWLClass> |
allClasses |
protected Set<org.semanticweb.owlapi.model.OWLLiteral> |
allConstants |
protected Set<org.semanticweb.owlapi.model.OWLDataProperty> |
allDataProperties |
protected Set<org.semanticweb.owlapi.model.OWLIndividual> |
allIndividuals |
protected Set<org.semanticweb.owlapi.model.OWLObjectProperty> |
allObjectProperties |
| Constructor and Description |
|---|
AbstractSolvabilityOPPLOWLAxiomSearchTree(ConstraintSystem constraintSystem,
RuntimeExceptionHandler runtimeExceptionHandler) |
| Modifier and Type | Method and Description |
|---|---|
SolvabilitySearchNode |
buildSolvabilitySearchNode(org.semanticweb.owlapi.model.OWLAxiom axiom,
BindingNode bindingNode) |
boolean |
exhaustiveSearchTree(SolvabilitySearchNode start,
List<List<SolvabilitySearchNode>> solutions) |
protected abstract AxiomSolvability |
getAxiomSolvability() |
protected List<SolvabilitySearchNode> |
getChildren(SolvabilitySearchNode node) |
ConstraintSystem |
getConstraintSystem() |
RuntimeExceptionHandler |
getRuntimeExceptionHandler() |
protected List<SolvabilitySearchNode> |
getUnsolvableNodeChildren(UnsolvableSearchNode node) |
protected boolean |
goalReached(SolvabilitySearchNode node) |
protected abstract boolean |
goalReachedUnsolvabelNode(UnsolvableSearchNode unsolvableSearchNode) |
depthFirstSearch, exhaustiveDepthFirstSearchprotected final Set<org.semanticweb.owlapi.model.OWLClass> allClasses
protected final Set<org.semanticweb.owlapi.model.OWLLiteral> allConstants
protected final Set<org.semanticweb.owlapi.model.OWLDataProperty> allDataProperties
protected final Set<org.semanticweb.owlapi.model.OWLIndividual> allIndividuals
protected final Set<org.semanticweb.owlapi.model.OWLObjectProperty> allObjectProperties
protected final Set<org.semanticweb.owlapi.model.OWLAnnotationProperty> allAnnotationProperties
public AbstractSolvabilityOPPLOWLAxiomSearchTree(ConstraintSystem constraintSystem, RuntimeExceptionHandler runtimeExceptionHandler)
constraintSystem - constraintSystemruntimeExceptionHandler - runtimeExceptionHandlerpublic ConstraintSystem getConstraintSystem()
protected boolean goalReached(SolvabilitySearchNode node)
goalReached in class SearchTree<SolvabilitySearchNode>node - nodetrue if the input OPPLOWLAxiomSearchNode
represents an OWLAxiom that is contained in one of the ontologies
managed by the ontology manager encapsulated in this
OPPLOWLAxiomSearchTree.protected abstract boolean goalReachedUnsolvabelNode(UnsolvableSearchNode unsolvableSearchNode)
protected List<SolvabilitySearchNode> getChildren(SolvabilitySearchNode node)
getChildren in class SearchTree<SolvabilitySearchNode>protected List<SolvabilitySearchNode> getUnsolvableNodeChildren(UnsolvableSearchNode node)
public boolean exhaustiveSearchTree(SolvabilitySearchNode start, List<List<SolvabilitySearchNode>> solutions)
exhaustiveSearchTree in class SearchTree<SolvabilitySearchNode>start - startsolutions - solutionsprotected abstract AxiomSolvability getAxiomSolvability()
public SolvabilitySearchNode buildSolvabilitySearchNode(org.semanticweb.owlapi.model.OWLAxiom axiom, BindingNode bindingNode)
axiom - axiombindingNode - bindingNodepublic RuntimeExceptionHandler getRuntimeExceptionHandler()
Copyright © 2015 The University of Manchester. All Rights Reserved.