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