(self, other)
return common.__eq__(self, other) and links_eq() and labeling.__eq__(self, other)
Return whether this hypergraph is equal to another one.
        
        @type other: hypergraph
        @param other: Other hypergraph
        
        @rtype: boolean
        @return: Whether this hypergraph and the other are equal.
Return whether this hypergraph is equal to another one.
Return whether this hypergraph is equal to another one .
def __eq__(self, other):
        """
        Return whether this hypergraph is equal to another one.
        
        @type other: hypergraph
        @param other: Other hypergraph
        
        @rtype: boolean
        @return: Whether this hypergraph and the other are equal.
        """
        def links_eq():
            for edge in self.edges():
                for link in self.links(edge):
                    if (link not in other.links(edge)): return False
            for edge in other.edges():
                for link in other.links(edge):
                    if (link not in self.links(edge)): return False
            return True
        
        return common.__eq__(self, other) and links_eq() and labeling.__eq__(self, other)
def __eq__ ( self , other ) : def links_eq ( ) : for edge in self . edges ( ) : for link in self . links ( edge ) : if ( link not in other . links ( edge ) ) : return False for edge in other . edges ( ) : for link in other . links ( edge ) : if ( link not in self . links ( edge ) ) : return False return True return common . __eq__ ( self , other ) and links_eq ( ) and labeling . __eq__ ( self , other )