|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.semanticweb.elk.reasoner.taxonomy.ConcurrentClassTaxonomy.BottomClassNode
protected class ConcurrentClassTaxonomy.BottomClassNode
Special implementation for the bottom node in the taxonomy. Instead of storing its sub- and super-classes, the respective answers are computed or taken from the taxonomy object directly. This saves memory at the cost of some performance if somebody should wish to traverse an ontology bottom-up starting from this node.
| Constructor Summary | |
|---|---|
protected |
ConcurrentClassTaxonomy.BottomClassNode()
|
| Method Summary | |
|---|---|
Set<TaxonomyNode<ElkClass>> |
getAllSubNodes()
Computes an unmodifiable set of nodes for ElkObjects that are (possibly indirect) sub-objects of members of this Node. |
Set<org.semanticweb.elk.reasoner.taxonomy.NonBottomClassNode> |
getAllSuperNodes()
Computes an unmodifiable set of nodes for ElkObjects that are (possibly indirect) super-objects of members of this Node. |
ElkClass |
getCanonicalMember()
Get one object to canonically represent the classes in this Node. |
Set<TaxonomyNode<ElkClass>> |
getDirectSubNodes()
Get an unmodifiable set of nodes for ElkObjects that are direct sub-objects of this Node. |
Set<org.semanticweb.elk.reasoner.taxonomy.NonBottomClassNode> |
getDirectSuperNodes()
Get an unmodifiable set of nodes for ElkObjects that are direct super-objects of this Node. |
Set<? extends UpdateableTaxonomyNode<ElkClass>> |
getDirectUpdateableSuperNodes()
|
Set<ElkClass> |
getMembers()
Get an unmodifiable set of objects that this Node represents. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
protected ConcurrentClassTaxonomy.BottomClassNode()
| Method Detail |
|---|
public Set<ElkClass> getMembers()
Node
getMembers in interface Node<ElkClass>public ElkClass getCanonicalMember()
Node
getCanonicalMember in interface Node<ElkClass>public Set<org.semanticweb.elk.reasoner.taxonomy.NonBottomClassNode> getDirectSuperNodes()
TaxonomyNode
getDirectSuperNodes in interface TaxonomyNode<ElkClass>public Set<org.semanticweb.elk.reasoner.taxonomy.NonBottomClassNode> getAllSuperNodes()
TaxonomyNode
getAllSuperNodes in interface TaxonomyNode<ElkClass>public Set<TaxonomyNode<ElkClass>> getDirectSubNodes()
TaxonomyNode
getDirectSubNodes in interface TaxonomyNode<ElkClass>public Set<TaxonomyNode<ElkClass>> getAllSubNodes()
TaxonomyNode
getAllSubNodes in interface TaxonomyNode<ElkClass>public Set<? extends UpdateableTaxonomyNode<ElkClass>> getDirectUpdateableSuperNodes()
getDirectUpdateableSuperNodes in interface UpdateableBottomNode<ElkClass>
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||