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

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