O - Object typepublic interface ModifiableHierarchy<O> extends Hierarchy<O>
| Modifier and Type | Method and Description | 
|---|---|
boolean | 
add(O entry)
Add an entry (initializes data structures). 
 | 
boolean | 
add(O parent,
   O child)
Add a parent-child relationship. 
 | 
boolean | 
remove(O entry)
Remove an entry and all its parent-child relationships. 
 | 
boolean | 
remove(O parent,
      O child)
Remove a parent-child relationship. 
 | 
boolean | 
removeSubtree(O entry)
Remove an entry and it's whole subtree (unless the elements are reachable
 by a different path!) 
 | 
contains, iterAll, iterAncestors, iterAncestorsSelf, iterChildren, iterChildrenReverse, iterDescendants, iterDescendantsSelf, iterParents, iterParentsReverse, numChildren, numParents, sizeboolean add(O parent, O child)
parent - Parentchild - Childtrue if changedboolean add(O entry)
entry - Entrytrue if changedboolean remove(O parent, O child)
parent - Parentchild - Childtrue if changedboolean remove(O entry)
entry - Entrytrue if changedboolean removeSubtree(O entry)
entry - Entrytrue if changedCopyright © 2019 ELKI Development Team. License information.