Support negative weight for edges.

This commit is contained in:
Oleg Sh committed 2024-03-30 15:03:30 +01:00
1 parent 2e302b9013
commit 61bafa7d51
12 files changed
+37 -9

No files matched your search

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