Details
-
Improvement
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
0.9
Description
The current getUndirected method uses a union and a map to add the reverse edges to the graph. This could be done by simply using a flatMap that adds the edge and its reversed version - a flatMap is less expensive than a union followed by a map.