def __getitem__(self, idx):
    'Returns the members of the specified cluster.\n\n        @param idx: the index of the cluster\n        @return: the members of the specified cluster as a list\n        @raise IndexError: if the index is out of bounds'
    if ((idx < 0) or (idx >= self._len)):
        raise IndexError('cluster index out of range')
    return [i for (i, e) in enumerate(self._membership) if (e == idx)]
Returns the members of the specified cluster.

@param idx: the index of the cluster
@return: the members of the specified cluster as a list
@raise IndexError: if the index is out of bounds
def __getitem__(self, idx):
    'Returns the members of the specified cluster.\n\n        @param idx: the index of the cluster\n        @return: the members of the specified cluster as a list\n        @raise IndexError: if the index is out of bounds'
    if ((idx < 0) or (idx >= self._len)):
        raise IndexError('cluster index out of range')
    return [i for (i, e) in enumerate(self._membership) if (e == idx)]