amyoxen / k-shortest-paths

Automatically exported from code.google.com/p/k-shortest-paths
0 stars 0 forks source link

On bug in YenTopKShortestPathsAlg.java #17

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. input org or dst vertex to be null

What is the expected output? What do you see instead?
NullPointerException

What version of the product are you using? On what operating system?
Java implementation ver. 2.3

Please provide any additional information below.

It is caused by a validation code in _init() function.
line108: if(_source_vertex != null && _target_vertex != null)
This is to be OR condition.

Please try to check if possible.
best regards,

Original issue reported on code.google.com by wataruka...@gmail.com on 8 Feb 2011 at 6:04

GoogleCodeExporter commented 8 years ago
sorry, i'm wrong.. please close this problem.

Original comment by wataruka...@gmail.com on 8 Feb 2011 at 6:08

GoogleCodeExporter commented 8 years ago

Original comment by yan.qi....@gmail.com on 12 Feb 2011 at 8:25