Make input parameter of StronglyConnectedComponents as Out

Topics: algorithm
Jan 1, 2009 at 4:00 AM
I would prefer

IDictionary<int, int> com;
var comp = testGraph.StronglyConnectedComponents(out com);

instead of this currently,
var com = new Dictionary<int, int>();
 var comp = testGraph.StronglyConnectedComponents(com);


--------------
Similar to how ShortestPathsBellmanFord works
Coordinator
Jan 1, 2009 at 6:20 PM
This discussion has been copied to a work item. Click here to go to the work item and continue the discussion.