mirror of
https://github.com/UnickSoft/graphonline.git
synced 2026-02-16 02:30:51 +00:00
Support negative weight for edges.
This commit is contained in:
@@ -218,6 +218,10 @@ FindLongestPath.prototype.getPriority = function()
|
||||
return -9.4;
|
||||
}
|
||||
|
||||
FindLongestPath.prototype.IsSupportNegativeWeight = function()
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
||||
// Factory for connected components.
|
||||
function CreateFindLongestPath(graph, app)
|
||||
|
||||
Reference in New Issue
Block a user