FubarDevelopment / QuickGraph

Fork of https://quickgraph.codeplex.com/
Microsoft Public License
9 stars 2 forks source link

CP-21804: ContainsEdge() with UndirectedGraph not recognizing reverse direction #120

Open fubar-coder opened 6 years ago

fubar-coder commented 6 years ago

From unknown CodePlex user on Saturday, 19 November 2011 20:30:44

Hi all!   This may be a problem:         var g = new UndirectedGraph<int, UndirectedEdge>();   g.AddVerticesAndEdge(new UndirectedEdge(1, 2));   var c = g.ContainsEdge(2, 1); // false     The last line returns false, however since this is an undirected graph, IMHO should really return true. Am I wrong?

fubar-coder commented 6 years ago

Form unknown CodePlex user on Sunday, 20 November 2011 02:45:08

Thanks for opening an issue. Is this a valid bug?