Re: [Graph] Kruskal's algorithm doesn't accept sparse graph

2012-01-31 Thread Simone Tripodi
Hi again, patch applied, tests run like a charme, see issue resolution for details :) Thanks! -Simo http://people.apache.org/~simonetripodi/ http://simonetripodi.livejournal.com/ http://twitter.com/simonetripodi http://www.99soft.org/ On Tue, Jan 31, 2012 at 10:56 AM, Simone Tripodi wrote: >

Re: [Graph] Kruskal's algorithm doesn't accept sparse graph

2012-01-31 Thread Simone Tripodi
Hi Marco, great. I'm going to review the patch right now, let's keep updated! -Simo http://people.apache.org/~simonetripodi/ http://simonetripodi.livejournal.com/ http://twitter.com/simonetripodi http://www.99soft.org/ On Mon, Jan 30, 2012 at 11:38 PM, Marco Speranza wrote: > Hi guys, > > I

[Graph] Kruskal's algorithm doesn't accept sparse graph

2012-01-30 Thread Marco Speranza
Hi guys, I found a little problem into Kruskal's algorithm when the input graph is not connected and/or it's a graph without the edges. I created atest case that produces this error: Running org.apache.commons.graph.spanning.KruskalTestCase Tests run: 2, Failures: 0, Errors: 1, Skipped: 0, Tim