Added button to recommend new algorithm.

This commit is contained in:
Unick Soft
2017-10-12 23:02:16 +03:00
parent 45203a13ce
commit 7e71a151da
28 changed files with 164 additions and 3 deletions

View File

@@ -1136,9 +1136,14 @@ Application.prototype.getAlgorithmNames = function()
oneFactory = factory(this.graph);
obj.name = oneFactory.getName(g_language);
obj.id = oneFactory.getId();
obj.priority = oneFactory.getPriority();
res.push(obj);
}
res.sort(function (a, b) {
return a.priority > b.priority;
});
return res;
}