Environment for
DeveLoping
KDD-Applications
Supported by Index-Structures

de.lmu.ifi.dbs.elki.utilities
Interface Enumeratable<E extends Enumeratable<E>>

All Known Implementing Classes:
HierarchicalAxesParallelCorrelationCluster, HierarchicalCASHCluster, HierarchicalCluster, HierarchicalCorrelationCluster

public interface Enumeratable<E extends Enumeratable<E>>

Defines the requirements for an enumeratable object, i.e. an object which allows to enumerate over its children (e.g. a node in a tree).

Author:
Elke Achtert

Method Summary
 E getChild(int i)
          Returns the child at the specified index.
 int numChildren()
          Returns the number of children.
 

Method Detail

numChildren

int numChildren()
Returns the number of children.

Returns:
the number of children

getChild

E getChild(int i)
Returns the child at the specified index.

Parameters:
i - the index of the child to be returned
Returns:
the child at the specified index

Release 0.1 (2008-07-10_1838)