mirror of
https://github.com/UnickSoft/graphonline.git
synced 2026-02-16 02:30:51 +00:00
Temporary disabled search of shortest path for graphs with negative edges.
This commit is contained in:
@@ -30,7 +30,7 @@ function loadAsyncAlgorithms(onFinish) {
|
||||
"ShortestPath.js",
|
||||
"VerticesDegree.js"];
|
||||
|
||||
doIncludeAsync (pluginsList.map((plugin) => include ("model/plugins/" + plugin, modulDir)), onFinish);
|
||||
doIncludeAsync (pluginsList.map((plugin) => include ("model/plugins/" + plugin + "?v=" + globalVersion, modulDir)), onFinish);
|
||||
}
|
||||
|
||||
}
|
||||
@@ -211,7 +211,7 @@ FindShortPatchsFromOne.prototype.IsSupportMultiGraph = function()
|
||||
|
||||
FindShortPatchsFromOne.prototype.IsSupportNegativeWeight = function()
|
||||
{
|
||||
return true;
|
||||
return false;
|
||||
}
|
||||
|
||||
// Factory for connected components.
|
||||
|
||||
@@ -223,7 +223,7 @@ FindShortPathNew.prototype.IsSupportMultiGraph = function ()
|
||||
|
||||
FindShortPathNew.prototype.IsSupportNegativeWeight = function()
|
||||
{
|
||||
return true;
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user