mirror of
https://github.com/UnickSoft/graphonline.git
synced 2026-02-16 10:40:57 +00:00
Turn on negative edge weight support
This commit is contained in:
@@ -102,6 +102,11 @@ FindHamiltonianPath.prototype.IsSupportMultiGraph = function()
|
||||
return true;
|
||||
}
|
||||
|
||||
FindHamiltonianPath.prototype.IsSupportNegativeWeight = function()
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
||||
// Factory for connected components.
|
||||
function CreateFindHamiltonianPath(graph, app)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user