'Return an iterator over all neighbors of node n in the
dense graph.'

def neighbors(self, n):

    try:
        return iter(((set(self.adj) - set(self.adj[n])) - set([n])))
    except KeyError:
        raise NetworkXError(('The    node    %s    is    not    in    the    graph.' % (n,)))
