mirror of
https://github.com/UnickSoft/graphonline.git
synced 2026-10-20 23:37:00 +00:00
Fix searching of shortest path for graphs with negative edges.
This commit is contained in:
1 parent
e2a708a140
commit
b7b14e16e8
9 files changed
+159
-37
No files matched your search
@@ -211,7 +211,7 @@ FindShortPatchsFromOne.prototype.IsSupportMultiGraph = function()
|
||||
|
||||
FindShortPatchsFromOne.prototype.IsSupportNegativeWeight = function()
|
||||
{
|
||||
return false;
|
||||
return true;
|
||||
}
|
||||
|
||||
// Factory for connected components.
|
||||
|
||||
Reference in new issue
Block a user