WeightedEdge

constructor(node: T, cost: Double)