N - typepublic abstract class SearchTree<N> extends Object
| Constructor and Description |
|---|
SearchTree() |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
depthFirstSearch(N start,
Stack<N> result) |
protected boolean |
exhaustiveDepthFirstSearch(N start,
Stack<N> currrentPath,
List<List<N>> solutions) |
boolean |
exhaustiveSearchTree(N start,
List<List<N>> solutions) |
protected abstract List<N> |
getChildren(N node) |
protected abstract boolean |
goalReached(N node) |
protected boolean exhaustiveDepthFirstSearch(N start, Stack<N> currrentPath, List<List<N>> solutions)
public boolean exhaustiveSearchTree(N start, List<List<N>> solutions)
start - startsolutions - solutionsprotected abstract boolean goalReached(N node)
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.Copyright © 2015 The University of Manchester. All Rights Reserved.