@property
def membership(self):
    'Returns the membership vector of this cover.\n\n        The membership vector of a cover covering I{n} elements is a list of\n        length I{n}, where element I{i} contains the cluster indices of the\n        I{i}th item.\n        '
    result = [[] for _ in xrange(self._n)]
    for (idx, cluster) in enumerate(self):
        for item in cluster:
            result[item].append(idx)
    return result
Returns the membership vector of this cover.

The membership vector of a cover covering I{n} elements is a list of
length I{n}, where element I{i} contains the cluster indices of the
I{i}th item.
@property
def membership(self):
    'Returns the membership vector of this cover.\n\n        The membership vector of a cover covering I{n} elements is a list of\n        length I{n}, where element I{i} contains the cluster indices of the\n        I{i}th item.\n        '
    result = [[] for _ in xrange(self._n)]
    for (idx, cluster) in enumerate(self):
        for item in cluster:
            result[item].append(idx)
    return result