Changed algorithms menu design.

This commit is contained in:
Oleg Sh
2022-02-12 20:16:29 +02:00
parent 9c6cfb4197
commit 430e6a80be
26 changed files with 180 additions and 22 deletions

View File

@@ -70,6 +70,11 @@ DFSAlgorithm.prototype.getPriority = function()
return -9.5;
}
DFSAlgorithm.prototype.getCategory = function()
{
return 1;
}
DFSAlgorithm.prototype.step = function()
{
for (var i = this.visited.length - 1; i >= 0; i--)