added a comment about returning 0 for edge weights