赋权图

weighted graph