toWeightedAdjacencyList

fun UnweightedAdjacencyList.toWeightedAdjacencyList(): MutableList<MutableList<Pair<Double, Int>>>

Replaces the destination nodes with edges of weight 1.0