def neighbors(self, obj):
neighbors = set([])<EOL>for e in self.node_links[obj]:<EOL><INDENT>neighbors.update(set(self.edge_links[e]))<EOL><DEDENT>return list(neighbors - set([obj]))<EOL>
Return all neighbors adjacent to the given node.

@type  obj: node
@param obj: Object identifier.

@rtype:  list
@return: List of all node objects adjacent to the given node.