mirror of
https://github.com/UnickSoft/graphonline.git
synced 2026-04-04 14:56:16 +00:00
Support negative weight for edges.
This commit is contained in:
@@ -221,6 +221,11 @@ FindShortPathNew.prototype.IsSupportMultiGraph = function ()
|
||||
return true;
|
||||
}
|
||||
|
||||
FindShortPathNew.prototype.IsSupportNegativeWeight = function()
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
// Factory for connected components.
|
||||
function CreateFindShortPathNew(graph, app)
|
||||
|
||||
Reference in New Issue
Block a user