jgrapht/jgrapht — pull request #6 by vkostyukov (2012-05-22 16:14:49+00:00)
Title: Support hashCode() and equals() methods for graphs

Hi All!

I've just implemented support of hashCode() and equals() methods for AbstractGraph. I've also created two simple unit tests for implemented methods (see EqualsTest.java and HashCodeTest.java). The main idea is to use paring function for edges in hash code computation.

I hope you'll find my contribution useful and accept it.