reversedEdge method

UndirectedEdge reversedEdge()

Implementation

UndirectedEdge reversedEdge() => UndirectedEdge(b, a, weight);