O
- Object typepublic interface Hierarchy<O>
hierarchy.iterChildren(object);
.Modifier and Type | Method and Description |
---|---|
boolean |
contains(O object)
Check if an object is part of a hierarchy.
|
It<O> |
iterAll()
Iterate over all members.
|
It<O> |
iterAncestors(O self)
Iterate ancestors (recursive parents)
|
It<O> |
iterAncestorsSelf(O self)
Iterate ancestors (recursive parents) and self.
|
It<O> |
iterChildren(O self)
Iterate over the (direct) children.
|
It<O> |
iterChildrenReverse(O self)
Iterate over the (direct) children in reverse order.
|
It<O> |
iterDescendants(O self)
Iterate descendants (recursive children)
|
It<O> |
iterDescendantsSelf(O self)
Iterate descendants (recursive children) and self.
|
It<O> |
iterParents(O self)
Iterate over the (direct) parents.
|
It<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 forIt<O> iterChildren(O self)
self
- object to get children forIt<O> iterChildrenReverse(O self)
self
- object to get children forIt<O> iterDescendants(O self)
self
- object to get descendants forIt<O> iterDescendantsSelf(O self)
self
- object to get descendants forint numParents(O self)
self
- reference objectIt<O> iterParents(O self)
self
- object to get parents forIt<O> iterParentsReverse(O self)
self
- object to get parents forIt<O> iterAncestors(O self)
self
- object to get ancestors forIt<O> iterAncestorsSelf(O self)
self
- object to get ancestors forCopyright © 2019 ELKI Development Team. License information.