de.lmu.ifi.dbs.elki.utilities.datastructures.hierarchy
Interface ModifiableHierarchy<O>

Type Parameters:
O - Object type
All Superinterfaces:
Hierarchy<O>
All Known Implementing Classes:
HierarchyHashmapList, ResultHierarchy

public interface ModifiableHierarchy<O>
extends Hierarchy<O>

Modifiable Hierarchy.


Method Summary
 void add(O parent, O child)
          Add a parent-child relationship.
 void remove(O parent, O child)
          Remove a parent-child relationship.
 
Methods inherited from interface de.lmu.ifi.dbs.elki.utilities.datastructures.hierarchy.Hierarchy
getChildren, getParents, iterAncestors, iterDescendants, numChildren, numParents
 

Method Detail

add

void add(O parent,
         O child)
Add a parent-child relationship.

Parameters:
parent - Parent
child - Child

remove

void remove(O parent,
            O child)
Remove a parent-child relationship.

Parameters:
parent - Parent
child - Child

Release 0.4.0 (2011-09-20_1324)