def edge_weight(self, edge):
return self.get_edge_properties( edge ).setdefault( self.WEIGHT_ATTRIBUTE_NAME, self.DEFAULT_WEIGHT )<EOL>
Get the weight of an edge.

@type  edge: edge
@param edge: One edge.

@rtype:  number
@return: Edge weight.