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

@@ -87,6 +87,11 @@ FindEulerianPath.prototype.getPriority = function()
return -7.5;
}
FindEulerianPath.prototype.IsSupportNegativeWeight = function()
{
return true;
}
// Factory for connected components.
function CreateFindEulerianPath(graph, app)
{