|
KShortestPaths<IsotopicCluster, Connection> kPaths = new KShortestPaths<IsotopicCluster, Connection>( |
Research why, when all scores (weights) are 0 in a graph, there is no valid best path and how the path is chosen.
Check source code from KShortestPaths...
https://github.com/jgrapht/jgrapht/tree/master/jgrapht-core/src/main/java/org/jgrapht/alg/shortestpath
deisotoper/java/deisotoper/src/main/java/ch/fgcz/proteomics/fbdm/IsotopicClusterGraph.java
Line 66 in 3b7e8b1
Research why, when all scores (weights) are 0 in a graph, there is no valid best path and how the path is chosen.
Check source code from KShortestPaths...
https://github.com/jgrapht/jgrapht/tree/master/jgrapht-core/src/main/java/org/jgrapht/alg/shortestpath