ho già mandato il debug e analizzato ogni elemento...ora lo rifaccio e sto più attento...la cosa che non capisco è perchè la vertexSet() e la edgeSet() funzionino e le altre no...
grazie ancora
ho già mandato il debug e analizzato ogni elemento...ora lo rifaccio e sto più attento...la cosa che non capisco è perchè la vertexSet() e la edgeSet() funzionino e le altre no...
grazie ancora
"no such vertex in graph
at org.jgrapht.graph.AbstractGraph.assertVertexExist( AbstractGraph: 158)
...."
assertVertexExist
protected boolean assertVertexExist(V v)Ensures that the specified vertex exists in this graph, or else throws exception.Parameters:v - vertexReturns:true if this assertion holds.Throws:NullPointerException - if specified vertex is null.IllegalArgumentException - if specified vertex does not exist in this graph.
l'errore intercettato può produrre queste due eccezioni. non so se ti può essere ulteriormente di aiuto.
ciao.
grazie mille