(self, edge)
return self.get_edge_properties( edge ).setdefault( self.WEIGHT_ATTRIBUTE_NAME, self.DEFAULT_WEIGHT )
Get the weight of an edge.

        @type  edge: edge
        @param edge: One edge.
        
        @rtype:  number
        @return: Edge weight.
Get the weight of an edge.
Get the weight of an edge .
def edge_weight(self, edge):
        """
        Get the weight of an edge.

        @type  edge: edge
        @param edge: One edge.
        
        @rtype:  number
        @return: Edge weight.
        """
        return self.get_edge_properties( edge ).setdefault( self.WEIGHT_ATTRIBUTE_NAME, self.DEFAULT_WEIGHT )
def edge_weight ( self , edge ) : return self . get_edge_properties ( edge ) . setdefault ( self . WEIGHT_ATTRIBUTE_NAME , self . DEFAULT_WEIGHT )