O
- Object typepublic interface Hierarchy<O>
hierarchy.iterChildren(object);
.Modifier and Type | Interface and Description |
---|---|
static interface |
Hierarchy.Iter<O>
Iterator interface.
|
Modifier and Type | Method and Description |
---|---|
boolean |
contains(O object)
Check if an object is part of a hierarchy.
|
Hierarchy.Iter<O> |
iterAll()
Iterate over all members.
|
Hierarchy.Iter<O> |
iterAncestors(O self)
Iterate ancestors (recursive parents)
|
Hierarchy.Iter<O> |
iterAncestorsSelf(O self)
Iterate ancestors (recursive parents) and self.
|
Hierarchy.Iter<O> |
iterChildren(O self)
Iterate over the (direct) children.
|
Hierarchy.Iter<O> |
iterChildrenReverse(O self)
Iterate over the (direct) children in reverse order.
|
Hierarchy.Iter<O> |
iterDescendants(O self)
Iterate descendants (recursive children)
|
Hierarchy.Iter<O> |
iterDescendantsSelf(O self)
Iterate descendants (recursive children) and self.
|
Hierarchy.Iter<O> |
iterParents(O self)
Iterate over the (direct) parents.
|
Hierarchy.Iter<O> |
iterParentsReverse(O self)
Iterate over the (direct) parents in reverse order.
|
int |
numChildren(O self)
Get number of children
|
int |
numParents(O self)
Get number of (direct) parents
|
int |
size()
Total size - number of objects contained.
|
int size()
boolean contains(O object)
object
- Object to checktrue
if part of the hierarchyint numChildren(O self)
self
- object to get number of children forHierarchy.Iter<O> iterChildren(O self)
self
- object to get children forHierarchy.Iter<O> iterChildrenReverse(O self)
self
- object to get children forHierarchy.Iter<O> iterDescendants(O self)
self
- object to get descendants forHierarchy.Iter<O> iterDescendantsSelf(O self)
self
- object to get descendants forint numParents(O self)
self
- reference objectHierarchy.Iter<O> iterParents(O self)
self
- object to get parents forHierarchy.Iter<O> iterParentsReverse(O self)
self
- object to get parents forHierarchy.Iter<O> iterAncestors(O self)
self
- object to get ancestors forHierarchy.Iter<O> iterAncestorsSelf(O self)
self
- object to get ancestors forHierarchy.Iter<O> iterAll()
Copyright © 2015 ELKI Development Team, Lehr- und Forschungseinheit für Datenbanksysteme, Ludwig-Maximilians-Universität München. License information.