Turn on negative edge weight support

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

View File

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