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. |
add
void add(O parent,
O child)
- Add a parent-child relationship.
- Parameters:
parent
- Parentchild
- Child
remove
void remove(O parent,
O child)
- Remove a parent-child relationship.
- Parameters:
parent
- Parentchild
- Child