org.semanticweb.elk.reasoner.taxonomy.model
Interface TaxonomyNode<T extends ElkObject>

Type Parameters:
T - the type of objects stored in the nodes
All Superinterfaces:
Node<T>
All Known Subinterfaces:
TypeNode<T,I>, UpdateableBottomNode<T>, UpdateableTaxonomyNode<T>, UpdateableTypeNode<T,I>
All Known Implementing Classes:
ConcurrentClassTaxonomy.BottomClassNode, FreshTaxonomyNode, FreshTypeNode, OrphanInstanceNode, OrphanNode, OrphanTypeNode

public interface TaxonomyNode<T extends ElkObject>
extends Node<T>

A node in a taxonomy. It is a Node that refers to its sub and super nodes in a Taxonomy.

Author:
Markus Kroetzsch

Method Summary
 Set<? extends TaxonomyNode<T>> getAllSubNodes()
          Computes an unmodifiable set of nodes for ElkObjects that are (possibly indirect) sub-objects of members of this Node.
 Set<? extends TaxonomyNode<T>> getAllSuperNodes()
          Computes an unmodifiable set of nodes for ElkObjects that are (possibly indirect) super-objects of members of this Node.
 Set<? extends TaxonomyNode<T>> getDirectSubNodes()
          Get an unmodifiable set of nodes for ElkObjects that are direct sub-objects of this Node.
 Set<? extends TaxonomyNode<T>> getDirectSuperNodes()
          Get an unmodifiable set of nodes for ElkObjects that are direct super-objects of this Node.
 
Methods inherited from interface org.semanticweb.elk.reasoner.taxonomy.model.Node
getCanonicalMember, getMembers
 

Method Detail

getDirectSuperNodes

Set<? extends TaxonomyNode<T>> getDirectSuperNodes()
Get an unmodifiable set of nodes for ElkObjects that are direct super-objects of this Node.

Returns:
list of nodes for direct super-objects of this node's members

getAllSuperNodes

Set<? extends TaxonomyNode<T>> getAllSuperNodes()
Computes an unmodifiable set of nodes for ElkObjects that are (possibly indirect) super-objects of members of this Node. This is the smallest set of nodes that contains all direct super-nodes of this node, and all direct super-nodes of every node in this set.

Returns:
set of nodes for sub-objects of this node's members

getDirectSubNodes

Set<? extends TaxonomyNode<T>> getDirectSubNodes()
Get an unmodifiable set of nodes for ElkObjects that are direct sub-objects of this Node.

Returns:
list of nodes for direct sub-objects of this node's members

getAllSubNodes

Set<? extends TaxonomyNode<T>> getAllSubNodes()
Computes an unmodifiable set of nodes for ElkObjects that are (possibly indirect) sub-objects of members of this Node. This is the smallest set of nodes that contains all direct sub-nodes of this node, and all direct sub-nodes of every node in this set.

Returns:
set of nodes for sub-objects of this node's members


Copyright © 2011-2013 Department of Computer Science, University of Oxford. All Rights Reserved.