andrea pagani wrote:
> Hello everybody,
>
> I'm very new to JgraphT and to this mailinglist too.
> I'm trying to compute the diamater of a very simple graph:
> ?ui=2&view=att&th=126657e30cb18cc8&attid=0.1&disp=attd&realattid=ii_126657e30cb18cc8&zw
>
> using the FloydWarshallShortestPaths<V,E> class and getDiameter() method.
> It returns me infinity, that is not correct....is there something I'm
> missing?
>
> Thank you very much in advance.
Could be a bug, but it would help if you submitted the Java code for
your unit test so that we can reproduce it, debug/fix, and then make
sure it stays fixed by including your test in the suite.
JVS
|