Comment 6 for bug 713617

Revision history for this message
Dimitris Kalamaras (dimitris-kalamaras) wrote :

FWIW for such an old bug report, the problem didn't have anything to do with Edge::makeReciprocal(). Rather, it was that the metro.xml declared multiple edges between nodes. For instance, the edge 15->16 is declared twice, first in line 316 (edge id "15 M1") and then again in line 391 (edge id "87 M11"). SocNetV up to version 1.3 does not support multiple edges between nodes. And if wee need to support that feature there would be problems such as: when we would need to create and display the adjacency sociomatrix (or count distances) what value should we use in the (15,16) element? The weight of the first edge (id "15 M1") or the weight of the other edge (id "87 M11") ? The only thing I can do at the moment is to catch these exceptions and silently unifying the multiple edges to a single edge...