Open jnyrup opened 6 years ago
The ToString in HoffmanPavleyRankedShortestPathAlgorithm is implemented as
ToString
HoffmanPavleyRankedShortestPathAlgorithm
public override string ToString() { return String.Format("{0} at {1} {2}", this.Weight, this.DeviationEdge); }
This will obviously throw an exception as the number of arguments doesn't match the expected number in the format string.
As I'm not sure what the intended format is, I haven't submitted a PR to fix this.
In my fork I moved to string interpolation keeping the 3 args in a way similar to debugguer display (see here).
The
ToString
inHoffmanPavleyRankedShortestPathAlgorithm
is implemented asThis will obviously throw an exception as the number of arguments doesn't match the expected number in the format string.
As I'm not sure what the intended format is, I haven't submitted a PR to fix this.