public abstract class AbstractSearchTreeNode<T extends AbstractSearchTreeNode> extends Object implements SearchTreeNode
Constructor and Description |
---|
AbstractSearchTreeNode() |
Modifier and Type | Method and Description |
---|---|
void |
addChild(T node)
add a child node to this node
|
Collection<T> |
getChildren()
The children of this node.
|
abstract org.semanticweb.owlapi.model.OWLClassExpression |
getExpression()
Gets the OWL 2 class expression at this search tree node.
|
T |
getParent() |
void |
notifyTree(AbstractSearchTree<T> tree) |
void |
notifyTrees(Collection<? extends AbstractSearchTree<T>> trees)
internally used by the tree<->node contract to add this node to a set of trees
|
public AbstractSearchTreeNode()
public abstract org.semanticweb.owlapi.model.OWLClassExpression getExpression()
SearchTreeNode
getExpression
in interface SearchTreeNode
public void addChild(T node)
node
- the child nodepublic void notifyTrees(Collection<? extends AbstractSearchTree<T>> trees)
trees
- the set of owning treespublic void notifyTree(AbstractSearchTree<T> tree)
public Collection<T> getChildren()
SearchTreeNode
getChildren
in interface SearchTreeNode
DL-Learner is licenced under the terms of the GNU General Public License.
Copyright © 2007-2019 Jens Lehmann