Turn on negative edge weight support

This commit is contained in:
Oleg Sh committed 2024-03-28 21:49:04 +01:00
1 parent 1adf364131
commit 2e302b9013
21 files changed
+148 -25

No files matched your search

@@ -115,6 +115,11 @@ BFSAlgorithm.prototype.IsSupportMultiGraph = function()
return true;
}
BFSAlgorithm.prototype.IsSupportNegativeWeight = function()
{
return true;
}
// Factory for connected components.
function CreateBFSAlgorithm(graph, app)
{