org.semanticweb.elk.reasoner.taxonomy.model
Interface InstanceTaxonomy<T extends ElkObject,I extends ElkObject>

Type Parameters:
T - the type of objects in the nodes of this taxonomy
I - the type of instances of nodes of this taxonomy
All Superinterfaces:
Taxonomy<T>
All Known Subinterfaces:
IndividualClassTaxonomy, UpdateableInstanceTaxonomy<T,I>
All Known Implementing Classes:
ConcurrentInstanceTaxonomy, SingletoneInstanceTaxonomy

public interface InstanceTaxonomy<T extends ElkObject,I extends ElkObject>
extends Taxonomy<T>

Extended Taxonomy that also provides instances for each of its members.

Author:
Markus Kroetzsch, "Yevgeny Kazakov"

Method Summary
 TypeNode<T,I> getBottomNode()
           
 InstanceNode<T,I> getInstanceNode(I elkObject)
           
 Set<? extends InstanceNode<T,I>> getInstanceNodes()
          Obtain an unmodifiable Set of all instance nodes in this taxonomy.
 TypeNode<T,I> getTopNode()
           
 TypeNode<T,I> getTypeNode(T elkObject)
           
 Set<? extends TypeNode<T,I>> getTypeNodes()
          Obtain an unmodifiable Set of all type nodes in this taxonomy.
 
Methods inherited from interface org.semanticweb.elk.reasoner.taxonomy.model.Taxonomy
getNode, getNodes
 

Method Detail

getTypeNode

TypeNode<T,I> getTypeNode(T elkObject)
Parameters:
elkObject - ElkObject for which the TypeNode to be computed
Returns:
the TypeNode containing the given ElkObject as a member, or null if the input does not occur in the taxonomy

getTypeNodes

Set<? extends TypeNode<T,I>> getTypeNodes()
Obtain an unmodifiable Set of all type nodes in this taxonomy.

Returns:
an unmodifiable Set

getInstanceNode

InstanceNode<T,I> getInstanceNode(I elkObject)
Parameters:
elkObject - ElkObject for which the InstanceNode to be computed
Returns:
the InstanceNode containing the given ElkObject as a member, or null if the input does not occur in the taxonomy

getInstanceNodes

Set<? extends InstanceNode<T,I>> getInstanceNodes()
Obtain an unmodifiable Set of all instance nodes in this taxonomy.

Returns:
an unmodifiable Set

getTopNode

TypeNode<T,I> getTopNode()
Specified by:
getTopNode in interface Taxonomy<T extends ElkObject>
Returns:
the node of this taxonomy that has no parent nodes

getBottomNode

TypeNode<T,I> getBottomNode()
Specified by:
getBottomNode in interface Taxonomy<T extends ElkObject>
Returns:
the node of this taxonomy that has no child nodes


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