mirror of
https://github.com/UnickSoft/graphonline.git
synced 2026-04-04 14:56:16 +00:00
Update algorithm limits and error handling
This commit is contained in:
@@ -47,6 +47,16 @@ FindLongestPath.prototype.getCategory = function()
|
||||
return 1;
|
||||
}
|
||||
|
||||
FindLongestPath.prototype.MaxGraphSize = function()
|
||||
{
|
||||
return 50;
|
||||
}
|
||||
|
||||
FindLongestPath.prototype.MaxEgdeNumber = function()
|
||||
{
|
||||
return 40;
|
||||
}
|
||||
|
||||
FindLongestPath.prototype.result = function(resultCallback)
|
||||
{
|
||||
if (this.firstObject && this.secondObject)
|
||||
|
||||
Reference in New Issue
Block a user