We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 48687a3 commit 63196bcCopy full SHA for 63196bc
1 file changed
street/src/main/java/org/opentripplanner/street/search/state/State.java
@@ -582,15 +582,4 @@ private State reversedClone() {
582
return new State(this.vertex, getTime(), newStateData, reversedRequest);
583
}
584
585
- /**
586
- * This exception is thrown when an edge has a negative weight. Dijkstra's algorithm (and A*) don't
587
- * work on graphs that have negative weights. This exception almost always indicates a programming
588
- * error, but could be caused by bad GTFS data.
589
- */
590
- private static class NegativeWeightException extends RuntimeException {
591
-
592
- public NegativeWeightException(String message) {
593
- super(message);
594
- }
595
596
0 commit comments