java.lang.IllegalArgumentException: graph must contain the start vertex

GitHub | marius00 | 3 years ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    KShortestPaths / graph must contain the start vertex

    GitHub | 3 years ago | marius00
    java.lang.IllegalArgumentException: graph must contain the start vertex
  2. 0

    jgrapht-users - "graph must contain the start vertex" when running KShortestPaths

    nabble.com | 10 months ago
    java.lang.IllegalArgumentException: graph must contain the start vertex

    Root Cause Analysis

    1. java.lang.IllegalArgumentException

      graph must contain the start vertex

      at org.jgrapht.traverse.CrossComponentIterator.<init>()
    2. JGraphT
      KShortestPaths.getPaths
      1. org.jgrapht.traverse.CrossComponentIterator.<init>(CrossComponentIterator.java:170)
      2. org.jgrapht.traverse.BreadthFirstIterator.<init>(BreadthFirstIterator.java:92)
      3. org.jgrapht.alg.ConnectivityInspector.connectedSetOf(ConnectivityInspector.java:142)
      4. org.jgrapht.alg.ConnectivityInspector.pathExists(ConnectivityInspector.java:208)
      5. org.jgrapht.alg.RankingPathElementList.isGuardVertexDisconnected(RankingPathElementList.java:347)
      6. org.jgrapht.alg.RankingPathElementList.isNotValidPath(RankingPathElementList.java:364)
      7. org.jgrapht.alg.RankingPathElementList.addPathElements(RankingPathElementList.java:203)
      8. org.jgrapht.alg.KShortestPathsIterator.tryToAddNewPaths(KShortestPathsIterator.java:361)
      9. org.jgrapht.alg.KShortestPathsIterator.updateOutgoingVertices(KShortestPathsIterator.java:398)
      10. org.jgrapht.alg.KShortestPathsIterator.next(KShortestPathsIterator.java:177)
      11. org.jgrapht.alg.KShortestPaths.getPaths(KShortestPaths.java:150)
      11 frames
    3. Unknown
      main.main
      1. main.main(main.java:46)
      1 frame