mirror of
https://github.com/UnickSoft/graphonline.git
synced 2025-07-02 15:56:27 +00:00
Changed algorithm order
This commit is contained in:
parent
d282e24590
commit
db6167921e
@ -366,7 +366,7 @@ Coloring.prototype.getObjectSelectedGroup = function(object)
|
||||
|
||||
Coloring.prototype.getPriority = function()
|
||||
{
|
||||
return -9.7;
|
||||
return -9.0;
|
||||
}
|
||||
|
||||
|
||||
|
@ -110,7 +110,7 @@ FindConnectedComponentNew.prototype.getObjectSelectedGroup = function(object)
|
||||
|
||||
FindConnectedComponentNew.prototype.getPriority = function()
|
||||
{
|
||||
return -9;
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
|
@ -79,7 +79,7 @@ FindEulerianLoop.prototype.getObjectSelectedGroup = function(object)
|
||||
|
||||
FindEulerianLoop.prototype.getPriority = function()
|
||||
{
|
||||
return -7;
|
||||
return -7.5;
|
||||
}
|
||||
|
||||
// Factory for connected components.
|
||||
|
@ -79,7 +79,7 @@ FindEulerianPath.prototype.getObjectSelectedGroup = function(object)
|
||||
|
||||
FindEulerianPath.prototype.getPriority = function()
|
||||
{
|
||||
return -7;
|
||||
return -7.5;
|
||||
}
|
||||
|
||||
// Factory for connected components.
|
||||
|
@ -180,7 +180,7 @@ FloidAlgorithm.prototype.changedType = function()
|
||||
|
||||
FloidAlgorithm.prototype.getPriority = function()
|
||||
{
|
||||
return -9.5;
|
||||
return 0;
|
||||
}
|
||||
|
||||
FloidAlgorithm.prototype.removeAllEdges = function()
|
||||
|
@ -154,6 +154,11 @@ GraphReorder.prototype.getObjectSelectedGroup = function(object)
|
||||
return 0;
|
||||
}
|
||||
|
||||
GraphReorder.prototype.getPriority = function()
|
||||
{
|
||||
return -8.5;
|
||||
}
|
||||
|
||||
|
||||
// Factory for connected components.
|
||||
function CreateAlgorithmGraphReorder(graph, app)
|
||||
|
@ -79,7 +79,7 @@ FindHamiltonianLoop.prototype.getObjectSelectedGroup = function(object)
|
||||
|
||||
FindHamiltonianLoop.prototype.getPriority = function()
|
||||
{
|
||||
return -7.1;
|
||||
return -5;
|
||||
}
|
||||
|
||||
// Factory for connected components.
|
||||
|
@ -79,7 +79,7 @@ FindHamiltonianPath.prototype.getObjectSelectedGroup = function(object)
|
||||
|
||||
FindHamiltonianPath.prototype.getPriority = function()
|
||||
{
|
||||
return -7.1;
|
||||
return -5;
|
||||
}
|
||||
|
||||
// Factory for connected components.
|
||||
|
@ -179,7 +179,7 @@ FindMaxFlow.prototype.getObjectSelectedGroup = function(object)
|
||||
|
||||
FindMaxFlow.prototype.getPriority = function()
|
||||
{
|
||||
return -9.6;
|
||||
return -8.0;
|
||||
}
|
||||
|
||||
// @return true, if you change resotry graph after use.
|
||||
|
@ -140,6 +140,11 @@ MinimumSpanningTree.prototype.getObjectSelectedGroup = function(object)
|
||||
(object instanceof BaseVertex || this.edges.indexOf(object) >= 0) ? 1 : 0;
|
||||
}
|
||||
|
||||
MinimumSpanningTree.prototype.getPriority = function()
|
||||
{
|
||||
return -9.5;
|
||||
}
|
||||
|
||||
|
||||
// Factory for algorithm.
|
||||
function CreateMinimumSpanningTree(graph, app)
|
||||
|
@ -212,7 +212,7 @@ RadiusAndDiameter.prototype.getObjectSelectedGroup = function(object)
|
||||
|
||||
RadiusAndDiameter.prototype.getPriority = function()
|
||||
{
|
||||
return -9.6;
|
||||
return 0;
|
||||
}
|
||||
|
||||
// Factory for connected components.
|
||||
|
@ -10,7 +10,7 @@
|
||||
|
||||
<script src="<?= Root('i/js/dev/jquery-ui.js')?>"></script>
|
||||
<script src="<?= Root('i/js/dev/jquery.feedback_me.js')?>"></script>
|
||||
<script src="<?= Root("script/example.js?v=11")?>" ></script>
|
||||
<script src="<?= Root("script/example.js?v=12")?>" ></script>
|
||||
</head>
|
||||
<!--
|
||||
<div class="pull-right">
|
||||
|
Loading…
x
Reference in New Issue
Block a user